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();
959 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
961 void wxApp_CleanUp() {
966 wxPyApp
* wxGetApp() {
967 return (wxPyApp
*)wxTheApp
;
972 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
973 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
974 wxWindowList
& list
= self
->GetChildren();
975 return wxPy_ConvertList(&list
);
977 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
984 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
991 long wxWindow_GetHandle(wxWindow
*self
){
992 return wxPyGetWinHandle(self
);
995 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
996 return wxWindow::FindWindowById(id
, parent
);
999 wxWindow
* wxFindWindowByName( const wxString
& name
,
1000 const wxWindow
*parent
= NULL
) {
1001 return wxWindow::FindWindowByName(name
, parent
);
1004 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1005 const wxWindow
*parent
= NULL
) {
1006 return wxWindow::FindWindowByLabel(label
, parent
);
1010 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1012 wxWindow
* win
= new wxWindow
;
1014 win
->SubclassWin(hWnd
);
1017 PyErr_SetNone(PyExc_NotImplementedError
);
1023 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1024 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1025 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1027 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1029 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1030 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1031 wxMenuItemList
& list
= self
->GetMenuItems();
1032 return wxPy_ConvertList(&list
);
1034 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1036 DECLARE_DEF_STRING(ControlNameStr
);
1038 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1040 wxPyClientData
* data
= new wxPyClientData(clientData
);
1041 return self
->Append(item
, data
);
1043 return self
->Append(item
);
1045 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1047 wxPyClientData
* data
= new wxPyClientData(clientData
);
1048 return self
->Insert(item
, pos
, data
);
1050 return self
->Insert(item
, pos
);
1052 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1053 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1055 Py_INCREF(data
->m_obj
);
1062 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1063 wxPyClientData
* data
= new wxPyClientData(clientData
);
1064 self
->SetClientObject(n
, data
);
1068 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1069 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1071 Py_INCREF(data
->m_obj
);
1079 // Figure out the type of the sizer item
1081 struct wxPySizerItemInfo
{
1083 : window(NULL
), sizer(NULL
), gotSize(False
),
1084 size(wxDefaultSize
), gotPos(False
), pos(-1)
1095 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1097 wxPySizerItemInfo info
;
1099 wxSize
* sizePtr
= &size
;
1101 // Find out what the type of the item is
1103 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1108 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1112 // try wxSize or (w,h)
1113 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1114 info
.size
= *sizePtr
;
1115 info
.gotSize
= True
;
1119 if (checkIdx
&& PyInt_Check(item
)) {
1120 info
.pos
= PyInt_AsLong(item
);
1126 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1127 // no expected type, figure out what kind of error message to generate
1128 if ( !checkSize
&& !checkIdx
)
1129 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1130 else if ( checkSize
&& !checkIdx
)
1131 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1132 else if ( !checkSize
&& checkIdx
)
1133 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1135 // can this one happen?
1136 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1142 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1143 self
->SetClientObject(new wxPyOORClientData(_self
));
1145 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1147 wxPyUserData
* data
= NULL
;
1148 wxPyBeginBlockThreads();
1149 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1150 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1151 data
= new wxPyUserData(userData
);
1152 wxPyEndBlockThreads();
1154 // Now call the real Add method if a valid item type was found
1156 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1157 else if ( info
.sizer
)
1158 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1159 else if (info
.gotSize
)
1160 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1161 proportion
, flag
, border
, data
);
1163 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1165 wxPyUserData
* data
= NULL
;
1166 wxPyBeginBlockThreads();
1167 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1168 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1169 data
= new wxPyUserData(userData
);
1170 wxPyEndBlockThreads();
1172 // Now call the real Insert method if a valid item type was found
1174 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1175 else if ( info
.sizer
)
1176 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1177 else if (info
.gotSize
)
1178 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1179 proportion
, flag
, border
, data
);
1181 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1183 wxPyUserData
* data
= NULL
;
1184 wxPyBeginBlockThreads();
1185 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1186 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1187 data
= new wxPyUserData(userData
);
1188 wxPyEndBlockThreads();
1190 // Now call the real Prepend method if a valid item type was found
1192 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1193 else if ( info
.sizer
)
1194 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1195 else if (info
.gotSize
)
1196 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1197 proportion
, flag
, border
, data
);
1199 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1200 wxPyBeginBlockThreads();
1201 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1202 wxPyEndBlockThreads();
1204 return self
->Remove(info
.window
);
1205 else if ( info
.sizer
)
1206 return self
->Remove(info
.sizer
);
1207 else if ( info
.gotPos
)
1208 return self
->Remove(info
.pos
);
1212 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1213 wxPyBeginBlockThreads();
1214 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1215 wxPyEndBlockThreads();
1217 self
->SetItemMinSize(info
.window
, size
);
1218 else if ( info
.sizer
)
1219 self
->SetItemMinSize(info
.sizer
, size
);
1220 else if ( info
.gotPos
)
1221 self
->SetItemMinSize(info
.pos
, size
);
1223 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1224 wxSizerItemList
& list
= self
->GetChildren();
1225 return wxPy_ConvertList(&list
);
1227 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1228 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1230 self
->Show(info
.window
, show
);
1231 else if ( info
.sizer
)
1232 self
->Show(info
.sizer
, show
);
1234 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1235 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1237 self
->Hide(info
.window
);
1238 else if ( info
.sizer
)
1239 self
->Hide(info
.sizer
);
1241 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1242 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1244 return self
->IsShown(info
.window
);
1245 else if ( info
.sizer
)
1246 return self
->IsShown(info
.sizer
);
1252 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1253 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1254 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1259 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1261 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1264 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1266 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1270 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1274 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1275 wxPyBeginBlockThreads();
1276 PyObject
* tup
= PyTuple_New(2);
1277 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1278 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1279 wxPyEndBlockThreads();
1282 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1283 self
->SetRowspan(rowspan
);
1284 self
->SetColspan(colspan
);
1286 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1287 wxPyBeginBlockThreads();
1288 PyObject
* tup
= PyTuple_New(2);
1289 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1290 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1291 wxPyEndBlockThreads();
1294 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1296 wxPyUserData
* data
= NULL
;
1297 wxPyBeginBlockThreads();
1298 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1299 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1300 data
= new wxPyUserData(userData
);
1301 wxPyEndBlockThreads();
1303 // Now call the real Add method if a valid item type was found
1305 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1306 else if ( info
.sizer
)
1307 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1308 else if (info
.gotSize
)
1309 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1310 pos
, span
, flag
, border
, data
);
1318 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1320 wxObject
*arg1
= (wxObject
*) 0 ;
1322 PyObject
* obj0
= 0 ;
1324 (char *) "self", NULL
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 result
= wxObject_GetClassName(arg1
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1349 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1351 wxObject
*arg1
= (wxObject
*) 0 ;
1352 PyObject
* obj0
= 0 ;
1354 (char *) "self", NULL
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 wxObject_Destroy(arg1
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1366 Py_INCREF(Py_None
); resultobj
= Py_None
;
1373 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1376 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1378 return Py_BuildValue((char *)"");
1380 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxSize
*arg1
= (wxSize
*) 0 ;
1384 PyObject
* obj0
= 0 ;
1386 (char *) "self",(char *) "x", NULL
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1391 if (arg1
) (arg1
)->x
= arg2
;
1393 Py_INCREF(Py_None
); resultobj
= Py_None
;
1400 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxSize
*arg1
= (wxSize
*) 0 ;
1404 PyObject
* obj0
= 0 ;
1406 (char *) "self", NULL
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1411 result
= (int) ((arg1
)->x
);
1413 resultobj
= PyInt_FromLong((long)result
);
1420 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxSize
*arg1
= (wxSize
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1426 (char *) "self",(char *) "y", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 if (arg1
) (arg1
)->y
= arg2
;
1433 Py_INCREF(Py_None
); resultobj
= Py_None
;
1440 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
*resultobj
;
1442 wxSize
*arg1
= (wxSize
*) 0 ;
1444 PyObject
* obj0
= 0 ;
1446 (char *) "self", NULL
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 result
= (int) ((arg1
)->y
);
1453 resultobj
= PyInt_FromLong((long)result
);
1460 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 int arg1
= (int) 0 ;
1463 int arg2
= (int) 0 ;
1466 (char *) "w",(char *) "h", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1477 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1484 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxSize
*arg1
= (wxSize
*) 0 ;
1487 PyObject
* obj0
= 0 ;
1489 (char *) "self", NULL
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1508 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxSize
*arg1
= (wxSize
*) 0 ;
1514 PyObject
* obj0
= 0 ;
1515 PyObject
* obj1
= 0 ;
1517 (char *) "self",(char *) "sz", NULL
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 resultobj
= PyInt_FromLong((long)result
);
1540 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1542 wxSize
*arg1
= (wxSize
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1547 PyObject
* obj1
= 0 ;
1549 (char *) "self",(char *) "sz", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1556 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1565 resultobj
= PyInt_FromLong((long)result
);
1572 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxSize
*arg1
= (wxSize
*) 0 ;
1578 PyObject
* obj0
= 0 ;
1579 PyObject
* obj1
= 0 ;
1581 (char *) "self",(char *) "sz", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1599 resultptr
= new wxSize((wxSize
&) result
);
1600 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1608 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxSize
*arg1
= (wxSize
*) 0 ;
1614 PyObject
* obj0
= 0 ;
1615 PyObject
* obj1
= 0 ;
1617 (char *) "self",(char *) "sz", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1635 resultptr
= new wxSize((wxSize
&) result
);
1636 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1644 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxSize
*arg1
= (wxSize
*) 0 ;
1649 PyObject
* obj0
= 0 ;
1650 PyObject
* obj1
= 0 ;
1652 (char *) "self",(char *) "sz", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 (arg1
)->IncTo((wxSize
const &)*arg2
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 Py_INCREF(Py_None
); resultobj
= Py_None
;
1675 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
*resultobj
;
1677 wxSize
*arg1
= (wxSize
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1681 PyObject
* obj1
= 0 ;
1683 (char *) "self",(char *) "sz", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 (arg1
)->DecTo((wxSize
const &)*arg2
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 Py_INCREF(Py_None
); resultobj
= Py_None
;
1706 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxSize
*arg1
= (wxSize
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self",(char *) "w",(char *) "h", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 (arg1
)->Set(arg2
,arg3
);
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 Py_INCREF(Py_None
); resultobj
= Py_None
;
1732 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxSize
*arg1
= (wxSize
*) 0 ;
1736 PyObject
* obj0
= 0 ;
1738 (char *) "self",(char *) "w", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 (arg1
)->SetWidth(arg2
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1750 Py_INCREF(Py_None
); resultobj
= Py_None
;
1757 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1759 wxSize
*arg1
= (wxSize
*) 0 ;
1761 PyObject
* obj0
= 0 ;
1763 (char *) "self",(char *) "h", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 (arg1
)->SetHeight(arg2
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 Py_INCREF(Py_None
); resultobj
= Py_None
;
1782 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxSize
*arg1
= (wxSize
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1788 (char *) "self", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= PyInt_FromLong((long)result
);
1807 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxSize
*arg1
= (wxSize
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= PyInt_FromLong((long)result
);
1832 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxSize
*arg1
= (wxSize
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (PyObject
*)wxSize_Get(arg1
);
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1857 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1860 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1862 return Py_BuildValue((char *)"");
1864 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self",(char *) "x", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1875 if (arg1
) (arg1
)->x
= arg2
;
1877 Py_INCREF(Py_None
); resultobj
= Py_None
;
1884 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
*resultobj
;
1886 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1888 PyObject
* obj0
= 0 ;
1890 (char *) "self", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1895 result
= (double) ((arg1
)->x
);
1897 resultobj
= PyFloat_FromDouble(result
);
1904 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self",(char *) "y", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 if (arg1
) (arg1
)->y
= arg2
;
1917 Py_INCREF(Py_None
); resultobj
= Py_None
;
1924 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1935 result
= (double) ((arg1
)->y
);
1937 resultobj
= PyFloat_FromDouble(result
);
1944 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 double arg1
= (double) 0.0 ;
1947 double arg2
= (double) 0.0 ;
1948 wxRealPoint
*result
;
1950 (char *) "x",(char *) "y", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1968 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "self", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1995 wxRealPoint
*arg2
= 0 ;
1998 PyObject
* obj0
= 0 ;
1999 PyObject
* obj1
= 0 ;
2001 (char *) "self",(char *) "pt", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 resultobj
= PyInt_FromLong((long)result
);
2024 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
*resultobj
;
2026 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2027 wxRealPoint
*arg2
= 0 ;
2030 PyObject
* obj0
= 0 ;
2031 PyObject
* obj1
= 0 ;
2033 (char *) "self",(char *) "pt", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2040 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= PyInt_FromLong((long)result
);
2056 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2059 wxRealPoint
*arg2
= 0 ;
2062 PyObject
* obj0
= 0 ;
2063 PyObject
* obj1
= 0 ;
2065 (char *) "self",(char *) "pt", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2072 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2082 wxRealPoint
* resultptr
;
2083 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2084 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2092 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2095 wxRealPoint
*arg2
= 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "pt", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2108 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 wxRealPoint
* resultptr
;
2119 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2128 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2130 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self",(char *) "x",(char *) "y", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 wxRealPoint_Set(arg1
,arg2
,arg3
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2158 PyObject
* obj0
= 0 ;
2160 (char *) "self", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2179 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2182 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2184 return Py_BuildValue((char *)"");
2186 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxPoint
*arg1
= (wxPoint
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self",(char *) "x", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 if (arg1
) (arg1
)->x
= arg2
;
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxPoint
*arg1
= (wxPoint
*) 0 ;
2210 PyObject
* obj0
= 0 ;
2212 (char *) "self", NULL
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2217 result
= (int) ((arg1
)->x
);
2219 resultobj
= PyInt_FromLong((long)result
);
2226 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxPoint
*arg1
= (wxPoint
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2232 (char *) "self",(char *) "y", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2237 if (arg1
) (arg1
)->y
= arg2
;
2239 Py_INCREF(Py_None
); resultobj
= Py_None
;
2246 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxPoint
*arg1
= (wxPoint
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2252 (char *) "self", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2257 result
= (int) ((arg1
)->y
);
2259 resultobj
= PyInt_FromLong((long)result
);
2266 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 int arg1
= (int) 0 ;
2269 int arg2
= (int) 0 ;
2272 (char *) "x",(char *) "y", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2290 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxPoint
*arg1
= (wxPoint
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2295 (char *) "self", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 Py_INCREF(Py_None
); resultobj
= Py_None
;
2314 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxPoint
*arg1
= (wxPoint
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2321 PyObject
* obj1
= 0 ;
2323 (char *) "self",(char *) "pt", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= PyInt_FromLong((long)result
);
2346 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxPoint
*arg1
= (wxPoint
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "pt", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= PyInt_FromLong((long)result
);
2378 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxPoint
*arg1
= (wxPoint
*) 0 ;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "pt", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2404 wxPoint
* resultptr
;
2405 resultptr
= new wxPoint((wxPoint
&) result
);
2406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2414 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxPoint
*arg1
= (wxPoint
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2421 PyObject
* obj1
= 0 ;
2423 (char *) "self",(char *) "pt", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 wxPoint
* resultptr
;
2441 resultptr
= new wxPoint((wxPoint
&) result
);
2442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2450 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxPoint
*arg1
= (wxPoint
*) 0 ;
2456 PyObject
* obj0
= 0 ;
2457 PyObject
* obj1
= 0 ;
2459 (char *) "self",(char *) "pt", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2472 result
= (wxPoint
*) &_result_ref
;
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2485 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxPoint
*arg1
= (wxPoint
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "pt", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2507 result
= (wxPoint
*) &_result_ref
;
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2520 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxPoint
*arg1
= (wxPoint
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "self",(char *) "x",(char *) "y", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 wxPoint_Set(arg1
,arg2
,arg3
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxPoint
*arg1
= (wxPoint
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2552 (char *) "self", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (PyObject
*)wxPoint_Get(arg1
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2571 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2574 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2576 return Py_BuildValue((char *)"");
2578 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 int arg1
= (int) 0 ;
2581 int arg2
= (int) 0 ;
2582 int arg3
= (int) 0 ;
2583 int arg4
= (int) 0 ;
2586 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2604 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "topLeft",(char *) "bottomRight", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2640 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2650 (char *) "pos",(char *) "size", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2656 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2660 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2676 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxRect
*arg1
= (wxRect
*) 0 ;
2679 PyObject
* obj0
= 0 ;
2681 (char *) "self", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 Py_INCREF(Py_None
); resultobj
= Py_None
;
2700 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxRect
*arg1
= (wxRect
*) 0 ;
2704 PyObject
* obj0
= 0 ;
2706 (char *) "self", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (int)((wxRect
const *)arg1
)->GetX();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= PyInt_FromLong((long)result
);
2725 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxRect
*arg1
= (wxRect
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2731 (char *) "self",(char *) "x", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxRect
*arg1
= (wxRect
*) 0 ;
2754 PyObject
* obj0
= 0 ;
2756 (char *) "self", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 result
= (int)(arg1
)->GetY();
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= PyInt_FromLong((long)result
);
2775 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 wxRect
*arg1
= (wxRect
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self",(char *) "y", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxRect
*arg1
= (wxRect
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= PyInt_FromLong((long)result
);
2825 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2827 wxRect
*arg1
= (wxRect
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self",(char *) "w", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 (arg1
)->SetWidth(arg2
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 Py_INCREF(Py_None
); resultobj
= Py_None
;
2850 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxRect
*arg1
= (wxRect
*) 0 ;
2854 PyObject
* obj0
= 0 ;
2856 (char *) "self", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 resultobj
= PyInt_FromLong((long)result
);
2875 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxRect
*arg1
= (wxRect
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2881 (char *) "self",(char *) "h", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 (arg1
)->SetHeight(arg2
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 Py_INCREF(Py_None
); resultobj
= Py_None
;
2900 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxRect
*arg1
= (wxRect
*) 0 ;
2904 PyObject
* obj0
= 0 ;
2906 (char *) "self", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= ((wxRect
const *)arg1
)->GetPosition();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2919 wxPoint
* resultptr
;
2920 resultptr
= new wxPoint((wxPoint
&) result
);
2921 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2929 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxRect
*arg1
= (wxRect
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "p", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 Py_INCREF(Py_None
); resultobj
= Py_None
;
2960 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxRect
*arg1
= (wxRect
*) 0 ;
2964 PyObject
* obj0
= 0 ;
2966 (char *) "self", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= ((wxRect
const *)arg1
)->GetSize();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2980 resultptr
= new wxSize((wxSize
&) result
);
2981 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2989 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxRect
*arg1
= (wxRect
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2997 (char *) "self",(char *) "s", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3004 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 (arg1
)->SetSize((wxSize
const &)*arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxRect
*arg1
= (wxRect
*) 0 ;
3024 PyObject
* obj0
= 0 ;
3026 (char *) "self", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 wxPoint
* resultptr
;
3040 resultptr
= new wxPoint((wxPoint
&) result
);
3041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3049 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxRect
*arg1
= (wxRect
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "self",(char *) "p", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3080 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxRect
*arg1
= (wxRect
*) 0 ;
3084 PyObject
* obj0
= 0 ;
3086 (char *) "self", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) SWIG_fail
;
3099 wxPoint
* resultptr
;
3100 resultptr
= new wxPoint((wxPoint
&) result
);
3101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3109 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxRect
*arg1
= (wxRect
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3117 (char *) "self",(char *) "p", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 Py_INCREF(Py_None
); resultobj
= Py_None
;
3140 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxRect
*arg1
= (wxRect
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 resultobj
= PyInt_FromLong((long)result
);
3165 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxRect
*arg1
= (wxRect
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (int)((wxRect
const *)arg1
)->GetTop();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 resultobj
= PyInt_FromLong((long)result
);
3190 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxRect
*arg1
= (wxRect
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= PyInt_FromLong((long)result
);
3215 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxRect
*arg1
= (wxRect
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (int)((wxRect
const *)arg1
)->GetRight();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= PyInt_FromLong((long)result
);
3240 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxRect
*arg1
= (wxRect
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3246 (char *) "self",(char *) "left", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 (arg1
)->SetLeft(arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxRect
*arg1
= (wxRect
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self",(char *) "right", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 (arg1
)->SetRight(arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 Py_INCREF(Py_None
); resultobj
= Py_None
;
3290 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
;
3292 wxRect
*arg1
= (wxRect
*) 0 ;
3294 PyObject
* obj0
= 0 ;
3296 (char *) "self",(char *) "top", NULL
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->SetTop(arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxRect
*arg1
= (wxRect
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self",(char *) "bottom", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 (arg1
)->SetBottom(arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxRect
*arg1
= (wxRect
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3348 (char *) "self",(char *) "dx",(char *) "dy", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3357 result
= (wxRect
*) &_result_ref
;
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3370 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxRect
*arg1
= (wxRect
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self",(char *) "dx",(char *) "dy", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3387 result
= (wxRect
*) &_result_ref
;
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3400 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxRect
*arg1
= (wxRect
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3407 (char *) "self",(char *) "dx",(char *) "dy", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 (arg1
)->Offset(arg2
,arg3
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 Py_INCREF(Py_None
); resultobj
= Py_None
;
3426 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxRect
*arg1
= (wxRect
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3434 (char *) "self",(char *) "pt", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 (arg1
)->Offset((wxPoint
const &)*arg2
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxRect
*arg1
= (wxRect
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "self",(char *) "rect", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3479 result
= (wxRect
*) &_result_ref
;
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3492 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxRect
*arg1
= (wxRect
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3501 (char *) "self",(char *) "rect", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3508 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3519 resultptr
= new wxRect((wxRect
&) result
);
3520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3528 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxRect
*arg1
= (wxRect
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3537 (char *) "self",(char *) "rect", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3544 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3550 result
= (wxRect
*) &_result_ref
;
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3563 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxRect
*arg1
= (wxRect
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "rect", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= PyInt_FromLong((long)result
);
3595 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxRect
*arg1
= (wxRect
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "rect", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= PyInt_FromLong((long)result
);
3627 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxRect
*arg1
= (wxRect
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "self",(char *) "x",(char *) "y", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= PyInt_FromLong((long)result
);
3654 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxRect
*arg1
= (wxRect
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "pt", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= PyInt_FromLong((long)result
);
3686 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxRect
*arg1
= (wxRect
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3695 (char *) "self",(char *) "rect", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= PyInt_FromLong((long)result
);
3718 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxRect
*arg1
= (wxRect
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self",(char *) "x", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3729 if (arg1
) (arg1
)->x
= arg2
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxRect
*arg1
= (wxRect
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3749 result
= (int) ((arg1
)->x
);
3751 resultobj
= PyInt_FromLong((long)result
);
3758 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxRect
*arg1
= (wxRect
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3764 (char *) "self",(char *) "y", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3769 if (arg1
) (arg1
)->y
= arg2
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxRect
*arg1
= (wxRect
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3789 result
= (int) ((arg1
)->y
);
3791 resultobj
= PyInt_FromLong((long)result
);
3798 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxRect
*arg1
= (wxRect
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self",(char *) "width", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 if (arg1
) (arg1
)->width
= arg2
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3818 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxRect
*arg1
= (wxRect
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 result
= (int) ((arg1
)->width
);
3831 resultobj
= PyInt_FromLong((long)result
);
3838 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxRect
*arg1
= (wxRect
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self",(char *) "height", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3849 if (arg1
) (arg1
)->height
= arg2
;
3851 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxRect
*arg1
= (wxRect
*) 0 ;
3862 PyObject
* obj0
= 0 ;
3864 (char *) "self", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 result
= (int) ((arg1
)->height
);
3871 resultobj
= PyInt_FromLong((long)result
);
3878 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxRect
*arg1
= (wxRect
*) 0 ;
3881 int arg2
= (int) 0 ;
3882 int arg3
= (int) 0 ;
3883 int arg4
= (int) 0 ;
3884 int arg5
= (int) 0 ;
3885 PyObject
* obj0
= 0 ;
3887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 Py_INCREF(Py_None
); resultobj
= Py_None
;
3906 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxRect
*arg1
= (wxRect
*) 0 ;
3910 PyObject
* obj0
= 0 ;
3912 (char *) "self", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= (PyObject
*)wxRect_Get(arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3931 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3934 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3936 return Py_BuildValue((char *)"");
3938 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxRect
*arg1
= (wxRect
*) 0 ;
3941 wxRect
*arg2
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "r1",(char *) "r2", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3966 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 double arg1
= (double) 0.0 ;
3969 double arg2
= (double) 0.0 ;
3972 (char *) "x",(char *) "y", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3990 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxPoint2D
*arg1
= 0 ;
3995 PyObject
* obj0
= 0 ;
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4003 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4019 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4024 PyObject
* obj0
= 0 ;
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4032 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4048 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4051 int *arg2
= (int *) 0 ;
4052 int *arg3
= (int *) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4074 resultobj
= t_output_helper(resultobj
,o
);
4077 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4078 resultobj
= t_output_helper(resultobj
,o
);
4086 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4089 int *arg2
= (int *) 0 ;
4090 int *arg3
= (int *) 0 ;
4093 PyObject
* obj0
= 0 ;
4095 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 Py_INCREF(Py_None
); resultobj
= Py_None
;
4111 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4112 resultobj
= t_output_helper(resultobj
,o
);
4115 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4116 resultobj
= t_output_helper(resultobj
,o
);
4124 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4130 (char *) "self", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= PyFloat_FromDouble(result
);
4149 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= PyFloat_FromDouble(result
);
4174 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4180 (char *) "self",(char *) "length", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 (arg1
)->SetVectorLength(arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4203 PyObject
* obj0
= 0 ;
4205 (char *) "self",(char *) "degrees", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->SetVectorAngle(arg2
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4224 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4227 wxPoint2D
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4233 (char *) "self",(char *) "pt", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4240 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= PyFloat_FromDouble(result
);
4256 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4259 wxPoint2D
*arg2
= 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "pt", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4272 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= PyFloat_FromDouble(result
);
4288 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4291 wxPoint2D
*arg2
= 0 ;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4297 (char *) "self",(char *) "vec", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= PyFloat_FromDouble(result
);
4320 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4323 wxPoint2D
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4329 (char *) "self",(char *) "vec", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4336 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= PyFloat_FromDouble(result
);
4352 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4358 (char *) "self", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 result
= (arg1
)->operator -();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 wxPoint2D
* resultptr
;
4372 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4373 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4381 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4384 wxPoint2D
*arg2
= 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "pt", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4397 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4403 result
= (wxPoint2D
*) &_result_ref
;
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4416 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4419 wxPoint2D
*arg2
= 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "pt", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4432 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4438 result
= (wxPoint2D
*) &_result_ref
;
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4451 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4454 wxPoint2D
*arg2
= 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "pt", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4467 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4473 result
= (wxPoint2D
*) &_result_ref
;
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4486 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4489 wxPoint2D
*arg2
= 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "pt", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4508 result
= (wxPoint2D
*) &_result_ref
;
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4521 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4524 wxPoint2D
*arg2
= 0 ;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4530 (char *) "self",(char *) "pt", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4537 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= PyInt_FromLong((long)result
);
4553 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4556 wxPoint2D
*arg2
= 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "pt", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4569 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= PyInt_FromLong((long)result
);
4585 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4591 (char *) "self",(char *) "m_x", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4596 if (arg1
) (arg1
)->m_x
= arg2
;
4598 Py_INCREF(Py_None
); resultobj
= Py_None
;
4605 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4611 (char *) "self", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 result
= (double) ((arg1
)->m_x
);
4618 resultobj
= PyFloat_FromDouble(result
);
4625 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self",(char *) "m_y", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4636 if (arg1
) (arg1
)->m_y
= arg2
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4656 result
= (double) ((arg1
)->m_y
);
4658 resultobj
= PyFloat_FromDouble(result
);
4665 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4668 double arg2
= (double) 0 ;
4669 double arg3
= (double) 0 ;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "self",(char *) "x",(char *) "y", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxPoint2D_Set(arg1
,arg2
,arg3
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 Py_INCREF(Py_None
); resultobj
= Py_None
;
4691 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4697 (char *) "self", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4716 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4719 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4721 return Py_BuildValue((char *)"");
4723 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4724 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4729 static PyObject
*_wrap_DefaultPosition_get() {
4732 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4737 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4738 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4743 static PyObject
*_wrap_DefaultSize_get() {
4746 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4751 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 PyObject
*arg1
= (PyObject
*) 0 ;
4754 wxPyInputStream
*result
;
4755 PyObject
* obj0
= 0 ;
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4776 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "self", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (bool)(arg1
)->eof();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= PyInt_FromLong((long)result
);
4849 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4852 int arg2
= (int) -1 ;
4854 PyObject
* obj0
= 0 ;
4856 (char *) "self",(char *) "size", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (PyObject
*)(arg1
)->read(arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4875 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4878 int arg2
= (int) -1 ;
4880 PyObject
* obj0
= 0 ;
4882 (char *) "self",(char *) "size", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (PyObject
*)(arg1
)->readline(arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4901 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4904 int arg2
= (int) -1 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self",(char *) "sizehint", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4927 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4931 int arg3
= (int) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self",(char *) "offset",(char *) "whence", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->seek(arg2
,arg3
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 Py_INCREF(Py_None
); resultobj
= Py_None
;
4953 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4959 (char *) "self", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (int)(arg1
)->tell();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= PyInt_FromLong((long)result
);
4978 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (char)(arg1
)->Peek();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= Py_BuildValue((char*)"c",result
);
5003 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (char)(arg1
)->GetC();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= Py_BuildValue((char*)"c",result
);
5028 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (size_t)(arg1
)->LastRead();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= PyInt_FromLong((long)result
);
5053 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (bool)(arg1
)->CanRead();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= PyInt_FromLong((long)result
);
5078 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (bool)(arg1
)->Eof();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= PyInt_FromLong((long)result
);
5103 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5110 (char *) "self",(char *) "c", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (bool)(arg1
)->Ungetch(arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= PyInt_FromLong((long)result
);
5129 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5133 int arg3
= (int) wxFromStart
;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self",(char *) "pos",(char *) "mode", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= PyInt_FromLong((long)result
);
5156 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (long)(arg1
)->TellI();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5191 PyObject
*arg2
= (PyObject
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5195 (char *) "self",(char *) "obj", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxOutputStream_write(arg1
,arg2
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 Py_INCREF(Py_None
); resultobj
= Py_None
;
5215 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5218 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5220 return Py_BuildValue((char *)"");
5222 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5225 wxString
*arg2
= 0 ;
5226 wxString
*arg3
= 0 ;
5227 wxString
*arg4
= 0 ;
5230 wxPyInputStream
*temp1
;
5232 bool temp2
= False
;
5233 bool temp3
= False
;
5234 bool temp4
= False
;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5238 PyObject
* obj2
= 0 ;
5239 PyObject
* obj3
= 0 ;
5240 PyObject
* obj4
= 0 ;
5242 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5247 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5248 arg1
= temp1
->m_wxis
;
5251 PyErr_Clear(); // clear the failure of the wxPyConvert above
5252 arg1
= wxPyCBInputStream_create(obj0
, False
);
5254 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5261 arg2
= wxString_in_helper(obj1
);
5262 if (arg2
== NULL
) SWIG_fail
;
5266 arg3
= wxString_in_helper(obj2
);
5267 if (arg3
== NULL
) SWIG_fail
;
5271 arg4
= wxString_in_helper(obj3
);
5272 if (arg4
== NULL
) SWIG_fail
;
5275 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= wxPyMake_wxObject(result
);
5325 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "self", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5352 wxInputStream
*result
;
5353 PyObject
* obj0
= 0 ;
5355 (char *) "self", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (wxInputStream
*)(arg1
)->GetStream();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 wxPyInputStream
* _ptr
= NULL
;
5371 _ptr
= new wxPyInputStream(result
);
5373 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5381 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5387 (char *) "self", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5396 result
= (wxString
*) &_result_ref
;
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5415 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5419 PyObject
* obj0
= 0 ;
5421 (char *) "self", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 wxString
const &_result_ref
= (arg1
)->GetLocation();
5430 result
= (wxString
*) &_result_ref
;
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5449 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5464 result
= (wxString
*) &_result_ref
;
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5483 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (arg1
)->GetModificationTime();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 wxDateTime
* resultptr
;
5503 resultptr
= new wxDateTime((wxDateTime
&) result
);
5504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5512 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5515 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5517 return Py_BuildValue((char *)"");
5519 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5524 return Py_BuildValue((char *)"");
5526 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxPyFileSystemHandler
*result
;
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5548 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5551 PyObject
*arg2
= (PyObject
*) 0 ;
5552 PyObject
*arg3
= (PyObject
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 PyObject
* obj2
= 0 ;
5557 (char *) "self",(char *) "self",(char *) "_class", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5581 wxString
*arg2
= 0 ;
5583 bool temp2
= False
;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "location", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5593 arg2
= wxString_in_helper(obj1
);
5594 if (arg2
== NULL
) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyInt_FromLong((long)result
);
5619 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5622 wxFileSystem
*arg2
= 0 ;
5623 wxString
*arg3
= 0 ;
5625 bool temp3
= False
;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 PyObject
* obj2
= 0 ;
5630 (char *) "self",(char *) "fs",(char *) "location", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5637 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5640 arg3
= wxString_in_helper(obj2
);
5641 if (arg3
== NULL
) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= wxPyMake_wxObject(result
);
5668 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5671 wxString
*arg2
= 0 ;
5672 int arg3
= (int) 0 ;
5674 bool temp2
= False
;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "spec",(char *) "flags", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5684 arg2
= wxString_in_helper(obj1
);
5685 if (arg2
== NULL
) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5716 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (arg1
)->FindNext();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5747 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5750 wxString
*arg2
= 0 ;
5752 bool temp2
= False
;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "self",(char *) "location", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5762 arg2
= wxString_in_helper(obj1
);
5763 if (arg2
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5794 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5797 wxString
*arg2
= 0 ;
5799 bool temp2
= False
;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5803 (char *) "self",(char *) "location", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 arg2
= wxString_in_helper(obj1
);
5810 if (arg2
== NULL
) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5841 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5844 wxString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "location", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 arg2
= wxString_in_helper(obj1
);
5857 if (arg2
== NULL
) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5888 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5891 wxString
*arg2
= 0 ;
5893 bool temp2
= False
;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "location", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 arg2
= wxString_in_helper(obj1
);
5904 if (arg2
== NULL
) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5935 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5938 wxString
*arg2
= 0 ;
5940 bool temp2
= False
;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5944 (char *) "self",(char *) "location", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5950 arg2
= wxString_in_helper(obj1
);
5951 if (arg2
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5982 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5985 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5987 return Py_BuildValue((char *)"");
5989 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxFileSystem
*result
;
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (wxFileSystem
*)new wxFileSystem();
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= wxPyMake_wxObject(result
);
6013 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6040 wxString
*arg2
= 0 ;
6041 bool arg3
= (bool) False
;
6042 bool temp2
= False
;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 PyObject
* obj2
= 0 ;
6047 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6053 arg2
= wxString_in_helper(obj1
);
6054 if (arg2
== NULL
) SWIG_fail
;
6058 arg3
= PyInt_AsLong(obj2
) ? true : false;
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (arg1
)->GetPath();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6114 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6117 wxString
*arg2
= 0 ;
6119 bool temp2
= False
;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6123 (char *) "self",(char *) "location", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6129 arg2
= wxString_in_helper(obj1
);
6130 if (arg2
== NULL
) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= wxPyMake_wxObject(result
);
6157 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6160 wxString
*arg2
= 0 ;
6161 int arg3
= (int) 0 ;
6163 bool temp2
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6167 (char *) "self",(char *) "spec",(char *) "flags", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6173 arg2
= wxString_in_helper(obj1
);
6174 if (arg2
== NULL
) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6205 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (arg1
)->FindNext();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6236 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "handler", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 wxFileSystem::AddHandler(arg1
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 wxFileSystem::CleanUpHandlers();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxString
*arg1
= 0 ;
6285 bool temp1
= False
;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "filename", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6293 arg1
= wxString_in_helper(obj0
);
6294 if (arg1
== NULL
) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6325 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6328 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6330 return Py_BuildValue((char *)"");
6332 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxString
*arg1
= 0 ;
6336 bool temp1
= False
;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "url", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6344 arg1
= wxString_in_helper(obj0
);
6345 if (arg1
== NULL
) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6376 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxInternetFSHandler
*result
;
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6398 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6401 wxString
*arg2
= 0 ;
6403 bool temp2
= False
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6407 (char *) "self",(char *) "location", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6413 arg2
= wxString_in_helper(obj1
);
6414 if (arg2
== NULL
) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= PyInt_FromLong((long)result
);
6439 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6442 wxFileSystem
*arg2
= 0 ;
6443 wxString
*arg3
= 0 ;
6445 bool temp3
= False
;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6448 PyObject
* obj2
= 0 ;
6450 (char *) "self",(char *) "fs",(char *) "location", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6460 arg3
= wxString_in_helper(obj2
);
6461 if (arg3
== NULL
) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= wxPyMake_wxObject(result
);
6488 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6491 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6493 return Py_BuildValue((char *)"");
6495 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxZipFSHandler
*result
;
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6517 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6520 wxString
*arg2
= 0 ;
6522 bool temp2
= False
;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6526 (char *) "self",(char *) "location", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6532 arg2
= wxString_in_helper(obj1
);
6533 if (arg2
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= PyInt_FromLong((long)result
);
6558 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6561 wxFileSystem
*arg2
= 0 ;
6562 wxString
*arg3
= 0 ;
6564 bool temp3
= False
;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 PyObject
* obj2
= 0 ;
6569 (char *) "self",(char *) "fs",(char *) "location", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6579 arg3
= wxString_in_helper(obj2
);
6580 if (arg3
== NULL
) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= wxPyMake_wxObject(result
);
6607 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6610 wxString
*arg2
= 0 ;
6611 int arg3
= (int) 0 ;
6613 bool temp2
= False
;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6617 (char *) "self",(char *) "spec",(char *) "flags", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 arg2
= wxString_in_helper(obj1
);
6624 if (arg2
== NULL
) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6655 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6661 (char *) "self", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (arg1
)->FindNext();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6686 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6689 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6691 return Py_BuildValue((char *)"");
6693 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxString
*arg1
= 0 ;
6698 bool temp1
= False
;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6702 (char *) "filename",(char *) "image",(char *) "type", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6707 arg1
= wxString_in_helper(obj0
);
6708 if (arg1
== NULL
) SWIG_fail
;
6711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 Py_INCREF(Py_None
); resultobj
= Py_None
;
6737 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxString
*arg1
= 0 ;
6740 wxBitmap
*arg2
= 0 ;
6742 bool temp1
= False
;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6746 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6751 arg1
= wxString_in_helper(obj0
);
6752 if (arg1
== NULL
) SWIG_fail
;
6755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxString
*arg1
= 0 ;
6784 PyObject
*arg2
= (PyObject
*) 0 ;
6785 bool temp1
= False
;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6789 (char *) "filename",(char *) "data", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6794 arg1
= wxString_in_helper(obj0
);
6795 if (arg1
== NULL
) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxMemoryFSHandler
*result
;
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6843 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxString
*arg1
= 0 ;
6846 bool temp1
= False
;
6847 PyObject
* obj0
= 0 ;
6849 (char *) "filename", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6854 arg1
= wxString_in_helper(obj0
);
6855 if (arg1
== NULL
) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6883 wxString
*arg2
= 0 ;
6885 bool temp2
= False
;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "location", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6895 arg2
= wxString_in_helper(obj1
);
6896 if (arg2
== NULL
) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= PyInt_FromLong((long)result
);
6921 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6924 wxFileSystem
*arg2
= 0 ;
6925 wxString
*arg3
= 0 ;
6927 bool temp3
= False
;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6932 (char *) "self",(char *) "fs",(char *) "location", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6942 arg3
= wxString_in_helper(obj2
);
6943 if (arg3
== NULL
) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= wxPyMake_wxObject(result
);
6970 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6973 wxString
*arg2
= 0 ;
6974 int arg3
= (int) 0 ;
6976 bool temp2
= False
;
6977 PyObject
* obj0
= 0 ;
6978 PyObject
* obj1
= 0 ;
6980 (char *) "self",(char *) "spec",(char *) "flags", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6986 arg2
= wxString_in_helper(obj1
);
6987 if (arg2
== NULL
) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7018 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (arg1
)->FindNext();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7049 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7054 return Py_BuildValue((char *)"");
7056 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (arg1
)->GetName();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7087 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7093 (char *) "self", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (arg1
)->GetExtension();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7118 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7122 PyObject
* obj0
= 0 ;
7124 (char *) "self", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (long)(arg1
)->GetType();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= PyInt_FromLong((long)result
);
7143 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (arg1
)->GetMimeType();
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7174 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7177 wxString
*arg2
= 0 ;
7179 bool temp2
= False
;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7183 (char *) "self",(char *) "name", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7189 arg2
= wxString_in_helper(obj1
);
7190 if (arg2
== NULL
) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= PyInt_FromLong((long)result
);
7215 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7218 wxString
*arg2
= 0 ;
7219 bool temp2
= False
;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "self",(char *) "name", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 arg2
= wxString_in_helper(obj1
);
7230 if (arg2
== NULL
) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetName((wxString
const &)*arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7258 wxString
*arg2
= 0 ;
7259 bool temp2
= False
;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "extension", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7269 arg2
= wxString_in_helper(obj1
);
7270 if (arg2
== NULL
) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 (arg1
)->SetExtension((wxString
const &)*arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self",(char *) "type", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetType(arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7323 wxString
*arg2
= 0 ;
7324 bool temp2
= False
;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "mimetype", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7334 arg2
= wxString_in_helper(obj1
);
7335 if (arg2
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7363 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7365 return Py_BuildValue((char *)"");
7367 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxImageHistogram
*result
;
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (wxImageHistogram
*)new wxImageHistogram();
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7389 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 unsigned char arg1
;
7392 unsigned char arg2
;
7393 unsigned char arg3
;
7394 unsigned long result
;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj2
= 0 ;
7399 (char *) "r",(char *) "g",(char *) "b", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7403 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7405 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7407 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= PyInt_FromLong((long)result
);
7423 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7426 unsigned char *arg2
= (unsigned char *) 0 ;
7427 unsigned char *arg3
= (unsigned char *) 0 ;
7428 unsigned char *arg4
= (unsigned char *) 0 ;
7429 unsigned char arg5
= (unsigned char) 1 ;
7430 unsigned char arg6
= (unsigned char) 0 ;
7431 unsigned char arg7
= (unsigned char) 0 ;
7433 unsigned char temp2
;
7434 unsigned char temp3
;
7435 unsigned char temp4
;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7439 PyObject
* obj3
= 0 ;
7441 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7450 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= PyInt_FromLong((long)result
);
7470 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7471 resultobj
= t_output_helper(resultobj
,o
);
7474 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7475 resultobj
= t_output_helper(resultobj
,o
);
7478 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7479 resultobj
= t_output_helper(resultobj
,o
);
7487 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7490 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7492 return Py_BuildValue((char *)"");
7494 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxString
*arg1
= 0 ;
7497 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7498 int arg3
= (int) -1 ;
7500 bool temp1
= False
;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "name",(char *) "type",(char *) "index", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7508 arg1
= wxString_in_helper(obj0
);
7509 if (arg1
== NULL
) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7534 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxImage
*arg1
= (wxImage
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxString
*arg1
= 0 ;
7561 wxString
*arg2
= 0 ;
7562 int arg3
= (int) -1 ;
7564 bool temp1
= False
;
7565 bool temp2
= False
;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7569 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7574 arg1
= wxString_in_helper(obj0
);
7575 if (arg1
== NULL
) SWIG_fail
;
7579 arg2
= wxString_in_helper(obj1
);
7580 if (arg2
== NULL
) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7613 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxInputStream
*arg1
= 0 ;
7616 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7617 int arg3
= (int) -1 ;
7619 wxPyInputStream
*temp1
;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "stream",(char *) "type",(char *) "index", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7628 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7629 arg1
= temp1
->m_wxis
;
7632 PyErr_Clear(); // clear the failure of the wxPyConvert above
7633 arg1
= wxPyCBInputStream_create(obj0
, False
);
7635 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7663 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxInputStream
*arg1
= 0 ;
7666 wxString
*arg2
= 0 ;
7667 int arg3
= (int) -1 ;
7669 wxPyInputStream
*temp1
;
7671 bool temp2
= False
;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7675 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7680 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7681 arg1
= temp1
->m_wxis
;
7684 PyErr_Clear(); // clear the failure of the wxPyConvert above
7685 arg1
= wxPyCBInputStream_create(obj0
, False
);
7687 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7728 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 int arg1
= (int) 0 ;
7731 int arg2
= (int) 0 ;
7732 bool arg3
= (bool) True
;
7734 PyObject
* obj2
= 0 ;
7736 (char *) "width",(char *) "height",(char *) "clear", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7741 arg3
= PyInt_AsLong(obj2
) ? true : false;
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7758 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxBitmap
*arg1
= 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "bitmap", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7786 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7790 unsigned char *arg3
= (unsigned char *) 0 ;
7792 PyObject
* obj2
= 0 ;
7794 (char *) "width",(char *) "height",(char *) "data", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7813 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxImage
*arg1
= (wxImage
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self",(char *) "width",(char *) "height", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 (arg1
)->Create(arg2
,arg3
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxImage
*arg1
= (wxImage
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxImage
*arg1
= (wxImage
*) 0 ;
7868 SwigValueWrapper
< wxImage
> result
;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self",(char *) "width",(char *) "height", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (arg1
)->Scale(arg2
,arg3
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 wxImage
* resultptr
;
7885 resultptr
= new wxImage((wxImage
&) result
);
7886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7894 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxImage
*arg1
= (wxImage
*) 0 ;
7899 SwigValueWrapper
< wxImage
> result
;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 wxImage
* resultptr
;
7916 resultptr
= new wxImage((wxImage
&) result
);
7917 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7925 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxImage
*arg1
= (wxImage
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self",(char *) "width",(char *) "height", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7942 result
= (wxImage
*) &_result_ref
;
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7955 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxImage
*arg1
= (wxImage
*) 0 ;
7960 unsigned char arg4
;
7961 unsigned char arg5
;
7962 unsigned char arg6
;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj3
= 0 ;
7965 PyObject
* obj4
= 0 ;
7966 PyObject
* obj5
= 0 ;
7968 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7973 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7975 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7977 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxImage
*arg1
= (wxImage
*) 0 ;
7998 unsigned char result
;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self",(char *) "x",(char *) "y", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= PyInt_FromLong((long)result
);
8020 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxImage
*arg1
= (wxImage
*) 0 ;
8025 unsigned char result
;
8026 PyObject
* obj0
= 0 ;
8028 (char *) "self",(char *) "x",(char *) "y", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= PyInt_FromLong((long)result
);
8047 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxImage
*arg1
= (wxImage
*) 0 ;
8052 unsigned char result
;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self",(char *) "x",(char *) "y", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= PyInt_FromLong((long)result
);
8074 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxImage
*arg1
= (wxImage
*) 0 ;
8079 unsigned char arg4
;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj3
= 0 ;
8083 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8104 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxImage
*arg1
= (wxImage
*) 0 ;
8109 unsigned char result
;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self",(char *) "x",(char *) "y", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxImage
*arg1
= (wxImage
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->HasAlpha();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= PyInt_FromLong((long)result
);
8156 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxImage
*arg1
= (wxImage
*) 0 ;
8159 byte
*arg2
= (byte
*) 0 ;
8160 byte
*arg3
= (byte
*) 0 ;
8161 byte
*arg4
= (byte
*) 0 ;
8162 byte arg5
= (byte
) 0 ;
8163 byte arg6
= (byte
) 0 ;
8164 byte arg7
= (byte
) 0 ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8172 PyObject
* obj3
= 0 ;
8174 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8183 arg5
= (byte
) PyInt_AsLong(obj1
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8187 arg6
= (byte
) PyInt_AsLong(obj2
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8191 arg7
= (byte
) PyInt_AsLong(obj3
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= PyInt_FromLong((long)result
);
8203 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8204 resultobj
= t_output_helper(resultobj
,o
);
8207 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8208 resultobj
= t_output_helper(resultobj
,o
);
8211 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8212 resultobj
= t_output_helper(resultobj
,o
);
8220 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxImage
*arg1
= (wxImage
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8230 PyObject
* obj2
= 0 ;
8231 PyObject
* obj3
= 0 ;
8232 PyObject
* obj4
= 0 ;
8234 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8243 arg3
= (byte
) PyInt_AsLong(obj2
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8245 arg4
= (byte
) PyInt_AsLong(obj3
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8247 arg5
= (byte
) PyInt_AsLong(obj4
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= PyInt_FromLong((long)result
);
8263 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxString
*arg1
= 0 ;
8267 bool temp1
= False
;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "name", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8275 arg1
= wxString_in_helper(obj0
);
8276 if (arg1
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= PyInt_FromLong((long)result
);
8301 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxString
*arg1
= 0 ;
8304 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8306 bool temp1
= False
;
8307 PyObject
* obj0
= 0 ;
8309 (char *) "name",(char *) "type", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8314 arg1
= wxString_in_helper(obj0
);
8315 if (arg1
== NULL
) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= PyInt_FromLong((long)result
);
8340 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxImage
*arg1
= (wxImage
*) 0 ;
8343 wxString
*arg2
= 0 ;
8344 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8345 int arg4
= (int) -1 ;
8347 bool temp2
= False
;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8357 arg2
= wxString_in_helper(obj1
);
8358 if (arg2
== NULL
) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= PyInt_FromLong((long)result
);
8383 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxImage
*arg1
= (wxImage
*) 0 ;
8386 wxString
*arg2
= 0 ;
8387 wxString
*arg3
= 0 ;
8388 int arg4
= (int) -1 ;
8390 bool temp2
= False
;
8391 bool temp3
= False
;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8394 PyObject
* obj2
= 0 ;
8396 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8402 arg2
= wxString_in_helper(obj1
);
8403 if (arg2
== NULL
) SWIG_fail
;
8407 arg3
= wxString_in_helper(obj2
);
8408 if (arg3
== NULL
) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= PyInt_FromLong((long)result
);
8441 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxImage
*arg1
= (wxImage
*) 0 ;
8444 wxString
*arg2
= 0 ;
8447 bool temp2
= False
;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8451 (char *) "self",(char *) "name",(char *) "type", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8457 arg2
= wxString_in_helper(obj1
);
8458 if (arg2
== NULL
) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= PyInt_FromLong((long)result
);
8483 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxImage
*arg1
= (wxImage
*) 0 ;
8486 wxString
*arg2
= 0 ;
8487 wxString
*arg3
= 0 ;
8489 bool temp2
= False
;
8490 bool temp3
= False
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8493 PyObject
* obj2
= 0 ;
8495 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 arg2
= wxString_in_helper(obj1
);
8502 if (arg2
== NULL
) SWIG_fail
;
8506 arg3
= wxString_in_helper(obj2
);
8507 if (arg3
== NULL
) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= PyInt_FromLong((long)result
);
8540 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxInputStream
*arg1
= 0 ;
8544 wxPyInputStream
*temp1
;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "stream", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8553 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8554 arg1
= temp1
->m_wxis
;
8557 PyErr_Clear(); // clear the failure of the wxPyConvert above
8558 arg1
= wxPyCBInputStream_create(obj0
, False
);
8560 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (bool)wxImage::CanRead(*arg1
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= PyInt_FromLong((long)result
);
8588 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxImage
*arg1
= (wxImage
*) 0 ;
8591 wxInputStream
*arg2
= 0 ;
8592 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8593 int arg4
= (int) -1 ;
8595 wxPyInputStream
*temp2
;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8606 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8607 arg2
= temp2
->m_wxis
;
8610 PyErr_Clear(); // clear the failure of the wxPyConvert above
8611 arg2
= wxPyCBInputStream_create(obj1
, False
);
8613 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= PyInt_FromLong((long)result
);
8641 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxImage
*arg1
= (wxImage
*) 0 ;
8644 wxInputStream
*arg2
= 0 ;
8645 wxString
*arg3
= 0 ;
8646 int arg4
= (int) -1 ;
8648 wxPyInputStream
*temp2
;
8650 bool temp3
= False
;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 PyObject
* obj2
= 0 ;
8655 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8661 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8662 arg2
= temp2
->m_wxis
;
8665 PyErr_Clear(); // clear the failure of the wxPyConvert above
8666 arg2
= wxPyCBInputStream_create(obj1
, False
);
8668 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8675 arg3
= wxString_in_helper(obj2
);
8676 if (arg3
== NULL
) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= PyInt_FromLong((long)result
);
8709 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxImage
*arg1
= (wxImage
*) 0 ;
8713 PyObject
* obj0
= 0 ;
8715 (char *) "self", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (bool)(arg1
)->Ok();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= PyInt_FromLong((long)result
);
8734 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxImage
*arg1
= (wxImage
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (int)(arg1
)->GetWidth();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= PyInt_FromLong((long)result
);
8759 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxImage
*arg1
= (wxImage
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (int)(arg1
)->GetHeight();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= PyInt_FromLong((long)result
);
8784 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxImage
*arg1
= (wxImage
*) 0 ;
8788 SwigValueWrapper
< wxImage
> result
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "rect", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 wxImage
* resultptr
;
8811 resultptr
= new wxImage((wxImage
&) result
);
8812 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8820 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxImage
*arg1
= (wxImage
*) 0 ;
8823 SwigValueWrapper
< wxImage
> result
;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "self", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (arg1
)->Copy();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 wxImage
* resultptr
;
8840 resultptr
= new wxImage((wxImage
&) result
);
8841 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8849 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxImage
*arg1
= (wxImage
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxImage
*arg1
= (wxImage
*) 0 ;
8885 PyObject
* obj0
= 0 ;
8887 (char *) "self", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (PyObject
*)wxImage_GetData(arg1
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8906 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxImage
*arg1
= (wxImage
*) 0 ;
8909 PyObject
*arg2
= (PyObject
*) 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8913 (char *) "self",(char *) "data", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 wxImage_SetData(arg1
,arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxImage
*arg1
= (wxImage
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8958 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxImage
*arg1
= (wxImage
*) 0 ;
8961 PyObject
*arg2
= (PyObject
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8965 (char *) "self",(char *) "data", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxImage_SetDataBuffer(arg1
,arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxImage
*arg1
= (wxImage
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9010 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxImage
*arg1
= (wxImage
*) 0 ;
9013 PyObject
*arg2
= (PyObject
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "self",(char *) "data", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxImage_SetAlphaData(arg1
,arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxImage
*arg1
= (wxImage
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9062 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxImage
*arg1
= (wxImage
*) 0 ;
9065 PyObject
*arg2
= (PyObject
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "self",(char *) "data", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 wxImage_SetAlphaBuffer(arg1
,arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxImage
*arg1
= (wxImage
*) 0 ;
9092 unsigned char arg2
;
9093 unsigned char arg3
;
9094 unsigned char arg4
;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 PyObject
* obj2
= 0 ;
9098 PyObject
* obj3
= 0 ;
9100 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9105 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9107 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9109 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxImage
*arg1
= (wxImage
*) 0 ;
9128 unsigned char result
;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (unsigned char)(arg1
)->GetMaskRed();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= PyInt_FromLong((long)result
);
9150 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxImage
*arg1
= (wxImage
*) 0 ;
9153 unsigned char result
;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (unsigned char)(arg1
)->GetMaskGreen();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyInt_FromLong((long)result
);
9175 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxImage
*arg1
= (wxImage
*) 0 ;
9178 unsigned char result
;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (unsigned char)(arg1
)->GetMaskBlue();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= PyInt_FromLong((long)result
);
9200 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxImage
*arg1
= (wxImage
*) 0 ;
9203 bool arg2
= (bool) True
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9207 (char *) "self",(char *) "mask", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9213 arg2
= PyInt_AsLong(obj1
) ? true : false;
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->SetMask(arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxImage
*arg1
= (wxImage
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (bool)(arg1
)->HasMask();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= PyInt_FromLong((long)result
);
9255 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxImage
*arg1
= (wxImage
*) 0 ;
9260 bool arg4
= (bool) True
;
9261 wxPoint
*arg5
= (wxPoint
*) NULL
;
9262 SwigValueWrapper
< wxImage
> result
;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj2
= 0 ;
9266 PyObject
* obj3
= 0 ;
9267 PyObject
* obj4
= 0 ;
9269 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9279 arg4
= PyInt_AsLong(obj3
) ? true : false;
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 wxImage
* resultptr
;
9294 resultptr
= new wxImage((wxImage
&) result
);
9295 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9303 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxImage
*arg1
= (wxImage
*) 0 ;
9306 bool arg2
= (bool) True
;
9307 SwigValueWrapper
< wxImage
> result
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "clockwise", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 arg2
= PyInt_AsLong(obj1
) ? true : false;
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (arg1
)->Rotate90(arg2
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 wxImage
* resultptr
;
9329 resultptr
= new wxImage((wxImage
&) result
);
9330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9338 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxImage
*arg1
= (wxImage
*) 0 ;
9341 bool arg2
= (bool) True
;
9342 SwigValueWrapper
< wxImage
> result
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9346 (char *) "self",(char *) "horizontally", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9352 arg2
= PyInt_AsLong(obj1
) ? true : false;
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (arg1
)->Mirror(arg2
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 wxImage
* resultptr
;
9364 resultptr
= new wxImage((wxImage
&) result
);
9365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9373 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxImage
*arg1
= (wxImage
*) 0 ;
9376 unsigned char arg2
;
9377 unsigned char arg3
;
9378 unsigned char arg4
;
9379 unsigned char arg5
;
9380 unsigned char arg6
;
9381 unsigned char arg7
;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 PyObject
* obj2
= 0 ;
9385 PyObject
* obj3
= 0 ;
9386 PyObject
* obj4
= 0 ;
9387 PyObject
* obj5
= 0 ;
9388 PyObject
* obj6
= 0 ;
9390 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9395 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9397 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9399 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9401 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9421 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxImage
*arg1
= (wxImage
*) 0 ;
9424 unsigned char arg2
;
9425 unsigned char arg3
;
9426 unsigned char arg4
;
9427 SwigValueWrapper
< wxImage
> result
;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 PyObject
* obj2
= 0 ;
9431 PyObject
* obj3
= 0 ;
9433 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9438 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9440 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9442 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 wxImage
* resultptr
;
9453 resultptr
= new wxImage((wxImage
&) result
);
9454 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9462 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxImage
*arg1
= (wxImage
*) 0 ;
9465 wxString
*arg2
= 0 ;
9466 wxString
*arg3
= 0 ;
9467 bool temp2
= False
;
9468 bool temp3
= False
;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 PyObject
* obj2
= 0 ;
9473 (char *) "self",(char *) "name",(char *) "value", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9479 arg2
= wxString_in_helper(obj1
);
9480 if (arg2
== NULL
) SWIG_fail
;
9484 arg3
= wxString_in_helper(obj2
);
9485 if (arg3
== NULL
) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxImage
*arg1
= (wxImage
*) 0 ;
9521 wxString
*arg2
= 0 ;
9523 bool temp2
= False
;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9527 (char *) "self",(char *) "name",(char *) "value", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 arg2
= wxString_in_helper(obj1
);
9534 if (arg2
== NULL
) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9559 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxImage
*arg1
= (wxImage
*) 0 ;
9562 wxString
*arg2
= 0 ;
9564 bool temp2
= False
;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9568 (char *) "self",(char *) "name", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9574 arg2
= wxString_in_helper(obj1
);
9575 if (arg2
== NULL
) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9606 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxImage
*arg1
= (wxImage
*) 0 ;
9609 wxString
*arg2
= 0 ;
9611 bool temp2
= False
;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9615 (char *) "self",(char *) "name", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9621 arg2
= wxString_in_helper(obj1
);
9622 if (arg2
== NULL
) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= PyInt_FromLong((long)result
);
9647 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxImage
*arg1
= (wxImage
*) 0 ;
9650 wxString
*arg2
= 0 ;
9652 bool temp2
= False
;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9656 (char *) "self",(char *) "name", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 arg2
= wxString_in_helper(obj1
);
9663 if (arg2
== NULL
) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= PyInt_FromLong((long)result
);
9688 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxImage
*arg1
= (wxImage
*) 0 ;
9691 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9692 unsigned long result
;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "stopafter", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9702 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= PyInt_FromLong((long)result
);
9719 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxImage
*arg1
= (wxImage
*) 0 ;
9722 wxImageHistogram
*arg2
= 0 ;
9723 unsigned long result
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9727 (char *) "self",(char *) "h", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= PyInt_FromLong((long)result
);
9750 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "handler", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxImage::AddHandler(arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 Py_INCREF(Py_None
); resultobj
= Py_None
;
9774 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9779 (char *) "handler", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 wxImage::InsertHandler(arg1
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 Py_INCREF(Py_None
); resultobj
= Py_None
;
9798 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxString
*arg1
= 0 ;
9802 bool temp1
= False
;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "name", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9810 arg1
= wxString_in_helper(obj0
);
9811 if (arg1
== NULL
) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= PyInt_FromLong((long)result
);
9836 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= wxImage::GetImageExtWildcard();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9864 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxImage
*arg1
= (wxImage
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9870 (char *) "self", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= wxImage_ConvertToBitmap(arg1
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 wxBitmap
* resultptr
;
9884 resultptr
= new wxBitmap((wxBitmap
&) result
);
9885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9893 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxImage
*arg1
= (wxImage
*) 0 ;
9896 unsigned char arg2
;
9897 unsigned char arg3
;
9898 unsigned char arg4
;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9903 PyObject
* obj3
= 0 ;
9905 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9912 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9914 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 wxBitmap
* resultptr
;
9925 resultptr
= new wxBitmap((wxBitmap
&) result
);
9926 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9934 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9937 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9939 return Py_BuildValue((char *)"");
9941 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 wxInitAllImageHandlers();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 static int _wrap_NullImage_set(PyObject
*_val
) {
9963 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9968 static PyObject
*_wrap_NullImage_get() {
9971 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9976 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9977 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9982 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9987 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9989 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9996 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9997 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10002 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10007 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10009 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10016 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10017 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10022 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10027 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10029 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10036 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10037 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10042 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10047 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10049 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10056 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10057 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10062 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10067 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10069 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10076 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxBMPHandler
*result
;
10079 char *kwnames
[] = {
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxBMPHandler
*)new wxBMPHandler();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
10098 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10101 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
10103 return Py_BuildValue((char *)"");
10105 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxICOHandler
*result
;
10108 char *kwnames
[] = {
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxICOHandler
*)new wxICOHandler();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10127 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10130 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10132 return Py_BuildValue((char *)"");
10134 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxCURHandler
*result
;
10137 char *kwnames
[] = {
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxCURHandler
*)new wxCURHandler();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10156 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10159 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10161 return Py_BuildValue((char *)"");
10163 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxANIHandler
*result
;
10166 char *kwnames
[] = {
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (wxANIHandler
*)new wxANIHandler();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10185 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10188 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10190 return Py_BuildValue((char *)"");
10192 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPNGHandler
*result
;
10195 char *kwnames
[] = {
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (wxPNGHandler
*)new wxPNGHandler();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10214 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10217 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10219 return Py_BuildValue((char *)"");
10221 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxGIFHandler
*result
;
10224 char *kwnames
[] = {
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (wxGIFHandler
*)new wxGIFHandler();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10243 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10246 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10248 return Py_BuildValue((char *)"");
10250 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxPCXHandler
*result
;
10253 char *kwnames
[] = {
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (wxPCXHandler
*)new wxPCXHandler();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10272 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10275 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10277 return Py_BuildValue((char *)"");
10279 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxJPEGHandler
*result
;
10282 char *kwnames
[] = {
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10301 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10304 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10306 return Py_BuildValue((char *)"");
10308 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxPNMHandler
*result
;
10311 char *kwnames
[] = {
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (wxPNMHandler
*)new wxPNMHandler();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10330 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10333 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10335 return Py_BuildValue((char *)"");
10337 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxXPMHandler
*result
;
10340 char *kwnames
[] = {
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (wxXPMHandler
*)new wxXPMHandler();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10359 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10362 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10364 return Py_BuildValue((char *)"");
10366 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxTIFFHandler
*result
;
10369 char *kwnames
[] = {
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10388 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10391 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10393 return Py_BuildValue((char *)"");
10395 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxEvtHandler
*result
;
10398 char *kwnames
[] = {
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxEvtHandler
*)new wxEvtHandler();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= wxPyMake_wxObject(result
);
10419 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10422 wxEvtHandler
*result
;
10423 PyObject
* obj0
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= wxPyMake_wxObject(result
);
10446 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10449 wxEvtHandler
*result
;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= wxPyMake_wxObject(result
);
10473 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10476 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self",(char *) "handler", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetNextHandler(arg2
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10503 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "handler", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetPreviousHandler(arg2
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= PyInt_FromLong((long)result
);
10552 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "enabled", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 arg2
= PyInt_AsLong(obj1
) ? true : false;
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetEvtHandlerEnabled(arg2
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10583 wxEvent
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self",(char *) "event", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10594 if (arg2
== NULL
) {
10595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= PyInt_FromLong((long)result
);
10611 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10614 wxEvent
*arg2
= 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self",(char *) "event", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10624 if (arg2
== NULL
) {
10625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 (arg1
)->AddPendingEvent(*arg2
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 Py_INCREF(Py_None
); resultobj
= Py_None
;
10641 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->ProcessPendingEvents();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 Py_INCREF(Py_None
); resultobj
= Py_None
;
10665 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10671 PyObject
*arg5
= (PyObject
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj4
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 Py_INCREF(Py_None
); resultobj
= Py_None
;
10695 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10699 int arg3
= (int) -1 ;
10700 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= PyInt_FromLong((long)result
);
10723 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10726 PyObject
*arg2
= (PyObject
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "_self", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 wxEvtHandler__setOORInfo(arg1
,arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10755 return Py_BuildValue((char *)"");
10757 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxEventType result
;
10760 char *kwnames
[] = {
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (wxEventType
)wxNewEventType();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= PyInt_FromLong((long)result
);
10779 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxEvent
*arg1
= (wxEvent
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxEvent
*arg1
= (wxEvent
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "typ", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetEventType(arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxEvent
*arg1
= (wxEvent
*) 0 ;
10831 wxEventType result
;
10832 PyObject
* obj0
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= PyInt_FromLong((long)result
);
10853 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxEvent
*arg1
= (wxEvent
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= wxPyMake_wxObject(result
);
10880 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxEvent
*arg1
= (wxEvent
*) 0 ;
10883 wxObject
*arg2
= (wxObject
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "obj", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->SetEventObject(arg2
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxEvent
*arg1
= (wxEvent
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= PyInt_FromLong((long)result
);
10932 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxEvent
*arg1
= (wxEvent
*) 0 ;
10935 long arg2
= (long) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "ts", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->SetTimestamp(arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxEvent
*arg1
= (wxEvent
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (int)((wxEvent
const *)arg1
)->GetId();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= PyInt_FromLong((long)result
);
10982 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxEvent
*arg1
= (wxEvent
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self",(char *) "Id", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->SetId(arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxEvent
*arg1
= (wxEvent
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= PyInt_FromLong((long)result
);
11032 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxEvent
*arg1
= (wxEvent
*) 0 ;
11035 bool arg2
= (bool) True
;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "skip", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11045 arg2
= PyInt_AsLong(obj1
) ? true : false;
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->Skip(arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxEvent
*arg1
= (wxEvent
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= PyInt_FromLong((long)result
);
11087 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxEvent
*arg1
= (wxEvent
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
11097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= PyInt_FromLong((long)result
);
11112 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxEvent
*arg1
= (wxEvent
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (int)(arg1
)->StopPropagation();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= PyInt_FromLong((long)result
);
11137 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxEvent
*arg1
= (wxEvent
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "propagationLevel", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->ResumePropagation(arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxEvent
*arg1
= (wxEvent
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (wxEvent
*)(arg1
)->Clone();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11187 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11190 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11192 return Py_BuildValue((char *)"");
11194 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxEvent
*arg1
= 0 ;
11197 wxPropagationDisabler
*result
;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "event", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 if (arg1
== NULL
) {
11206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11222 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11249 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11251 return Py_BuildValue((char *)"");
11253 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxEvent
*arg1
= 0 ;
11256 wxPropagateOnce
*result
;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "event", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11264 if (arg1
== NULL
) {
11265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11281 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11308 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11310 return Py_BuildValue((char *)"");
11312 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11315 int arg2
= (int) 0 ;
11316 wxCommandEvent
*result
;
11317 char *kwnames
[] = {
11318 (char *) "commandType",(char *) "winid", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11336 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= PyInt_FromLong((long)result
);
11361 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11364 wxString
*arg2
= 0 ;
11365 bool temp2
= False
;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "s", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 arg2
= wxString_in_helper(obj1
);
11376 if (arg2
== NULL
) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetString((wxString
const &)*arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11432 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= PyInt_FromLong((long)result
);
11457 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= PyInt_FromLong((long)result
);
11482 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "extraLong", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->SetExtraLong(arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 Py_INCREF(Py_None
); resultobj
= Py_None
;
11507 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= PyInt_FromLong((long)result
);
11532 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "i", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 (arg1
)->SetInt(arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 Py_INCREF(Py_None
); resultobj
= Py_None
;
11557 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= PyInt_FromLong((long)result
);
11582 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11607 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11610 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11612 return Py_BuildValue((char *)"");
11614 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11617 int arg2
= (int) 0 ;
11618 wxNotifyEvent
*result
;
11619 char *kwnames
[] = {
11620 (char *) "commandType",(char *) "winid", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11638 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11662 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 Py_INCREF(Py_None
); resultobj
= Py_None
;
11686 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (bool)(arg1
)->IsAllowed();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= PyInt_FromLong((long)result
);
11711 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11714 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11716 return Py_BuildValue((char *)"");
11718 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11721 int arg2
= (int) 0 ;
11722 int arg3
= (int) 0 ;
11723 int arg4
= (int) 0 ;
11724 wxScrollEvent
*result
;
11725 char *kwnames
[] = {
11726 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11744 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= PyInt_FromLong((long)result
);
11769 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= PyInt_FromLong((long)result
);
11794 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "orient", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetOrientation(arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "pos", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->SetPosition(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11849 return Py_BuildValue((char *)"");
11851 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11854 int arg2
= (int) 0 ;
11855 int arg3
= (int) 0 ;
11856 wxScrollWinEvent
*result
;
11857 char *kwnames
[] = {
11858 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11876 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= PyInt_FromLong((long)result
);
11901 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= PyInt_FromLong((long)result
);
11926 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "orient", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->SetOrientation(arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "pos", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 (arg1
)->SetPosition(arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 Py_INCREF(Py_None
); resultobj
= Py_None
;
11976 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11979 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11981 return Py_BuildValue((char *)"");
11983 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11986 wxMouseEvent
*result
;
11987 char *kwnames
[] = {
11988 (char *) "mouseType", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= wxPyMake_wxObject(result
);
12008 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyInt_FromLong((long)result
);
12033 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12036 int arg2
= (int) wxMOUSE_BTN_ANY
;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self",(char *) "but", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= PyInt_FromLong((long)result
);
12059 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12062 int arg2
= (int) wxMOUSE_BTN_ANY
;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "but", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= PyInt_FromLong((long)result
);
12085 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12088 int arg2
= (int) wxMOUSE_BTN_ANY
;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "but", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= PyInt_FromLong((long)result
);
12111 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "but", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= PyInt_FromLong((long)result
);
12137 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "but", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= PyInt_FromLong((long)result
);
12163 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= PyInt_FromLong((long)result
);
12188 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= PyInt_FromLong((long)result
);
12213 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12217 PyObject
* obj0
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= PyInt_FromLong((long)result
);
12238 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= PyInt_FromLong((long)result
);
12263 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= PyInt_FromLong((long)result
);
12288 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= PyInt_FromLong((long)result
);
12313 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= PyInt_FromLong((long)result
);
12338 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= PyInt_FromLong((long)result
);
12363 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= PyInt_FromLong((long)result
);
12388 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= PyInt_FromLong((long)result
);
12413 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= PyInt_FromLong((long)result
);
12438 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= PyInt_FromLong((long)result
);
12463 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= PyInt_FromLong((long)result
);
12488 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= PyInt_FromLong((long)result
);
12513 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (bool)(arg1
)->LeftIsDown();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= PyInt_FromLong((long)result
);
12538 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)(arg1
)->MiddleIsDown();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= PyInt_FromLong((long)result
);
12563 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (bool)(arg1
)->RightIsDown();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= PyInt_FromLong((long)result
);
12588 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= PyInt_FromLong((long)result
);
12613 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= PyInt_FromLong((long)result
);
12638 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= PyInt_FromLong((long)result
);
12663 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= PyInt_FromLong((long)result
);
12688 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (arg1
)->GetPosition();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 wxPoint
* resultptr
;
12708 resultptr
= new wxPoint((wxPoint
&) result
);
12709 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12717 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12720 long *arg2
= (long *) 0 ;
12721 long *arg3
= (long *) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->GetPosition(arg2
,arg3
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12742 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12743 resultobj
= t_output_helper(resultobj
,o
);
12746 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12747 resultobj
= t_output_helper(resultobj
,o
);
12755 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "dc", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12769 if (arg2
== NULL
) {
12770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12780 wxPoint
* resultptr
;
12781 resultptr
= new wxPoint((wxPoint
&) result
);
12782 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12790 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= PyInt_FromLong((long)result
);
12815 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= PyInt_FromLong((long)result
);
12840 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= PyInt_FromLong((long)result
);
12865 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= PyInt_FromLong((long)result
);
12890 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= PyInt_FromLong((long)result
);
12915 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= PyInt_FromLong((long)result
);
12940 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self",(char *) "m_x", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12951 if (arg1
) (arg1
)->m_x
= arg2
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12971 result
= (int) ((arg1
)->m_x
);
12973 resultobj
= PyInt_FromLong((long)result
);
12980 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self",(char *) "m_y", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12991 if (arg1
) (arg1
)->m_y
= arg2
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13000 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13011 result
= (int) ((arg1
)->m_y
);
13013 resultobj
= PyInt_FromLong((long)result
);
13020 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "m_leftDown", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13032 arg2
= PyInt_AsLong(obj1
) ? true : false;
13033 if (PyErr_Occurred()) SWIG_fail
;
13034 if (arg1
) (arg1
)->m_leftDown
= arg2
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13054 result
= (bool) ((arg1
)->m_leftDown
);
13056 resultobj
= PyInt_FromLong((long)result
);
13063 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self",(char *) "m_middleDown", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13075 arg2
= PyInt_AsLong(obj1
) ? true : false;
13076 if (PyErr_Occurred()) SWIG_fail
;
13077 if (arg1
) (arg1
)->m_middleDown
= arg2
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13097 result
= (bool) ((arg1
)->m_middleDown
);
13099 resultobj
= PyInt_FromLong((long)result
);
13106 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self",(char *) "m_rightDown", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13118 arg2
= PyInt_AsLong(obj1
) ? true : false;
13119 if (PyErr_Occurred()) SWIG_fail
;
13120 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13140 result
= (bool) ((arg1
)->m_rightDown
);
13142 resultobj
= PyInt_FromLong((long)result
);
13149 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "m_controlDown", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13161 arg2
= PyInt_AsLong(obj1
) ? true : false;
13162 if (PyErr_Occurred()) SWIG_fail
;
13163 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13183 result
= (bool) ((arg1
)->m_controlDown
);
13185 resultobj
= PyInt_FromLong((long)result
);
13192 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self",(char *) "m_shiftDown", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13204 arg2
= PyInt_AsLong(obj1
) ? true : false;
13205 if (PyErr_Occurred()) SWIG_fail
;
13206 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13208 Py_INCREF(Py_None
); resultobj
= Py_None
;
13215 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13226 result
= (bool) ((arg1
)->m_shiftDown
);
13228 resultobj
= PyInt_FromLong((long)result
);
13235 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self",(char *) "m_altDown", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13247 arg2
= PyInt_AsLong(obj1
) ? true : false;
13248 if (PyErr_Occurred()) SWIG_fail
;
13249 if (arg1
) (arg1
)->m_altDown
= arg2
;
13251 Py_INCREF(Py_None
); resultobj
= Py_None
;
13258 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13269 result
= (bool) ((arg1
)->m_altDown
);
13271 resultobj
= PyInt_FromLong((long)result
);
13278 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self",(char *) "m_metaDown", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13290 arg2
= PyInt_AsLong(obj1
) ? true : false;
13291 if (PyErr_Occurred()) SWIG_fail
;
13292 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13312 result
= (bool) ((arg1
)->m_metaDown
);
13314 resultobj
= PyInt_FromLong((long)result
);
13321 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "m_wheelRotation", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13332 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13352 result
= (int) ((arg1
)->m_wheelRotation
);
13354 resultobj
= PyInt_FromLong((long)result
);
13361 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "m_wheelDelta", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13381 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 result
= (int) ((arg1
)->m_wheelDelta
);
13394 resultobj
= PyInt_FromLong((long)result
);
13401 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self",(char *) "m_linesPerAction", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13414 Py_INCREF(Py_None
); resultobj
= Py_None
;
13421 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 result
= (int) ((arg1
)->m_linesPerAction
);
13434 resultobj
= PyInt_FromLong((long)result
);
13441 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13444 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13446 return Py_BuildValue((char *)"");
13448 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 int arg1
= (int) 0 ;
13451 int arg2
= (int) 0 ;
13452 wxSetCursorEvent
*result
;
13453 char *kwnames
[] = {
13454 (char *) "x",(char *) "y", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13472 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= PyInt_FromLong((long)result
);
13497 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= PyInt_FromLong((long)result
);
13522 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13525 wxCursor
*arg2
= 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "cursor", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13535 if (arg2
== NULL
) {
13536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 Py_INCREF(Py_None
); resultobj
= Py_None
;
13552 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13567 result
= (wxCursor
*) &_result_ref
;
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13580 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= PyInt_FromLong((long)result
);
13605 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13610 return Py_BuildValue((char *)"");
13612 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13615 wxKeyEvent
*result
;
13616 char *kwnames
[] = {
13617 (char *) "keyType", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13635 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "self", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= PyInt_FromLong((long)result
);
13660 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= PyInt_FromLong((long)result
);
13685 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= PyInt_FromLong((long)result
);
13710 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= PyInt_FromLong((long)result
);
13735 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= PyInt_FromLong((long)result
);
13760 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= PyInt_FromLong((long)result
);
13785 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= PyInt_FromLong((long)result
);
13810 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13813 unsigned int result
;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= PyInt_FromLong((long)result
);
13835 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13838 unsigned int result
;
13839 PyObject
* obj0
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= PyInt_FromLong((long)result
);
13860 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (arg1
)->GetPosition();
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13879 wxPoint
* resultptr
;
13880 resultptr
= new wxPoint((wxPoint
&) result
);
13881 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13889 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13892 long *arg2
= (long *) 0 ;
13893 long *arg3
= (long *) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->GetPosition(arg2
,arg3
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13914 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13915 resultobj
= t_output_helper(resultobj
,o
);
13918 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13919 resultobj
= t_output_helper(resultobj
,o
);
13927 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= PyInt_FromLong((long)result
);
13952 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "self", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= PyInt_FromLong((long)result
);
13977 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13981 PyObject
* obj0
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "m_x", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13988 if (arg1
) (arg1
)->m_x
= arg2
;
13990 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 result
= (int) ((arg1
)->m_x
);
14010 resultobj
= PyInt_FromLong((long)result
);
14017 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "m_y", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14028 if (arg1
) (arg1
)->m_y
= arg2
;
14030 Py_INCREF(Py_None
); resultobj
= Py_None
;
14037 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14048 result
= (int) ((arg1
)->m_y
);
14050 resultobj
= PyInt_FromLong((long)result
);
14057 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14061 PyObject
* obj0
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "m_keyCode", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 if (arg1
) (arg1
)->m_keyCode
= arg2
;
14070 Py_INCREF(Py_None
); resultobj
= Py_None
;
14077 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14088 result
= (long) ((arg1
)->m_keyCode
);
14090 resultobj
= PyInt_FromLong((long)result
);
14097 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "m_controlDown", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 arg2
= PyInt_AsLong(obj1
) ? true : false;
14110 if (PyErr_Occurred()) SWIG_fail
;
14111 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14131 result
= (bool) ((arg1
)->m_controlDown
);
14133 resultobj
= PyInt_FromLong((long)result
);
14140 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self",(char *) "m_shiftDown", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14152 arg2
= PyInt_AsLong(obj1
) ? true : false;
14153 if (PyErr_Occurred()) SWIG_fail
;
14154 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14163 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14174 result
= (bool) ((arg1
)->m_shiftDown
);
14176 resultobj
= PyInt_FromLong((long)result
);
14183 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "m_altDown", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14195 arg2
= PyInt_AsLong(obj1
) ? true : false;
14196 if (PyErr_Occurred()) SWIG_fail
;
14197 if (arg1
) (arg1
)->m_altDown
= arg2
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14217 result
= (bool) ((arg1
)->m_altDown
);
14219 resultobj
= PyInt_FromLong((long)result
);
14226 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "m_metaDown", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14238 arg2
= PyInt_AsLong(obj1
) ? true : false;
14239 if (PyErr_Occurred()) SWIG_fail
;
14240 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14260 result
= (bool) ((arg1
)->m_metaDown
);
14262 resultobj
= PyInt_FromLong((long)result
);
14269 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "m_scanCode", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14281 arg2
= PyInt_AsLong(obj1
) ? true : false;
14282 if (PyErr_Occurred()) SWIG_fail
;
14283 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14303 result
= (bool) ((arg1
)->m_scanCode
);
14305 resultobj
= PyInt_FromLong((long)result
);
14312 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14315 unsigned int arg2
;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self",(char *) "m_rawCode", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14324 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14326 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14328 Py_INCREF(Py_None
); resultobj
= Py_None
;
14335 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14338 unsigned int result
;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14346 result
= (unsigned int) ((arg1
)->m_rawCode
);
14348 resultobj
= PyInt_FromLong((long)result
);
14355 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14358 unsigned int arg2
;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "m_rawFlags", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14367 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14369 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14371 Py_INCREF(Py_None
); resultobj
= Py_None
;
14378 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14381 unsigned int result
;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14389 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14391 resultobj
= PyInt_FromLong((long)result
);
14398 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14401 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14403 return Py_BuildValue((char *)"");
14405 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14408 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14409 int arg2
= (int) 0 ;
14410 wxSizeEvent
*result
;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "sz",(char *) "winid", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14421 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14438 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 wxSize
* resultptr
;
14458 resultptr
= new wxSize((wxSize
&) result
);
14459 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14467 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 wxRect
* resultptr
;
14487 resultptr
= new wxRect((wxRect
&) result
);
14488 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14496 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "rect", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14509 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->SetRect(arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 PyObject
* obj1
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self",(char *) "size", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14538 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 wxSizeEvent_SetSize(arg1
,arg2
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14554 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14557 wxSize
*arg2
= (wxSize
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 PyObject
* obj1
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self",(char *) "m_size", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14567 if (arg1
) (arg1
)->m_size
= *arg2
;
14569 Py_INCREF(Py_None
); resultobj
= Py_None
;
14576 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 result
= (wxSize
*)& ((arg1
)->m_size
);
14589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14596 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14599 wxRect
*arg2
= (wxRect
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self",(char *) "m_rect", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14609 if (arg1
) (arg1
)->m_rect
= *arg2
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14629 result
= (wxRect
*)& ((arg1
)->m_rect
);
14631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14638 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14641 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14643 return Py_BuildValue((char *)"");
14645 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14648 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14649 int arg2
= (int) 0 ;
14650 wxMoveEvent
*result
;
14652 PyObject
* obj0
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "pos",(char *) "winid", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14661 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14678 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 wxPoint
* resultptr
;
14698 resultptr
= new wxPoint((wxPoint
&) result
);
14699 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14707 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 wxRect
* resultptr
;
14727 resultptr
= new wxRect((wxRect
&) result
);
14728 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14736 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "rect", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14749 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->SetRect(arg2
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14765 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self",(char *) "pos", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14778 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 wxMoveEvent_SetPosition(arg1
,arg2
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 Py_INCREF(Py_None
); resultobj
= Py_None
;
14794 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14797 wxPoint
*arg2
= (wxPoint
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "m_pos", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14807 if (arg1
) (arg1
)->m_pos
= *arg2
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14827 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14836 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14839 wxRect
*arg2
= (wxRect
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self",(char *) "m_rect", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14849 if (arg1
) (arg1
)->m_rect
= *arg2
;
14851 Py_INCREF(Py_None
); resultobj
= Py_None
;
14858 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14869 result
= (wxRect
*)& ((arg1
)->m_rect
);
14871 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14878 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14881 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14883 return Py_BuildValue((char *)"");
14885 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 int arg1
= (int) 0 ;
14888 wxPaintEvent
*result
;
14889 char *kwnames
[] = {
14890 (char *) "Id", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14908 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14911 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14913 return Py_BuildValue((char *)"");
14915 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 int arg1
= (int) 0 ;
14918 wxNcPaintEvent
*result
;
14919 char *kwnames
[] = {
14920 (char *) "winid", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14938 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14941 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14943 return Py_BuildValue((char *)"");
14945 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 int arg1
= (int) 0 ;
14948 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14949 wxEraseEvent
*result
;
14950 PyObject
* obj1
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "Id",(char *) "dc", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14973 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= wxPyMake_wxObject(result
);
15000 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15003 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
15005 return Py_BuildValue((char *)"");
15007 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15010 int arg2
= (int) 0 ;
15011 wxFocusEvent
*result
;
15012 char *kwnames
[] = {
15013 (char *) "type",(char *) "winid", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
15031 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= wxPyMake_wxObject(result
);
15058 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15061 wxWindow
*arg2
= (wxWindow
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "win", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 (arg1
)->SetWindow(arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15088 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
15090 return Py_BuildValue((char *)"");
15092 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxWindow
*arg1
= (wxWindow
*) NULL
;
15095 wxChildFocusEvent
*result
;
15096 PyObject
* obj0
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "win", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
15119 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= wxPyMake_wxObject(result
);
15146 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15149 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15151 return Py_BuildValue((char *)"");
15153 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15156 bool arg2
= (bool) True
;
15157 int arg3
= (int) 0 ;
15158 wxActivateEvent
*result
;
15159 PyObject
* obj1
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "type",(char *) "active",(char *) "Id", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15166 arg2
= PyInt_AsLong(obj1
) ? true : false;
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15183 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= PyInt_FromLong((long)result
);
15208 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15213 return Py_BuildValue((char *)"");
15215 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 int arg1
= (int) 0 ;
15218 wxInitDialogEvent
*result
;
15219 char *kwnames
[] = {
15220 (char *) "Id", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15238 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15241 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15243 return Py_BuildValue((char *)"");
15245 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15248 int arg2
= (int) 0 ;
15249 wxMenu
*arg3
= (wxMenu
*) NULL
;
15250 wxMenuEvent
*result
;
15251 PyObject
* obj2
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "type",(char *) "winid",(char *) "menu", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15274 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= PyInt_FromLong((long)result
);
15299 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= PyInt_FromLong((long)result
);
15324 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= wxPyMake_wxObject(result
);
15351 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15354 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15356 return Py_BuildValue((char *)"");
15358 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15361 int arg2
= (int) 0 ;
15362 wxCloseEvent
*result
;
15363 char *kwnames
[] = {
15364 (char *) "type",(char *) "winid", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15382 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "logOff", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15394 arg2
= PyInt_AsLong(obj1
) ? true : false;
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 (arg1
)->SetLoggingOff(arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 Py_INCREF(Py_None
); resultobj
= Py_None
;
15410 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= PyInt_FromLong((long)result
);
15435 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15438 bool arg2
= (bool) True
;
15439 PyObject
* obj0
= 0 ;
15440 PyObject
* obj1
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self",(char *) "veto", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15448 arg2
= PyInt_AsLong(obj1
) ? true : false;
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->Veto(arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "canVeto", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15477 arg2
= PyInt_AsLong(obj1
) ? true : false;
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->SetCanVeto(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= PyInt_FromLong((long)result
);
15518 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= PyInt_FromLong((long)result
);
15543 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15546 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15548 return Py_BuildValue((char *)"");
15550 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 int arg1
= (int) 0 ;
15553 bool arg2
= (bool) False
;
15554 wxShowEvent
*result
;
15555 PyObject
* obj1
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "winid",(char *) "show", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15562 arg2
= PyInt_AsLong(obj1
) ? true : false;
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15579 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "show", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15591 arg2
= PyInt_AsLong(obj1
) ? true : false;
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SetShow(arg2
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15607 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= PyInt_FromLong((long)result
);
15632 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15635 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15637 return Py_BuildValue((char *)"");
15639 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 int arg1
= (int) 0 ;
15642 bool arg2
= (bool) True
;
15643 wxIconizeEvent
*result
;
15644 PyObject
* obj1
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "id",(char *) "iconized", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15651 arg2
= PyInt_AsLong(obj1
) ? true : false;
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15668 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (bool)(arg1
)->Iconized();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= PyInt_FromLong((long)result
);
15693 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15696 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15698 return Py_BuildValue((char *)"");
15700 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 int arg1
= (int) 0 ;
15703 wxMaximizeEvent
*result
;
15704 char *kwnames
[] = {
15705 (char *) "id", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15723 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15726 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15728 return Py_BuildValue((char *)"");
15730 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (arg1
)->GetPosition();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 wxPoint
* resultptr
;
15750 resultptr
= new wxPoint((wxPoint
&) result
);
15751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15759 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (int)(arg1
)->GetNumberOfFiles();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= PyInt_FromLong((long)result
);
15784 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
;
15809 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15814 return Py_BuildValue((char *)"");
15816 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 int arg1
= (int) 0 ;
15819 wxUpdateUIEvent
*result
;
15820 char *kwnames
[] = {
15821 (char *) "commandId", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15839 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= PyInt_FromLong((long)result
);
15864 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= PyInt_FromLong((long)result
);
15889 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15920 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= PyInt_FromLong((long)result
);
15945 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= PyInt_FromLong((long)result
);
15970 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= PyInt_FromLong((long)result
);
15995 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "check", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16007 arg2
= PyInt_AsLong(obj1
) ? true : false;
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->Check(arg2
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 Py_INCREF(Py_None
); resultobj
= Py_None
;
16023 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "enable", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16035 arg2
= PyInt_AsLong(obj1
) ? true : false;
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 (arg1
)->Enable(arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 Py_INCREF(Py_None
); resultobj
= Py_None
;
16051 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16054 wxString
*arg2
= 0 ;
16055 bool temp2
= False
;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "text", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16065 arg2
= wxString_in_helper(obj1
);
16066 if (arg2
== NULL
) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->SetText((wxString
const &)*arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16094 char *kwnames
[] = {
16095 (char *) "updateInterval", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 wxUpdateUIEvent::SetUpdateInterval(arg1
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 Py_INCREF(Py_None
); resultobj
= Py_None
;
16113 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16116 char *kwnames
[] = {
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= PyInt_FromLong((long)result
);
16135 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxWindow
*arg1
= (wxWindow
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "win", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= PyInt_FromLong((long)result
);
16160 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 char *kwnames
[] = {
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 wxUpdateUIEvent::ResetUpdateTime();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16184 char *kwnames
[] = {
16185 (char *) "mode", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 Py_INCREF(Py_None
); resultobj
= Py_None
;
16203 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16206 char *kwnames
[] = {
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (int)wxUpdateUIEvent::GetMode();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= PyInt_FromLong((long)result
);
16225 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16228 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16230 return Py_BuildValue((char *)"");
16232 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxSysColourChangedEvent
*result
;
16235 char *kwnames
[] = {
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16254 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16257 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16259 return Py_BuildValue((char *)"");
16261 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 int arg1
= (int) 0 ;
16264 wxWindow
*arg2
= (wxWindow
*) NULL
;
16265 wxMouseCaptureChangedEvent
*result
;
16266 PyObject
* obj1
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "winid",(char *) "gainedCapture", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16289 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= wxPyMake_wxObject(result
);
16316 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16319 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16321 return Py_BuildValue((char *)"");
16323 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxDisplayChangedEvent
*result
;
16326 char *kwnames
[] = {
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16345 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16348 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16350 return Py_BuildValue((char *)"");
16352 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 int arg1
= (int) 0 ;
16355 wxPaletteChangedEvent
*result
;
16356 char *kwnames
[] = {
16357 (char *) "id", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16375 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16378 wxWindow
*arg2
= (wxWindow
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "win", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 (arg1
)->SetChangedWindow(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= wxPyMake_wxObject(result
);
16429 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16432 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16434 return Py_BuildValue((char *)"");
16436 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 int arg1
= (int) 0 ;
16439 wxQueryNewPaletteEvent
*result
;
16440 char *kwnames
[] = {
16441 (char *) "winid", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16459 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "realized", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16471 arg2
= PyInt_AsLong(obj1
) ? true : false;
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->SetPaletteRealized(arg2
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyInt_FromLong((long)result
);
16512 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16515 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16517 return Py_BuildValue((char *)"");
16519 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxNavigationKeyEvent
*result
;
16522 char *kwnames
[] = {
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16541 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= PyInt_FromLong((long)result
);
16566 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "bForward", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16578 arg2
= PyInt_AsLong(obj1
) ? true : false;
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 (arg1
)->SetDirection(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 Py_INCREF(Py_None
); resultobj
= Py_None
;
16594 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= PyInt_FromLong((long)result
);
16619 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "bIs", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16631 arg2
= PyInt_AsLong(obj1
) ? true : false;
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 (arg1
)->SetWindowChange(arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 Py_INCREF(Py_None
); resultobj
= Py_None
;
16647 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= wxPyMake_wxObject(result
);
16674 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16677 wxWindow
*arg2
= (wxWindow
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self",(char *) "win", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->SetCurrentFocus(arg2
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16704 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16706 return Py_BuildValue((char *)"");
16708 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxWindow
*arg1
= (wxWindow
*) NULL
;
16711 wxWindowCreateEvent
*result
;
16712 PyObject
* obj0
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "win", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16735 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= wxPyMake_wxObject(result
);
16762 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16765 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16767 return Py_BuildValue((char *)"");
16769 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxWindow
*arg1
= (wxWindow
*) NULL
;
16772 wxWindowDestroyEvent
*result
;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "win", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16796 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= wxPyMake_wxObject(result
);
16823 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16826 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16828 return Py_BuildValue((char *)"");
16830 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16833 int arg2
= (int) 0 ;
16834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16836 wxContextMenuEvent
*result
;
16838 PyObject
* obj2
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "type",(char *) "winid",(char *) "pt", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16864 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16879 result
= (wxPoint
*) &_result_ref
;
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16892 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16895 wxPoint
*arg2
= 0 ;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self",(char *) "pos", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 Py_INCREF(Py_None
); resultobj
= Py_None
;
16923 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16926 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16928 return Py_BuildValue((char *)"");
16930 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxIdleEvent
*result
;
16933 char *kwnames
[] = {
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (wxIdleEvent
*)new wxIdleEvent();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16952 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16955 bool arg2
= (bool) True
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self",(char *) "needMore", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16965 arg2
= PyInt_AsLong(obj1
) ? true : false;
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 (arg1
)->RequestMore(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= PyInt_FromLong((long)result
);
17007 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17010 char *kwnames
[] = {
17011 (char *) "mode", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 Py_INCREF(Py_None
); resultobj
= Py_None
;
17029 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17032 char *kwnames
[] = {
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (int)wxIdleEvent::GetMode();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= PyInt_FromLong((long)result
);
17051 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxWindow
*arg1
= (wxWindow
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "win", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)wxIdleEvent::CanSend(arg1
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= PyInt_FromLong((long)result
);
17076 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
17081 return Py_BuildValue((char *)"");
17083 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 int arg1
= (int) 0 ;
17086 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
17088 char *kwnames
[] = {
17089 (char *) "winid",(char *) "commandType", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
17107 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 Py_INCREF(Py_None
); resultobj
= Py_None
;
17131 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17134 PyObject
*arg2
= (PyObject
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self",(char *) "self", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->SetSelf(arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (PyObject
*)(arg1
)->GetSelf();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= result
;
17183 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17186 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17188 return Py_BuildValue((char *)"");
17190 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17193 int arg2
= (int) 0 ;
17194 wxPyCommandEvent
*result
;
17195 char *kwnames
[] = {
17196 (char *) "commandType",(char *) "id", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17214 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 Py_INCREF(Py_None
); resultobj
= Py_None
;
17238 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17241 PyObject
*arg2
= (PyObject
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self",(char *) "self", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 (arg1
)->SetSelf(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 Py_INCREF(Py_None
); resultobj
= Py_None
;
17265 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (PyObject
*)(arg1
)->GetSelf();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= result
;
17290 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17293 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17295 return Py_BuildValue((char *)"");
17297 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17300 char *kwnames
[] = {
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxPyApp
*)new_wxPyApp();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= wxPyMake_wxObject(result
);
17321 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17348 PyObject
*arg2
= (PyObject
*) 0 ;
17349 PyObject
*arg3
= (PyObject
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self",(char *) "self",(char *) "_class", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 Py_INCREF(Py_None
); resultobj
= Py_None
;
17375 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17406 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17409 wxString
*arg2
= 0 ;
17410 bool temp2
= False
;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "name", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 arg2
= wxString_in_helper(obj1
);
17421 if (arg2
== NULL
) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->SetAppName((wxString
const &)*arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17477 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17480 wxString
*arg2
= 0 ;
17481 bool temp2
= False
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self",(char *) "name", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 arg2
= wxString_in_helper(obj1
);
17492 if (arg2
== NULL
) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 (arg1
)->SetClassName((wxString
const &)*arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 Py_INCREF(Py_None
); resultobj
= Py_None
;
17517 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17521 PyObject
* obj0
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17532 result
= (wxString
*) &_result_ref
;
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17551 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17554 wxString
*arg2
= 0 ;
17555 bool temp2
= False
;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "name", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 arg2
= wxString_in_helper(obj1
);
17566 if (arg2
== NULL
) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17594 wxAppTraits
*result
;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17616 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17619 PyObject
* obj0
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "self", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->ProcessPendingEvents();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17643 bool arg2
= (bool) False
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "onlyIfNeeded", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17654 arg2
= PyInt_AsLong(obj1
) ? true : false;
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (bool)(arg1
)->Yield(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= PyInt_FromLong((long)result
);
17671 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 (arg1
)->WakeUpIdle();
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17695 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (int)(arg1
)->MainLoop();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= PyInt_FromLong((long)result
);
17720 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->ExitMainLoop();
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 Py_INCREF(Py_None
); resultobj
= Py_None
;
17768 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (bool)(arg1
)->Pending();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= PyInt_FromLong((long)result
);
17793 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (bool)(arg1
)->Dispatch();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= PyInt_FromLong((long)result
);
17818 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (bool)(arg1
)->ProcessIdle();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= PyInt_FromLong((long)result
);
17843 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17846 wxWindow
*arg2
= (wxWindow
*) 0 ;
17847 wxIdleEvent
*arg3
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "win",(char *) "event", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17859 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17860 if (arg3
== NULL
) {
17861 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= PyInt_FromLong((long)result
);
17877 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= PyInt_FromLong((long)result
);
17902 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17905 wxWindow
*arg2
= (wxWindow
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "win", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetTopWindow(arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= wxPyMake_wxObject(result
);
17956 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self",(char *) "flag", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17968 arg2
= PyInt_AsLong(obj1
) ? true : false;
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetExitOnFrameDelete(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= PyInt_FromLong((long)result
);
18009 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "flag", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18021 arg2
= PyInt_AsLong(obj1
) ? true : false;
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetUseBestVisual(arg2
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= PyInt_FromLong((long)result
);
18062 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "mode", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetPrintMode(arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyInt_FromLong((long)result
);
18112 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "mode", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->SetAssertMode(arg2
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)(arg1
)->GetAssertMode();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= PyInt_FromLong((long)result
);
18162 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18165 char *kwnames
[] = {
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= PyInt_FromLong((long)result
);
18184 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18187 char *kwnames
[] = {
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= PyInt_FromLong((long)result
);
18206 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18209 char *kwnames
[] = {
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= PyInt_FromLong((long)result
);
18228 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18231 char *kwnames
[] = {
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (long)wxPyApp::GetMacExitMenuItemId();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= PyInt_FromLong((long)result
);
18250 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18253 char *kwnames
[] = {
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= wxPyApp::GetMacHelpMenuTitleName();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18278 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "val", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18287 arg1
= PyInt_AsLong(obj0
) ? true : false;
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 Py_INCREF(Py_None
); resultobj
= Py_None
;
18303 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18306 char *kwnames
[] = {
18307 (char *) "val", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 wxPyApp::SetMacAboutMenuItemId(arg1
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 Py_INCREF(Py_None
); resultobj
= Py_None
;
18325 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18328 char *kwnames
[] = {
18329 (char *) "val", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18350 char *kwnames
[] = {
18351 (char *) "val", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 wxPyApp::SetMacExitMenuItemId(arg1
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxString
*arg1
= 0 ;
18372 bool temp1
= False
;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "val", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18380 arg1
= wxString_in_helper(obj0
);
18381 if (arg1
== NULL
) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 Py_INCREF(Py_None
); resultobj
= Py_None
;
18406 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->_BootstrapApp();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18433 char *kwnames
[] = {
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (int)PyApp_GetComCtl32Version();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= PyInt_FromLong((long)result
);
18452 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18455 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18457 return Py_BuildValue((char *)"");
18459 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 char *kwnames
[] = {
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18483 char *kwnames
[] = {
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (bool)wxYield();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= PyInt_FromLong((long)result
);
18502 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18505 char *kwnames
[] = {
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)wxYieldIfNeeded();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= PyInt_FromLong((long)result
);
18524 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxWindow
*arg1
= (wxWindow
*) NULL
;
18527 bool arg2
= (bool) False
;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "win",(char *) "onlyIfNeeded", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18540 arg2
= PyInt_AsLong(obj1
) ? true : false;
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (bool)wxSafeYield(arg1
,arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= PyInt_FromLong((long)result
);
18557 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 char *kwnames
[] = {
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 Py_INCREF(Py_None
); resultobj
= Py_None
;
18578 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18581 wxEvent
*arg2
= 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "dest",(char *) "event", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 if (arg2
== NULL
) {
18592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 wxPostEvent(arg1
,*arg2
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 char *kwnames
[] = {
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18632 char *kwnames
[] = {
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxPyApp
*)wxGetApp();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= wxPyMake_wxObject(result
);
18653 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 int arg1
= (int) 0 ;
18656 int arg2
= (int) 0 ;
18657 int arg3
= (int) 0 ;
18658 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18659 wxAcceleratorEntry
*result
;
18660 PyObject
* obj3
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
18683 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18713 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj4
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18723 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 Py_INCREF(Py_None
); resultobj
= Py_None
;
18739 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18742 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "item", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetMenuItem(arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18769 wxMenuItem
*result
;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= wxPyMake_wxObject(result
);
18793 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (int)(arg1
)->GetFlags();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= PyInt_FromLong((long)result
);
18818 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (int)(arg1
)->GetKeyCode();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= PyInt_FromLong((long)result
);
18843 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (int)(arg1
)->GetCommand();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= PyInt_FromLong((long)result
);
18868 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
18870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18871 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
18873 return Py_BuildValue((char *)"");
18875 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18878 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
18879 wxAcceleratorTable
*result
;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18887 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
18888 if (arg2
) arg1
= PyList_Size(obj0
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
18911 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 Py_INCREF(Py_None
); resultobj
= Py_None
;
18935 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= PyInt_FromLong((long)result
);
18960 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
18962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18963 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
18965 return Py_BuildValue((char *)"");
18967 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
18968 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
18973 static PyObject
*_wrap_NullAcceleratorTable_get() {
18976 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
18981 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxString
*arg1
= 0 ;
18984 wxAcceleratorEntry
*result
;
18985 bool temp1
= False
;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "label", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
18993 arg1
= wxString_in_helper(obj0
);
18994 if (arg1
== NULL
) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
19019 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
19020 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
19025 static PyObject
*_wrap_PanelNameStr_get() {
19030 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19032 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19039 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxWindow
*arg1
= (wxWindow
*) 0 ;
19043 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19044 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19045 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19046 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19047 long arg5
= (long) 0 ;
19048 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19049 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19053 bool temp6
= False
;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj2
= 0 ;
19056 PyObject
* obj3
= 0 ;
19057 PyObject
* obj5
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19073 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19078 arg6
= wxString_in_helper(obj5
);
19079 if (arg6
== NULL
) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= wxPyMake_wxObject(result
);
19107 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19110 char *kwnames
[] = {
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxWindow
*)new wxWindow();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= wxPyMake_wxObject(result
);
19131 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxWindow
*arg1
= (wxWindow
*) 0 ;
19134 wxWindow
*arg2
= (wxWindow
*) 0 ;
19136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19140 long arg6
= (long) 0 ;
19141 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19146 bool temp7
= False
;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj3
= 0 ;
19150 PyObject
* obj4
= 0 ;
19151 PyObject
* obj6
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19173 arg7
= wxString_in_helper(obj6
);
19174 if (arg7
== NULL
) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= PyInt_FromLong((long)result
);
19200 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxWindow
*arg1
= (wxWindow
*) 0 ;
19203 bool arg2
= (bool) False
;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self",(char *) "force", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19214 arg2
= PyInt_AsLong(obj1
) ? true : false;
19215 if (PyErr_Occurred()) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (bool)(arg1
)->Close(arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= PyInt_FromLong((long)result
);
19231 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxWindow
*arg1
= (wxWindow
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (bool)(arg1
)->Destroy();
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= PyInt_FromLong((long)result
);
19256 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxWindow
*arg1
= (wxWindow
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (bool)(arg1
)->DestroyChildren();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= PyInt_FromLong((long)result
);
19281 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxWindow
*arg1
= (wxWindow
*) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= PyInt_FromLong((long)result
);
19306 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxWindow
*arg1
= (wxWindow
*) 0 ;
19309 wxString
*arg2
= 0 ;
19310 bool temp2
= False
;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self",(char *) "title", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19320 arg2
= wxString_in_helper(obj1
);
19321 if (arg2
== NULL
) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 (arg1
)->SetTitle((wxString
const &)*arg2
);
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 Py_INCREF(Py_None
); resultobj
= Py_None
;
19346 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxWindow
*arg1
= (wxWindow
*) 0 ;
19350 PyObject
* obj0
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= ((wxWindow
const *)arg1
)->GetTitle();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19377 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxWindow
*arg1
= (wxWindow
*) 0 ;
19380 wxString
*arg2
= 0 ;
19381 bool temp2
= False
;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "label", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 arg2
= wxString_in_helper(obj1
);
19392 if (arg2
== NULL
) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetLabel((wxString
const &)*arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxWindow
*arg1
= (wxWindow
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= ((wxWindow
const *)arg1
)->GetLabel();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19448 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxWindow
*arg1
= (wxWindow
*) 0 ;
19451 wxString
*arg2
= 0 ;
19452 bool temp2
= False
;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "name", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19462 arg2
= wxString_in_helper(obj1
);
19463 if (arg2
== NULL
) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetName((wxString
const &)*arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxWindow
*arg1
= (wxWindow
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= ((wxWindow
const *)arg1
)->GetName();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19519 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxWindow
*arg1
= (wxWindow
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "winid", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->SetId(arg2
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 Py_INCREF(Py_None
); resultobj
= Py_None
;
19544 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxWindow
*arg1
= (wxWindow
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (int)((wxWindow
const *)arg1
)->GetId();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= PyInt_FromLong((long)result
);
19569 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19572 char *kwnames
[] = {
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (int)wxWindow::NewControlId();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= PyInt_FromLong((long)result
);
19591 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19595 char *kwnames
[] = {
19596 (char *) "winid", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (int)wxWindow::NextControlId(arg1
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= PyInt_FromLong((long)result
);
19614 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19618 char *kwnames
[] = {
19619 (char *) "winid", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (int)wxWindow::PrevControlId(arg1
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= PyInt_FromLong((long)result
);
19637 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxWindow
*arg1
= (wxWindow
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "size", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19652 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetSize((wxSize
const &)*arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxWindow
*arg1
= (wxWindow
*) 0 ;
19675 int arg6
= (int) wxSIZE_AUTO
;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxWindow
*arg1
= (wxWindow
*) 0 ;
19701 int arg3
= (int) wxSIZE_AUTO
;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxWindow
*arg1
= (wxWindow
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self",(char *) "width",(char *) "height", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 (arg1
)->SetSize(arg2
,arg3
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 Py_INCREF(Py_None
); resultobj
= Py_None
;
19755 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxWindow
*arg1
= (wxWindow
*) 0 ;
19758 wxPoint
*arg2
= 0 ;
19759 int arg3
= (int) wxSIZE_USE_EXISTING
;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self",(char *) "pt",(char *) "flags", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 Py_INCREF(Py_None
); resultobj
= Py_None
;
19787 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxWindow
*arg1
= (wxWindow
*) 0 ;
19792 int arg4
= (int) wxSIZE_USE_EXISTING
;
19793 PyObject
* obj0
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 (arg1
)->Move(arg2
,arg3
,arg4
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 Py_INCREF(Py_None
); resultobj
= Py_None
;
19814 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxWindow
*arg1
= (wxWindow
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 Py_INCREF(Py_None
); resultobj
= Py_None
;
19838 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxWindow
*arg1
= (wxWindow
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxWindow
*arg1
= (wxWindow
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "size", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 Py_INCREF(Py_None
); resultobj
= Py_None
;
19893 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxWindow
*arg1
= (wxWindow
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "width",(char *) "height", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->SetClientSize(arg2
,arg3
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 Py_INCREF(Py_None
); resultobj
= Py_None
;
19919 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19921 wxWindow
*arg1
= (wxWindow
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self",(char *) "rect", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 Py_INCREF(Py_None
); resultobj
= Py_None
;
19950 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxWindow
*arg1
= (wxWindow
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (arg1
)->GetPosition();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19969 wxPoint
* resultptr
;
19970 resultptr
= new wxPoint((wxPoint
&) result
);
19971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19979 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxWindow
*arg1
= (wxWindow
*) 0 ;
19982 int *arg2
= (int *) 0 ;
19983 int *arg3
= (int *) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 (arg1
)->GetPosition(arg2
,arg3
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20004 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20005 resultobj
= t_output_helper(resultobj
,o
);
20008 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20009 resultobj
= t_output_helper(resultobj
,o
);
20017 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxWindow
*arg1
= (wxWindow
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= ((wxWindow
const *)arg1
)->GetSize();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 wxSize
* resultptr
;
20037 resultptr
= new wxSize((wxSize
&) result
);
20038 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20046 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxWindow
*arg1
= (wxWindow
*) 0 ;
20049 int *arg2
= (int *) 0 ;
20050 int *arg3
= (int *) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20072 resultobj
= t_output_helper(resultobj
,o
);
20075 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20076 resultobj
= t_output_helper(resultobj
,o
);
20084 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxWindow
*arg1
= (wxWindow
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= ((wxWindow
const *)arg1
)->GetRect();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 wxRect
* resultptr
;
20104 resultptr
= new wxRect((wxRect
&) result
);
20105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20113 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxWindow
*arg1
= (wxWindow
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= ((wxWindow
const *)arg1
)->GetClientSize();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20132 wxSize
* resultptr
;
20133 resultptr
= new wxSize((wxSize
&) result
);
20134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20142 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxWindow
*arg1
= (wxWindow
*) 0 ;
20145 int *arg2
= (int *) 0 ;
20146 int *arg3
= (int *) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20167 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20168 resultobj
= t_output_helper(resultobj
,o
);
20171 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20172 resultobj
= t_output_helper(resultobj
,o
);
20180 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxWindow
*arg1
= (wxWindow
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20199 wxPoint
* resultptr
;
20200 resultptr
= new wxPoint((wxPoint
&) result
);
20201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20209 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxWindow
*arg1
= (wxWindow
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 wxRect
* resultptr
;
20229 resultptr
= new wxRect((wxRect
&) result
);
20230 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20238 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxWindow
*arg1
= (wxWindow
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20257 wxSize
* resultptr
;
20258 resultptr
= new wxSize((wxSize
&) result
);
20259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20267 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxWindow
*arg1
= (wxWindow
*) 0 ;
20270 int *arg2
= (int *) 0 ;
20271 int *arg3
= (int *) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 Py_INCREF(Py_None
); resultobj
= Py_None
;
20292 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20293 resultobj
= t_output_helper(resultobj
,o
);
20296 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20297 resultobj
= t_output_helper(resultobj
,o
);
20305 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxWindow
*arg1
= (wxWindow
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20324 wxSize
* resultptr
;
20325 resultptr
= new wxSize((wxSize
&) result
);
20326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20334 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxWindow
*arg1
= (wxWindow
*) 0 ;
20337 int arg2
= (int) wxBOTH
;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "direction", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->Center(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxWindow
*arg1
= (wxWindow
*) 0 ;
20362 int arg2
= (int) wxBOTH
;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self",(char *) "dir", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->CenterOnScreen(arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxWindow
*arg1
= (wxWindow
*) 0 ;
20387 int arg2
= (int) wxBOTH
;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "dir", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 (arg1
)->CenterOnParent(arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 Py_INCREF(Py_None
); resultobj
= Py_None
;
20409 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxWindow
*arg1
= (wxWindow
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxWindow
*arg1
= (wxWindow
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 (arg1
)->FitInside();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 Py_INCREF(Py_None
); resultobj
= Py_None
;
20457 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxWindow
*arg1
= (wxWindow
*) 0 ;
20462 int arg4
= (int) -1 ;
20463 int arg5
= (int) -1 ;
20464 int arg6
= (int) -1 ;
20465 int arg7
= (int) -1 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxWindow
*arg1
= (wxWindow
*) 0 ;
20492 int arg4
= (int) -1 ;
20493 int arg5
= (int) -1 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 Py_INCREF(Py_None
); resultobj
= Py_None
;
20515 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxWindow
*arg1
= (wxWindow
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= PyInt_FromLong((long)result
);
20540 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxWindow
*arg1
= (wxWindow
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= PyInt_FromLong((long)result
);
20565 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxWindow
*arg1
= (wxWindow
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= PyInt_FromLong((long)result
);
20590 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxWindow
*arg1
= (wxWindow
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= PyInt_FromLong((long)result
);
20615 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxWindow
*arg1
= (wxWindow
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 wxSize
* resultptr
;
20635 resultptr
= new wxSize((wxSize
&) result
);
20636 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20644 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxWindow
*arg1
= (wxWindow
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "size", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 Py_INCREF(Py_None
); resultobj
= Py_None
;
20675 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxWindow
*arg1
= (wxWindow
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "w",(char *) "h", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 (arg1
)->SetVirtualSize(arg2
,arg3
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 Py_INCREF(Py_None
); resultobj
= Py_None
;
20701 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxWindow
*arg1
= (wxWindow
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 wxSize
* resultptr
;
20721 resultptr
= new wxSize((wxSize
&) result
);
20722 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20730 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxWindow
*arg1
= (wxWindow
*) 0 ;
20733 int *arg2
= (int *) 0 ;
20734 int *arg3
= (int *) 0 ;
20737 PyObject
* obj0
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20756 resultobj
= t_output_helper(resultobj
,o
);
20759 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20760 resultobj
= t_output_helper(resultobj
,o
);
20768 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxWindow
*arg1
= (wxWindow
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20787 wxSize
* resultptr
;
20788 resultptr
= new wxSize((wxSize
&) result
);
20789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20797 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxWindow
*arg1
= (wxWindow
*) 0 ;
20800 bool arg2
= (bool) True
;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "show", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20811 arg2
= PyInt_AsLong(obj1
) ? true : false;
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (bool)(arg1
)->Show(arg2
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= PyInt_FromLong((long)result
);
20828 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxWindow
*arg1
= (wxWindow
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (bool)(arg1
)->Hide();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= PyInt_FromLong((long)result
);
20853 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxWindow
*arg1
= (wxWindow
*) 0 ;
20856 bool arg2
= (bool) True
;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self",(char *) "enable", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 arg2
= PyInt_AsLong(obj1
) ? true : false;
20868 if (PyErr_Occurred()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (bool)(arg1
)->Enable(arg2
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= PyInt_FromLong((long)result
);
20884 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxWindow
*arg1
= (wxWindow
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (bool)(arg1
)->Disable();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= PyInt_FromLong((long)result
);
20909 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxWindow
*arg1
= (wxWindow
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= PyInt_FromLong((long)result
);
20934 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxWindow
*arg1
= (wxWindow
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= PyInt_FromLong((long)result
);
20959 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20961 wxWindow
*arg1
= (wxWindow
*) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self",(char *) "style", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 (arg1
)->SetWindowStyleFlag(arg2
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 Py_INCREF(Py_None
); resultobj
= Py_None
;
20984 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxWindow
*arg1
= (wxWindow
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= PyInt_FromLong((long)result
);
21009 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxWindow
*arg1
= (wxWindow
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "style", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SetWindowStyle(arg2
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 Py_INCREF(Py_None
); resultobj
= Py_None
;
21034 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxWindow
*arg1
= (wxWindow
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= PyInt_FromLong((long)result
);
21059 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxWindow
*arg1
= (wxWindow
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "flag", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= PyInt_FromLong((long)result
);
21085 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21087 wxWindow
*arg1
= (wxWindow
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= PyInt_FromLong((long)result
);
21110 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxWindow
*arg1
= (wxWindow
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self",(char *) "exStyle", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 (arg1
)->SetExtraStyle(arg2
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxWindow
*arg1
= (wxWindow
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= PyInt_FromLong((long)result
);
21160 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxWindow
*arg1
= (wxWindow
*) 0 ;
21163 bool arg2
= (bool) True
;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "modal", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21173 arg2
= PyInt_AsLong(obj1
) ? true : false;
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->MakeModal(arg2
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxWindow
*arg1
= (wxWindow
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "enableTheme", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21202 arg2
= PyInt_AsLong(obj1
) ? true : false;
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 (arg1
)->SetThemeEnabled(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxWindow
*arg1
= (wxWindow
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= PyInt_FromLong((long)result
);
21243 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxWindow
*arg1
= (wxWindow
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= PyInt_FromLong((long)result
);
21268 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxWindow
*arg1
= (wxWindow
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 (arg1
)->SetFocus();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 Py_INCREF(Py_None
); resultobj
= Py_None
;
21292 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
;
21294 wxWindow
*arg1
= (wxWindow
*) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->SetFocusFromKbd();
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 Py_INCREF(Py_None
); resultobj
= Py_None
;
21316 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21319 char *kwnames
[] = {
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxWindow
*)wxWindow::FindFocus();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= wxPyMake_wxObject(result
);
21340 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxWindow
*arg1
= (wxWindow
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= PyInt_FromLong((long)result
);
21365 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxWindow
*arg1
= (wxWindow
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= PyInt_FromLong((long)result
);
21390 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxWindow
*arg1
= (wxWindow
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= wxPyMake_wxObject(result
);
21417 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxWindow
*arg1
= (wxWindow
*) 0 ;
21420 wxWindow
*arg2
= (wxWindow
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "child", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= wxPyMake_wxObject(result
);
21447 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindow
*arg1
= (wxWindow
*) 0 ;
21450 wxWindow
*arg2
= (wxWindow
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self",(char *) "win", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->SetTmpDefaultItem(arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 Py_INCREF(Py_None
); resultobj
= Py_None
;
21474 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxWindow
*arg1
= (wxWindow
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
;
21499 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxWindow
*arg1
= (wxWindow
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= wxPyMake_wxObject(result
);
21526 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxWindow
*arg1
= (wxWindow
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= wxPyMake_wxObject(result
);
21553 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxWindow
*arg1
= (wxWindow
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= PyInt_FromLong((long)result
);
21578 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxWindow
*arg1
= (wxWindow
*) 0 ;
21581 wxWindow
*arg2
= (wxWindow
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "newParent", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)(arg1
)->Reparent(arg2
);
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= PyInt_FromLong((long)result
);
21606 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxWindow
*arg1
= (wxWindow
*) 0 ;
21609 wxWindow
*arg2
= (wxWindow
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "child", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->AddChild(arg2
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxWindow
*arg1
= (wxWindow
*) 0 ;
21636 wxWindow
*arg2
= (wxWindow
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "child", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 (arg1
)->RemoveChild(arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 Py_INCREF(Py_None
); resultobj
= Py_None
;
21660 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxWindow
*arg1
= (wxWindow
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "winid", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= wxPyMake_wxObject(result
);
21688 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxWindow
*arg1
= (wxWindow
*) 0 ;
21691 wxString
*arg2
= 0 ;
21693 bool temp2
= False
;
21694 PyObject
* obj0
= 0 ;
21695 PyObject
* obj1
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "name", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21703 arg2
= wxString_in_helper(obj1
);
21704 if (arg2
== NULL
) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= wxPyMake_wxObject(result
);
21731 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxWindow
*arg1
= (wxWindow
*) 0 ;
21734 wxEvtHandler
*result
;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= wxPyMake_wxObject(result
);
21758 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxWindow
*arg1
= (wxWindow
*) 0 ;
21761 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "handler", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 (arg1
)->SetEventHandler(arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 Py_INCREF(Py_None
); resultobj
= Py_None
;
21785 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxWindow
*arg1
= (wxWindow
*) 0 ;
21788 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "handler", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 (arg1
)->PushEventHandler(arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxWindow
*arg1
= (wxWindow
*) 0 ;
21815 bool arg2
= (bool) False
;
21816 wxEvtHandler
*result
;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "deleteHandler", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21826 arg2
= PyInt_AsLong(obj1
) ? true : false;
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= wxPyMake_wxObject(result
);
21845 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxWindow
*arg1
= (wxWindow
*) 0 ;
21848 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "handler", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= PyInt_FromLong((long)result
);
21873 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxWindow
*arg1
= (wxWindow
*) 0 ;
21876 wxValidator
*arg2
= 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "validator", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21886 if (arg2
== NULL
) {
21887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21906 wxValidator
*result
;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (wxValidator
*)(arg1
)->GetValidator();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= wxPyMake_wxObject(result
);
21930 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxWindow
*arg1
= (wxWindow
*) 0 ;
21933 wxAcceleratorTable
*arg2
= 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "accel", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21943 if (arg2
== NULL
) {
21944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxWindow
*arg1
= (wxWindow
*) 0 ;
21963 wxAcceleratorTable
*result
;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21985 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxWindow
*arg1
= (wxWindow
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= PyInt_FromLong((long)result
);
22013 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxWindow
*arg1
= (wxWindow
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "hotkeyId", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= PyInt_FromLong((long)result
);
22039 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxWindow
*arg1
= (wxWindow
*) 0 ;
22042 wxPoint
*arg2
= 0 ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self",(char *) "pt", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22065 wxPoint
* resultptr
;
22066 resultptr
= new wxPoint((wxPoint
&) result
);
22067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22075 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxWindow
*arg1
= (wxWindow
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self",(char *) "sz", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 wxSize
* resultptr
;
22102 resultptr
= new wxSize((wxSize
&) result
);
22103 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22111 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22114 wxPoint
*arg2
= 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "pt", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 wxPoint
* resultptr
;
22138 resultptr
= new wxPoint((wxPoint
&) result
);
22139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22147 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxWindow
*arg1
= (wxWindow
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 PyObject
* obj1
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self",(char *) "sz", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22163 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 wxSize
* resultptr
;
22174 resultptr
= new wxSize((wxSize
&) result
);
22175 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22183 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxWindow
*arg1
= (wxWindow
*) 0 ;
22186 wxPoint
*arg2
= 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "pt", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 wxPoint
* resultptr
;
22210 resultptr
= new wxPoint((wxPoint
&) result
);
22211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22219 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxWindow
*arg1
= (wxWindow
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "sz", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22235 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 wxSize
* resultptr
;
22246 resultptr
= new wxSize((wxSize
&) result
);
22247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22255 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "x",(char *) "y", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 (arg1
)->WarpPointer(arg2
,arg3
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 Py_INCREF(Py_None
); resultobj
= Py_None
;
22281 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxWindow
*arg1
= (wxWindow
*) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 (arg1
)->CaptureMouse();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 Py_INCREF(Py_None
); resultobj
= Py_None
;
22305 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxWindow
*arg1
= (wxWindow
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->ReleaseMouse();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22332 char *kwnames
[] = {
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (wxWindow
*)wxWindow::GetCapture();
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= wxPyMake_wxObject(result
);
22353 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= PyInt_FromLong((long)result
);
22378 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxWindow
*arg1
= (wxWindow
*) 0 ;
22381 bool arg2
= (bool) True
;
22382 wxRect
*arg3
= (wxRect
*) NULL
;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 PyObject
* obj2
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22393 arg2
= PyInt_AsLong(obj1
) ? true : false;
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 Py_INCREF(Py_None
); resultobj
= Py_None
;
22413 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxWindow
*arg1
= (wxWindow
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self",(char *) "rect", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22428 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxWindow
*arg1
= (wxWindow
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 Py_INCREF(Py_None
); resultobj
= Py_None
;
22468 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxWindow
*arg1
= (wxWindow
*) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 (arg1
)->ClearBackground();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 Py_INCREF(Py_None
); resultobj
= Py_None
;
22492 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxWindow
*arg1
= (wxWindow
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 Py_INCREF(Py_None
); resultobj
= Py_None
;
22516 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxWindow
*arg1
= (wxWindow
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "dc", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 if (arg2
== NULL
) {
22554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 (arg1
)->PrepareDC(*arg2
);
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 Py_INCREF(Py_None
); resultobj
= Py_None
;
22570 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22585 result
= (wxRegion
*) &_result_ref
;
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22598 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 wxRect
* resultptr
;
22618 resultptr
= new wxRect((wxRect
&) result
);
22619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22627 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxWindow
*arg1
= (wxWindow
*) 0 ;
22632 int arg4
= (int) 1 ;
22633 int arg5
= (int) 1 ;
22635 PyObject
* obj0
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= PyInt_FromLong((long)result
);
22656 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxWindow
*arg1
= (wxWindow
*) 0 ;
22659 wxPoint
*arg2
= 0 ;
22662 PyObject
* obj0
= 0 ;
22663 PyObject
* obj1
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "self",(char *) "pt", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= PyInt_FromLong((long)result
);
22688 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxWindow
*arg1
= (wxWindow
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self",(char *) "rect", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= PyInt_FromLong((long)result
);
22720 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxWindow
*arg1
= (wxWindow
*) 0 ;
22723 wxColour
*arg2
= 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "colour", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= PyInt_FromLong((long)result
);
22752 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxWindow
*arg1
= (wxWindow
*) 0 ;
22755 wxColour
*arg2
= 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "colour", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= PyInt_FromLong((long)result
);
22784 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxWindow
*arg1
= (wxWindow
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22803 wxColour
* resultptr
;
22804 resultptr
= new wxColour((wxColour
&) result
);
22805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22813 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22832 wxColour
* resultptr
;
22833 resultptr
= new wxColour((wxColour
&) result
);
22834 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22842 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxWindow
*arg1
= (wxWindow
*) 0 ;
22845 wxCursor
*arg2
= 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "cursor", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22856 if (arg2
== NULL
) {
22857 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= PyInt_FromLong((long)result
);
22873 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxWindow
*arg1
= (wxWindow
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22888 result
= (wxCursor
*) &_result_ref
;
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22901 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxWindow
*arg1
= (wxWindow
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "font", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22915 if (arg2
== NULL
) {
22916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= PyInt_FromLong((long)result
);
22932 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxWindow
*arg1
= (wxWindow
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 wxFont
&_result_ref
= (arg1
)->GetFont();
22947 result
= (wxFont
*) &_result_ref
;
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22960 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22963 wxCaret
*arg2
= (wxCaret
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "caret", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 (arg1
)->SetCaret(arg2
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22987 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxWindow
*arg1
= (wxWindow
*) 0 ;
22991 PyObject
* obj0
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
23012 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxWindow
*arg1
= (wxWindow
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= PyInt_FromLong((long)result
);
23037 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxWindow
*arg1
= (wxWindow
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= PyInt_FromLong((long)result
);
23062 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxWindow
*arg1
= (wxWindow
*) 0 ;
23065 wxString
*arg2
= 0 ;
23066 int *arg3
= (int *) 0 ;
23067 int *arg4
= (int *) 0 ;
23068 bool temp2
= False
;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "string", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23082 arg2
= wxString_in_helper(obj1
);
23083 if (arg2
== NULL
) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 Py_INCREF(Py_None
); resultobj
= Py_None
;
23095 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23096 resultobj
= t_output_helper(resultobj
,o
);
23099 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23100 resultobj
= t_output_helper(resultobj
,o
);
23116 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxWindow
*arg1
= (wxWindow
*) 0 ;
23119 wxString
*arg2
= 0 ;
23120 int *arg3
= (int *) 0 ;
23121 int *arg4
= (int *) 0 ;
23122 int *arg5
= (int *) 0 ;
23123 int *arg6
= (int *) 0 ;
23124 wxFont
*arg7
= (wxFont
*) NULL
;
23125 bool temp2
= False
;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 PyObject
* obj2
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "string",(char *) "font", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23144 arg2
= wxString_in_helper(obj1
);
23145 if (arg2
== NULL
) SWIG_fail
;
23149 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23161 resultobj
= t_output_helper(resultobj
,o
);
23164 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23165 resultobj
= t_output_helper(resultobj
,o
);
23168 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23169 resultobj
= t_output_helper(resultobj
,o
);
23172 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23173 resultobj
= t_output_helper(resultobj
,o
);
23189 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxWindow
*arg1
= (wxWindow
*) 0 ;
23192 int *arg2
= (int *) 0 ;
23193 int *arg3
= (int *) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "x",(char *) "y", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23206 temp2
= PyInt_AsLong(obj1
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23211 temp3
= PyInt_AsLong(obj2
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23225 resultobj
= t_output_helper(resultobj
,o
);
23228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23229 resultobj
= t_output_helper(resultobj
,o
);
23237 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxWindow
*arg1
= (wxWindow
*) 0 ;
23240 int *arg2
= (int *) 0 ;
23241 int *arg3
= (int *) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "x",(char *) "y", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23254 temp2
= PyInt_AsLong(obj1
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23259 temp3
= PyInt_AsLong(obj2
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23272 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23273 resultobj
= t_output_helper(resultobj
,o
);
23276 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23277 resultobj
= t_output_helper(resultobj
,o
);
23285 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxWindow
*arg1
= (wxWindow
*) 0 ;
23288 wxPoint
*arg2
= 0 ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "pt", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23311 wxPoint
* resultptr
;
23312 resultptr
= new wxPoint((wxPoint
&) result
);
23313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23321 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxWindow
*arg1
= (wxWindow
*) 0 ;
23324 wxPoint
*arg2
= 0 ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "pt", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 wxPoint
* resultptr
;
23348 resultptr
= new wxPoint((wxPoint
&) result
);
23349 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23357 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 PyObject
* obj0
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "x",(char *) "y", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= PyInt_FromLong((long)result
);
23384 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxWindow
*arg1
= (wxWindow
*) 0 ;
23387 wxPoint
*arg2
= 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "pt", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= PyInt_FromLong((long)result
);
23416 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxWindow
*arg1
= (wxWindow
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "flags", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= PyInt_FromLong((long)result
);
23442 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxWindow
*arg1
= (wxWindow
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= PyInt_FromLong((long)result
);
23467 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 long arg2
= (long) wxUPDATE_UI_NONE
;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "flags", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 (arg1
)->UpdateWindowUI(arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 Py_INCREF(Py_None
); resultobj
= Py_None
;
23492 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxWindow
*arg1
= (wxWindow
*) 0 ;
23495 wxMenu
*arg2
= (wxMenu
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= PyInt_FromLong((long)result
);
23522 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 wxMenu
*arg2
= (wxMenu
*) 0 ;
23526 wxPoint
*arg3
= 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 PyObject
* obj2
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self",(char *) "menu",(char *) "pos", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= PyInt_FromLong((long)result
);
23557 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxWindow
*arg1
= (wxWindow
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (long)wxWindow_GetHandle(arg1
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= PyInt_FromLong((long)result
);
23582 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxWindow
*arg1
= (wxWindow
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self",(char *) "orient", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= PyInt_FromLong((long)result
);
23608 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxWindow
*arg1
= (wxWindow
*) 0 ;
23615 bool arg6
= (bool) True
;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj5
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23625 arg6
= PyInt_AsLong(obj5
) ? true : false;
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 Py_INCREF(Py_None
); resultobj
= Py_None
;
23642 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 bool arg4
= (bool) True
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj3
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23657 arg4
= PyInt_AsLong(obj3
) ? true : false;
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 Py_INCREF(Py_None
); resultobj
= Py_None
;
23674 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxWindow
*arg1
= (wxWindow
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self",(char *) "orient", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= PyInt_FromLong((long)result
);
23700 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxWindow
*arg1
= (wxWindow
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self",(char *) "orient", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= PyInt_FromLong((long)result
);
23726 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxWindow
*arg1
= (wxWindow
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "orient", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= PyInt_FromLong((long)result
);
23752 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 wxRect
*arg4
= (wxRect
*) NULL
;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj3
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23767 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxWindow
*arg1
= (wxWindow
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "lines", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (bool)(arg1
)->ScrollLines(arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= PyInt_FromLong((long)result
);
23809 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxWindow
*arg1
= (wxWindow
*) 0 ;
23814 PyObject
* obj0
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self",(char *) "pages", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (bool)(arg1
)->ScrollPages(arg2
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= PyInt_FromLong((long)result
);
23835 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (bool)(arg1
)->LineUp();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= PyInt_FromLong((long)result
);
23860 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxWindow
*arg1
= (wxWindow
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (bool)(arg1
)->LineDown();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= PyInt_FromLong((long)result
);
23885 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxWindow
*arg1
= (wxWindow
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (bool)(arg1
)->PageUp();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= PyInt_FromLong((long)result
);
23910 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxWindow
*arg1
= (wxWindow
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)(arg1
)->PageDown();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= PyInt_FromLong((long)result
);
23935 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxWindow
*arg1
= (wxWindow
*) 0 ;
23938 wxString
*arg2
= 0 ;
23939 bool temp2
= False
;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self",(char *) "text", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23949 arg2
= wxString_in_helper(obj1
);
23950 if (arg2
== NULL
) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 Py_INCREF(Py_None
); resultobj
= Py_None
;
23975 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23978 wxString
*arg2
= 0 ;
23979 bool temp2
= False
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "text", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23989 arg2
= wxString_in_helper(obj1
);
23990 if (arg2
== NULL
) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 Py_INCREF(Py_None
); resultobj
= Py_None
;
24015 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxWindow
*arg1
= (wxWindow
*) 0 ;
24019 PyObject
* obj0
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= ((wxWindow
const *)arg1
)->GetHelpText();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24046 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxWindow
*arg1
= (wxWindow
*) 0 ;
24049 wxString
*arg2
= 0 ;
24050 bool temp2
= False
;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "tip", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24060 arg2
= wxString_in_helper(obj1
);
24061 if (arg2
== NULL
) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 Py_INCREF(Py_None
); resultobj
= Py_None
;
24086 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxWindow
*arg1
= (wxWindow
*) 0 ;
24089 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self",(char *) "tip", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 (arg1
)->SetToolTip(arg2
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 Py_INCREF(Py_None
); resultobj
= Py_None
;
24113 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxWindow
*arg1
= (wxWindow
*) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= wxPyMake_wxObject(result
);
24140 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxWindow
*arg1
= (wxWindow
*) 0 ;
24143 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self",(char *) "dropTarget", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->SetDropTarget(arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 Py_INCREF(Py_None
); resultobj
= Py_None
;
24167 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxWindow
*arg1
= (wxWindow
*) 0 ;
24170 wxPyDropTarget
*result
;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24192 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxWindow
*arg1
= (wxWindow
*) 0 ;
24195 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "constraints", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 (arg1
)->SetConstraints(arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 Py_INCREF(Py_None
); resultobj
= Py_None
;
24219 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxWindow
*arg1
= (wxWindow
*) 0 ;
24222 wxLayoutConstraints
*result
;
24223 PyObject
* obj0
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24244 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxWindow
*arg1
= (wxWindow
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "autoLayout", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24256 arg2
= PyInt_AsLong(obj1
) ? true : false;
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->SetAutoLayout(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxWindow
*arg1
= (wxWindow
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= PyInt_FromLong((long)result
);
24297 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)(arg1
)->Layout();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= PyInt_FromLong((long)result
);
24322 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 wxSizer
*arg2
= (wxSizer
*) 0 ;
24326 bool arg3
= (bool) True
;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 PyObject
* obj2
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24338 arg3
= PyInt_AsLong(obj2
) ? true : false;
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 (arg1
)->SetSizer(arg2
,arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxWindow
*arg1
= (wxWindow
*) 0 ;
24358 wxSizer
*arg2
= (wxSizer
*) 0 ;
24359 bool arg3
= (bool) True
;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 PyObject
* obj2
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24371 arg3
= PyInt_AsLong(obj2
) ? true : false;
24372 if (PyErr_Occurred()) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 Py_INCREF(Py_None
); resultobj
= Py_None
;
24388 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxWindow
*arg1
= (wxWindow
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= wxPyMake_wxSizer(result
);
24415 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxWindow
*arg1
= (wxWindow
*) 0 ;
24418 wxSizer
*arg2
= (wxSizer
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "sizer", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 (arg1
)->SetContainingSizer(arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 Py_INCREF(Py_None
); resultobj
= Py_None
;
24442 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxWindow
*arg1
= (wxWindow
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= wxPyMake_wxSizer(result
);
24469 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24472 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24474 return Py_BuildValue((char *)"");
24476 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24479 wxWindow
*arg2
= (wxWindow
*) NULL
;
24481 PyObject
* obj1
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "id",(char *) "parent", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= wxPyMake_wxObject(result
);
24506 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxString
*arg1
= 0 ;
24509 wxWindow
*arg2
= (wxWindow
*) NULL
;
24511 bool temp1
= False
;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "name",(char *) "parent", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 arg1
= wxString_in_helper(obj0
);
24521 if (arg1
== NULL
) SWIG_fail
;
24525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= wxPyMake_wxObject(result
);
24551 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxString
*arg1
= 0 ;
24554 wxWindow
*arg2
= (wxWindow
*) NULL
;
24556 bool temp1
= False
;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "label",(char *) "parent", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24565 arg1
= wxString_in_helper(obj0
);
24566 if (arg1
== NULL
) SWIG_fail
;
24570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= wxPyMake_wxObject(result
);
24596 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 unsigned long arg1
;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "hWnd", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24606 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= wxPyMake_wxObject(result
);
24624 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxValidator
*result
;
24627 char *kwnames
[] = {
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 result
= (wxValidator
*)new wxValidator();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= wxPyMake_wxObject(result
);
24648 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxValidator
*arg1
= (wxValidator
*) 0 ;
24651 wxValidator
*result
;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (wxValidator
*)(arg1
)->Clone();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= wxPyMake_wxObject(result
);
24675 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxValidator
*arg1
= (wxValidator
*) 0 ;
24678 wxWindow
*arg2
= (wxWindow
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "parent", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (bool)(arg1
)->Validate(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= PyInt_FromLong((long)result
);
24703 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxValidator
*arg1
= (wxValidator
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (bool)(arg1
)->TransferToWindow();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= PyInt_FromLong((long)result
);
24728 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxValidator
*arg1
= (wxValidator
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (bool)(arg1
)->TransferFromWindow();
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= PyInt_FromLong((long)result
);
24753 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxValidator
*arg1
= (wxValidator
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (wxWindow
*)(arg1
)->GetWindow();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= wxPyMake_wxObject(result
);
24780 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxValidator
*arg1
= (wxValidator
*) 0 ;
24783 wxWindow
*arg2
= (wxWindow
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "window", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->SetWindow(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24810 char *kwnames
[] = {
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)wxValidator::IsSilent();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= PyInt_FromLong((long)result
);
24829 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 int arg1
= (int) True
;
24832 char *kwnames
[] = {
24833 (char *) "doIt", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 wxValidator::SetBellOnError(arg1
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 Py_INCREF(Py_None
); resultobj
= Py_None
;
24851 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24854 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24856 return Py_BuildValue((char *)"");
24858 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyValidator
*result
;
24861 char *kwnames
[] = {
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (wxPyValidator
*)new wxPyValidator();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24880 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24883 PyObject
*arg2
= (PyObject
*) 0 ;
24884 PyObject
*arg3
= (PyObject
*) 0 ;
24885 int arg4
= (int) True
;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24914 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24916 return Py_BuildValue((char *)"");
24918 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24919 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24924 static PyObject
*_wrap_DefaultValidator_get() {
24927 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24932 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24935 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24936 long arg2
= (long) 0 ;
24938 bool temp1
= False
;
24939 PyObject
* obj0
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "title",(char *) "style", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24947 arg1
= wxString_in_helper(obj0
);
24948 if (arg1
== NULL
) SWIG_fail
;
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= wxPyMake_wxObject(result
);
24976 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxMenu
*arg1
= (wxMenu
*) 0 ;
24980 wxString
*arg3
= 0 ;
24981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24983 int arg5
= (int) wxITEM_NORMAL
;
24984 bool temp3
= False
;
24985 bool temp4
= False
;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj2
= 0 ;
24988 PyObject
* obj3
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24996 arg3
= wxString_in_helper(obj2
);
24997 if (arg3
== NULL
) SWIG_fail
;
25002 arg4
= wxString_in_helper(obj3
);
25003 if (arg4
== NULL
) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 Py_INCREF(Py_None
); resultobj
= Py_None
;
25037 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
;
25039 wxMenu
*arg1
= (wxMenu
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->AppendSeparator();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxMenu
*arg1
= (wxMenu
*) 0 ;
25065 wxString
*arg3
= 0 ;
25066 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25068 bool temp3
= False
;
25069 bool temp4
= False
;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj2
= 0 ;
25072 PyObject
* obj3
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25080 arg3
= wxString_in_helper(obj2
);
25081 if (arg3
== NULL
) SWIG_fail
;
25086 arg4
= wxString_in_helper(obj3
);
25087 if (arg4
== NULL
) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxMenu
*arg1
= (wxMenu
*) 0 ;
25125 wxString
*arg3
= 0 ;
25126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25128 bool temp3
= False
;
25129 bool temp4
= False
;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj2
= 0 ;
25132 PyObject
* obj3
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25140 arg3
= wxString_in_helper(obj2
);
25141 if (arg3
== NULL
) SWIG_fail
;
25146 arg4
= wxString_in_helper(obj3
);
25147 if (arg4
== NULL
) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 Py_INCREF(Py_None
); resultobj
= Py_None
;
25181 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxMenu
*arg1
= (wxMenu
*) 0 ;
25185 wxString
*arg3
= 0 ;
25186 wxMenu
*arg4
= (wxMenu
*) 0 ;
25187 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25188 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25189 bool temp3
= False
;
25190 bool temp5
= False
;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj2
= 0 ;
25193 PyObject
* obj3
= 0 ;
25194 PyObject
* obj4
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25202 arg3
= wxString_in_helper(obj2
);
25203 if (arg3
== NULL
) SWIG_fail
;
25206 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25209 arg5
= wxString_in_helper(obj4
);
25210 if (arg5
== NULL
) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25244 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxMenu
*arg1
= (wxMenu
*) 0 ;
25247 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self",(char *) "item", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->Append(arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxMenu
*arg1
= (wxMenu
*) 0 ;
25274 PyObject
* obj0
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxMenu
*arg1
= (wxMenu
*) 0 ;
25299 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 PyObject
* obj2
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "pos",(char *) "item", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25310 arg2
= (size_t) PyInt_AsLong(obj1
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25312 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= PyInt_FromLong((long)result
);
25327 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxMenu
*arg1
= (wxMenu
*) 0 ;
25332 wxString
*arg4
= 0 ;
25333 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25334 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25335 int arg6
= (int) wxITEM_NORMAL
;
25336 bool temp4
= False
;
25337 bool temp5
= False
;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 PyObject
* obj3
= 0 ;
25341 PyObject
* obj4
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25348 arg2
= (size_t) PyInt_AsLong(obj1
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 arg4
= wxString_in_helper(obj3
);
25352 if (arg4
== NULL
) SWIG_fail
;
25357 arg5
= wxString_in_helper(obj4
);
25358 if (arg5
== NULL
) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 Py_INCREF(Py_None
); resultobj
= Py_None
;
25392 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxMenu
*arg1
= (wxMenu
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "pos", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->InsertSeparator(arg2
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxMenu
*arg1
= (wxMenu
*) 0 ;
25425 wxString
*arg4
= 0 ;
25426 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25427 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25428 bool temp4
= False
;
25429 bool temp5
= False
;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 PyObject
* obj3
= 0 ;
25433 PyObject
* obj4
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25440 arg2
= (size_t) PyInt_AsLong(obj1
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 arg4
= wxString_in_helper(obj3
);
25444 if (arg4
== NULL
) SWIG_fail
;
25449 arg5
= wxString_in_helper(obj4
);
25450 if (arg5
== NULL
) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25484 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxMenu
*arg1
= (wxMenu
*) 0 ;
25489 wxString
*arg4
= 0 ;
25490 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25491 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25492 bool temp4
= False
;
25493 bool temp5
= False
;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 PyObject
* obj3
= 0 ;
25497 PyObject
* obj4
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25504 arg2
= (size_t) PyInt_AsLong(obj1
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 arg4
= wxString_in_helper(obj3
);
25508 if (arg4
== NULL
) SWIG_fail
;
25513 arg5
= wxString_in_helper(obj4
);
25514 if (arg5
== NULL
) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxMenu
*arg1
= (wxMenu
*) 0 ;
25553 wxString
*arg4
= 0 ;
25554 wxMenu
*arg5
= (wxMenu
*) 0 ;
25555 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25556 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25557 bool temp4
= False
;
25558 bool temp6
= False
;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 PyObject
* obj3
= 0 ;
25562 PyObject
* obj4
= 0 ;
25563 PyObject
* obj5
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25570 arg2
= (size_t) PyInt_AsLong(obj1
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 arg4
= wxString_in_helper(obj3
);
25574 if (arg4
== NULL
) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25580 arg6
= wxString_in_helper(obj5
);
25581 if (arg6
== NULL
) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 Py_INCREF(Py_None
); resultobj
= Py_None
;
25615 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxMenu
*arg1
= (wxMenu
*) 0 ;
25618 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 char *kwnames
[] = {
25622 (char *) "self",(char *) "item", NULL
25625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 (arg1
)->Prepend(arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 Py_INCREF(Py_None
); resultobj
= Py_None
;
25642 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxMenu
*arg1
= (wxMenu
*) 0 ;
25646 wxString
*arg3
= 0 ;
25647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25649 int arg5
= (int) wxITEM_NORMAL
;
25650 bool temp3
= False
;
25651 bool temp4
= False
;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj2
= 0 ;
25654 PyObject
* obj3
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25662 arg3
= wxString_in_helper(obj2
);
25663 if (arg3
== NULL
) SWIG_fail
;
25668 arg4
= wxString_in_helper(obj3
);
25669 if (arg4
== NULL
) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25703 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxMenu
*arg1
= (wxMenu
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 char *kwnames
[] = {
25708 (char *) "self", NULL
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->PrependSeparator();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxMenu
*arg1
= (wxMenu
*) 0 ;
25731 wxString
*arg3
= 0 ;
25732 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25733 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25734 bool temp3
= False
;
25735 bool temp4
= False
;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 PyObject
* obj3
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25746 arg3
= wxString_in_helper(obj2
);
25747 if (arg3
== NULL
) SWIG_fail
;
25752 arg4
= wxString_in_helper(obj3
);
25753 if (arg4
== NULL
) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 Py_INCREF(Py_None
); resultobj
= Py_None
;
25787 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxMenu
*arg1
= (wxMenu
*) 0 ;
25791 wxString
*arg3
= 0 ;
25792 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25793 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25794 bool temp3
= False
;
25795 bool temp4
= False
;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 PyObject
* obj3
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25806 arg3
= wxString_in_helper(obj2
);
25807 if (arg3
== NULL
) SWIG_fail
;
25812 arg4
= wxString_in_helper(obj3
);
25813 if (arg4
== NULL
) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25847 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxMenu
*arg1
= (wxMenu
*) 0 ;
25851 wxString
*arg3
= 0 ;
25852 wxMenu
*arg4
= (wxMenu
*) 0 ;
25853 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25854 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25855 bool temp3
= False
;
25856 bool temp5
= False
;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj2
= 0 ;
25859 PyObject
* obj3
= 0 ;
25860 PyObject
* obj4
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25868 arg3
= wxString_in_helper(obj2
);
25869 if (arg3
== NULL
) SWIG_fail
;
25872 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25875 arg5
= wxString_in_helper(obj4
);
25876 if (arg5
== NULL
) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25910 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxMenu
*arg1
= (wxMenu
*) 0 ;
25914 wxMenuItem
*result
;
25915 PyObject
* obj0
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "id", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= wxPyMake_wxObject(result
);
25938 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxMenu
*arg1
= (wxMenu
*) 0 ;
25941 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25942 wxMenuItem
*result
;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self",(char *) "item", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= wxPyMake_wxObject(result
);
25968 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxMenu
*arg1
= (wxMenu
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "id", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)(arg1
)->Delete(arg2
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= PyInt_FromLong((long)result
);
25994 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxMenu
*arg1
= (wxMenu
*) 0 ;
25997 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
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_DeleteItem",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
= (bool)(arg1
)->Delete(arg2
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= PyInt_FromLong((long)result
);
26022 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxMenu
*arg1
= (wxMenu
*) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxMenu_Destroy(arg1
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxMenu
*arg1
= (wxMenu
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "id", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (bool)(arg1
)->Destroy(arg2
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= PyInt_FromLong((long)result
);
26072 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxMenu
*arg1
= (wxMenu
*) 0 ;
26075 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "item", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (bool)(arg1
)->Destroy(arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= PyInt_FromLong((long)result
);
26100 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxMenu
*arg1
= (wxMenu
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= PyInt_FromLong((long)result
);
26125 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxMenu
*arg1
= (wxMenu
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= result
;
26150 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxMenu
*arg1
= (wxMenu
*) 0 ;
26153 wxString
*arg2
= 0 ;
26155 bool temp2
= False
;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self",(char *) "item", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26165 arg2
= wxString_in_helper(obj1
);
26166 if (arg2
== NULL
) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= PyInt_FromLong((long)result
);
26191 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxMenu
*arg1
= (wxMenu
*) 0 ;
26195 wxMenuItem
*result
;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "id", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= wxPyMake_wxObject(result
);
26219 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxMenu
*arg1
= (wxMenu
*) 0 ;
26223 wxMenuItem
*result
;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self",(char *) "position", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26232 arg2
= (size_t) PyInt_AsLong(obj1
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= wxPyMake_wxObject(result
);
26250 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxMenu
*arg1
= (wxMenu
*) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 PyObject
* obj2
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "id",(char *) "enable", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26263 arg3
= PyInt_AsLong(obj2
) ? true : false;
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->Enable(arg2
,arg3
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26279 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxMenu
*arg1
= (wxMenu
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "id", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= PyInt_FromLong((long)result
);
26305 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxMenu
*arg1
= (wxMenu
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj2
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "id",(char *) "check", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26318 arg3
= PyInt_AsLong(obj2
) ? true : false;
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->Check(arg2
,arg3
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxMenu
*arg1
= (wxMenu
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self",(char *) "id", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= PyInt_FromLong((long)result
);
26360 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxMenu
*arg1
= (wxMenu
*) 0 ;
26364 wxString
*arg3
= 0 ;
26365 bool temp3
= False
;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj2
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "id",(char *) "label", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26375 arg3
= wxString_in_helper(obj2
);
26376 if (arg3
== NULL
) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 Py_INCREF(Py_None
); resultobj
= Py_None
;
26401 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxMenu
*arg1
= (wxMenu
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "id", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26433 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxMenu
*arg1
= (wxMenu
*) 0 ;
26437 wxString
*arg3
= 0 ;
26438 bool temp3
= False
;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj2
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self",(char *) "id",(char *) "helpString", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26448 arg3
= wxString_in_helper(obj2
);
26449 if (arg3
== NULL
) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 Py_INCREF(Py_None
); resultobj
= Py_None
;
26474 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26476 wxMenu
*arg1
= (wxMenu
*) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self",(char *) "id", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26506 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxMenu
*arg1
= (wxMenu
*) 0 ;
26509 wxString
*arg2
= 0 ;
26510 bool temp2
= False
;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "title", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26520 arg2
= wxString_in_helper(obj1
);
26521 if (arg2
== NULL
) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->SetTitle((wxString
const &)*arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 Py_INCREF(Py_None
); resultobj
= Py_None
;
26546 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26548 wxMenu
*arg1
= (wxMenu
*) 0 ;
26550 PyObject
* obj0
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxMenu
const *)arg1
)->GetTitle();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26577 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxMenu
*arg1
= (wxMenu
*) 0 ;
26580 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "handler", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 (arg1
)->SetEventHandler(arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 Py_INCREF(Py_None
); resultobj
= Py_None
;
26604 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxMenu
*arg1
= (wxMenu
*) 0 ;
26607 wxEvtHandler
*result
;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= wxPyMake_wxObject(result
);
26631 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxMenu
*arg1
= (wxMenu
*) 0 ;
26634 wxWindow
*arg2
= (wxWindow
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self",(char *) "win", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 (arg1
)->SetInvokingWindow(arg2
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 Py_INCREF(Py_None
); resultobj
= Py_None
;
26658 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxMenu
*arg1
= (wxMenu
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= wxPyMake_wxObject(result
);
26685 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
;
26687 wxMenu
*arg1
= (wxMenu
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= PyInt_FromLong((long)result
);
26710 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxMenu
*arg1
= (wxMenu
*) 0 ;
26713 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "source", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->UpdateUI(arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxMenu
*arg1
= (wxMenu
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= wxPyMake_wxObject(result
);
26766 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxMenu
*arg1
= (wxMenu
*) 0 ;
26769 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 char *kwnames
[] = {
26773 (char *) "self",(char *) "menubar", NULL
26776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->Attach(arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26793 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxMenu
*arg1
= (wxMenu
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26817 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxMenu
*arg1
= (wxMenu
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= PyInt_FromLong((long)result
);
26842 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxMenu
*arg1
= (wxMenu
*) 0 ;
26845 wxMenu
*arg2
= (wxMenu
*) 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "parent", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetParent(arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 Py_INCREF(Py_None
); resultobj
= Py_None
;
26869 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxMenu
*arg1
= (wxMenu
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= wxPyMake_wxObject(result
);
26896 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26899 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26901 return Py_BuildValue((char *)"");
26903 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 long arg1
= (long) 0 ;
26907 char *kwnames
[] = {
26908 (char *) "style", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= wxPyMake_wxObject(result
);
26928 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26931 wxMenu
*arg2
= (wxMenu
*) 0 ;
26932 wxString
*arg3
= 0 ;
26934 bool temp3
= False
;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 PyObject
* obj2
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "menu",(char *) "title", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26946 arg3
= wxString_in_helper(obj2
);
26947 if (arg3
== NULL
) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= PyInt_FromLong((long)result
);
26972 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26976 wxMenu
*arg3
= (wxMenu
*) 0 ;
26977 wxString
*arg4
= 0 ;
26979 bool temp4
= False
;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 PyObject
* obj2
= 0 ;
26983 PyObject
* obj3
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26990 arg2
= (size_t) PyInt_AsLong(obj1
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26992 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26994 arg4
= wxString_in_helper(obj3
);
26995 if (arg4
== NULL
) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= PyInt_FromLong((long)result
);
27020 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
27030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= PyInt_FromLong((long)result
);
27045 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 char *kwnames
[] = {
27053 (char *) "self",(char *) "pos", NULL
27056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27058 arg2
= (size_t) PyInt_AsLong(obj1
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= wxPyMake_wxObject(result
);
27076 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27080 wxMenu
*arg3
= (wxMenu
*) 0 ;
27081 wxString
*arg4
= 0 ;
27083 bool temp4
= False
;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 PyObject
* obj2
= 0 ;
27087 PyObject
* obj3
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27094 arg2
= (size_t) PyInt_AsLong(obj1
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27096 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27098 arg4
= wxString_in_helper(obj3
);
27099 if (arg4
== NULL
) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= wxPyMake_wxObject(result
);
27126 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "pos", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27139 arg2
= (size_t) PyInt_AsLong(obj1
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= wxPyMake_wxObject(result
);
27157 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 PyObject
* obj2
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "pos",(char *) "enable", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27171 arg2
= (size_t) PyInt_AsLong(obj1
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27173 arg3
= PyInt_AsLong(obj2
) ? true : false;
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 (arg1
)->EnableTop(arg2
,arg3
);
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 Py_INCREF(Py_None
); resultobj
= Py_None
;
27189 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self",(char *) "pos", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27202 arg2
= (size_t) PyInt_AsLong(obj1
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= PyInt_FromLong((long)result
);
27218 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27222 wxString
*arg3
= 0 ;
27223 bool temp3
= False
;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 PyObject
* obj2
= 0 ;
27227 char *kwnames
[] = {
27228 (char *) "self",(char *) "pos",(char *) "label", NULL
27231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27233 arg2
= (size_t) PyInt_AsLong(obj1
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 arg3
= wxString_in_helper(obj2
);
27237 if (arg3
== NULL
) SWIG_fail
;
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 Py_INCREF(Py_None
); resultobj
= Py_None
;
27262 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "pos", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27275 arg2
= (size_t) PyInt_AsLong(obj1
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27297 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27300 wxString
*arg2
= 0 ;
27301 wxString
*arg3
= 0 ;
27303 bool temp2
= False
;
27304 bool temp3
= False
;
27305 PyObject
* obj0
= 0 ;
27306 PyObject
* obj1
= 0 ;
27307 PyObject
* obj2
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "menu",(char *) "item", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27315 arg2
= wxString_in_helper(obj1
);
27316 if (arg2
== NULL
) SWIG_fail
;
27320 arg3
= wxString_in_helper(obj2
);
27321 if (arg3
== NULL
) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= PyInt_FromLong((long)result
);
27354 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27358 wxMenuItem
*result
;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self",(char *) "id", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= wxPyMake_wxObject(result
);
27382 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27385 wxString
*arg2
= 0 ;
27387 bool temp2
= False
;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self",(char *) "title", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27397 arg2
= wxString_in_helper(obj1
);
27398 if (arg2
== NULL
) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= PyInt_FromLong((long)result
);
27423 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj2
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "id",(char *) "enable", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27436 arg3
= PyInt_AsLong(obj2
) ? true : false;
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->Enable(arg2
,arg3
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj2
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "id",(char *) "check", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27465 arg3
= PyInt_AsLong(obj2
) ? true : false;
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 (arg1
)->Check(arg2
,arg3
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 Py_INCREF(Py_None
); resultobj
= Py_None
;
27481 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "id", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= PyInt_FromLong((long)result
);
27507 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
;
27509 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self",(char *) "id", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= PyInt_FromLong((long)result
);
27533 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
;
27535 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27537 wxString
*arg3
= 0 ;
27538 bool temp3
= False
;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "id",(char *) "label", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27548 arg3
= wxString_in_helper(obj2
);
27549 if (arg3
== NULL
) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 Py_INCREF(Py_None
); resultobj
= Py_None
;
27574 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "id", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27606 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27610 wxString
*arg3
= 0 ;
27611 bool temp3
= False
;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj2
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self",(char *) "id",(char *) "helpString", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27621 arg3
= wxString_in_helper(obj2
);
27622 if (arg3
== NULL
) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self",(char *) "id", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27679 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= wxPyMake_wxObject(result
);
27706 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= PyInt_FromLong((long)result
);
27731 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27734 wxFrame
*arg2
= (wxFrame
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char *kwnames
[] = {
27738 (char *) "self",(char *) "frame", NULL
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->Attach(arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27782 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27785 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27787 return Py_BuildValue((char *)"");
27789 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxMenu
*arg1
= (wxMenu
*) NULL
;
27792 int arg2
= (int) wxID_SEPARATOR
;
27793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27795 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27797 int arg5
= (int) wxITEM_NORMAL
;
27798 wxMenu
*arg6
= (wxMenu
*) NULL
;
27799 wxMenuItem
*result
;
27800 bool temp3
= False
;
27801 bool temp4
= False
;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 PyObject
* obj3
= 0 ;
27805 PyObject
* obj5
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27816 arg3
= wxString_in_helper(obj2
);
27817 if (arg3
== NULL
) SWIG_fail
;
27823 arg4
= wxString_in_helper(obj3
);
27824 if (arg4
== NULL
) SWIG_fail
;
27829 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= wxPyMake_wxObject(result
);
27863 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
;
27865 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= wxPyMake_wxObject(result
);
27890 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27893 wxMenu
*arg2
= (wxMenu
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "menu", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 (arg1
)->SetMenu(arg2
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 Py_INCREF(Py_None
); resultobj
= Py_None
;
27917 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
;
27919 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "id", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 (arg1
)->SetId(arg2
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 Py_INCREF(Py_None
); resultobj
= Py_None
;
27942 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27946 PyObject
* obj0
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= PyInt_FromLong((long)result
);
27967 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= PyInt_FromLong((long)result
);
27992 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27995 wxString
*arg2
= 0 ;
27996 bool temp2
= False
;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "str", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28006 arg2
= wxString_in_helper(obj1
);
28007 if (arg2
== NULL
) SWIG_fail
;
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 (arg1
)->SetText((wxString
const &)*arg2
);
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 Py_INCREF(Py_None
); resultobj
= Py_None
;
28032 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28036 PyObject
* obj0
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28063 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28067 PyObject
* obj0
= 0 ;
28068 char *kwnames
[] = {
28069 (char *) "self", NULL
28072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
28073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
28078 result
= (wxString
*) &_result_ref
;
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28088 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28097 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
;
28099 wxString
*arg1
= 0 ;
28101 bool temp1
= False
;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "text", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
28109 arg1
= wxString_in_helper(obj0
);
28110 if (arg1
== NULL
) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28141 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= PyInt_FromLong((long)result
);
28166 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self",(char *) "checkable", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28178 arg2
= PyInt_AsLong(obj1
) ? true : false;
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->SetCheckable(arg2
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 Py_INCREF(Py_None
); resultobj
= Py_None
;
28194 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= PyInt_FromLong((long)result
);
28219 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= PyInt_FromLong((long)result
);
28244 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28247 wxMenu
*arg2
= (wxMenu
*) 0 ;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self",(char *) "menu", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 (arg1
)->SetSubMenu(arg2
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 Py_INCREF(Py_None
); resultobj
= Py_None
;
28271 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28275 PyObject
* obj0
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= wxPyMake_wxObject(result
);
28298 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28301 bool arg2
= (bool) True
;
28302 PyObject
* obj0
= 0 ;
28303 PyObject
* obj1
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self",(char *) "enable", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28311 arg2
= PyInt_AsLong(obj1
) ? true : false;
28312 if (PyErr_Occurred()) SWIG_fail
;
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 (arg1
)->Enable(arg2
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 Py_INCREF(Py_None
); resultobj
= Py_None
;
28328 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= PyInt_FromLong((long)result
);
28353 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28356 bool arg2
= (bool) True
;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "check", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28366 arg2
= PyInt_AsLong(obj1
) ? true : false;
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 (arg1
)->Check(arg2
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 Py_INCREF(Py_None
); resultobj
= Py_None
;
28383 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
;
28385 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 char *kwnames
[] = {
28389 (char *) "self", NULL
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= PyInt_FromLong((long)result
);
28408 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28425 Py_INCREF(Py_None
); resultobj
= Py_None
;
28432 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
;
28434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28435 wxString
*arg2
= 0 ;
28436 bool temp2
= False
;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self",(char *) "str", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28446 arg2
= wxString_in_helper(obj1
);
28447 if (arg2
== NULL
) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 (arg1
)->SetHelp((wxString
const &)*arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 Py_INCREF(Py_None
); resultobj
= Py_None
;
28472 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28476 PyObject
* obj0
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28487 result
= (wxString
*) &_result_ref
;
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28497 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28506 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28509 wxAcceleratorEntry
*result
;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28531 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28534 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "accel", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 (arg1
)->SetAccel(arg2
);
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 Py_INCREF(Py_None
); resultobj
= Py_None
;
28558 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28561 char *kwnames
[] = {
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (int)MenuItem_GetDefaultMarginWidth();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= PyInt_FromLong((long)result
);
28580 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28583 wxBitmap
*arg2
= 0 ;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "self",(char *) "bitmap", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28593 if (arg2
== NULL
) {
28594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 Py_INCREF(Py_None
); resultobj
= Py_None
;
28610 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28614 PyObject
* obj0
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28625 result
= (wxBitmap
*) &_result_ref
;
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28638 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28641 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28643 return Py_BuildValue((char *)"");
28645 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxWindow
*arg1
= (wxWindow
*) 0 ;
28649 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28650 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28651 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28652 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28653 long arg5
= (long) 0 ;
28654 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28655 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28656 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28661 bool temp7
= False
;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 PyObject
* obj3
= 0 ;
28665 PyObject
* obj5
= 0 ;
28666 PyObject
* obj6
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28686 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28687 if (arg6
== NULL
) {
28688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28693 arg7
= wxString_in_helper(obj6
);
28694 if (arg7
== NULL
) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= wxPyMake_wxObject(result
);
28722 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
;
28725 char *kwnames
[] = {
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (wxControl
*)new wxControl();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= wxPyMake_wxObject(result
);
28746 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxControl
*arg1
= (wxControl
*) 0 ;
28749 wxWindow
*arg2
= (wxWindow
*) 0 ;
28751 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28752 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28753 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28754 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28755 long arg6
= (long) 0 ;
28756 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28757 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28758 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28763 bool temp8
= False
;
28764 PyObject
* obj0
= 0 ;
28765 PyObject
* obj1
= 0 ;
28766 PyObject
* obj3
= 0 ;
28767 PyObject
* obj4
= 0 ;
28768 PyObject
* obj6
= 0 ;
28769 PyObject
* obj7
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28790 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28791 if (arg7
== NULL
) {
28792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28797 arg8
= wxString_in_helper(obj7
);
28798 if (arg8
== NULL
) SWIG_fail
;
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= PyInt_FromLong((long)result
);
28824 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxControl
*arg1
= (wxControl
*) 0 ;
28827 wxCommandEvent
*arg2
= 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self",(char *) "event", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28837 if (arg2
== NULL
) {
28838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 (arg1
)->Command(*arg2
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 Py_INCREF(Py_None
); resultobj
= Py_None
;
28854 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxControl
*arg1
= (wxControl
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (arg1
)->GetLabel();
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28885 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxControl
*arg1
= (wxControl
*) 0 ;
28888 wxString
*arg2
= 0 ;
28889 bool temp2
= False
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "self",(char *) "label", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28899 arg2
= wxString_in_helper(obj1
);
28900 if (arg2
== NULL
) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 (arg1
)->SetLabel((wxString
const &)*arg2
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 Py_INCREF(Py_None
); resultobj
= Py_None
;
28925 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28928 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28930 return Py_BuildValue((char *)"");
28932 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28935 wxString
*arg2
= 0 ;
28936 PyObject
*arg3
= (PyObject
*) NULL
;
28938 bool temp2
= False
;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 PyObject
* obj2
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self",(char *) "item",(char *) "clientData", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28949 arg2
= wxString_in_helper(obj1
);
28950 if (arg2
== NULL
) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= PyInt_FromLong((long)result
);
28978 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28981 wxArrayString
*arg2
= 0 ;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "strings", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28991 if (! PySequence_Check(obj1
)) {
28992 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28995 arg2
= new wxArrayString
;
28996 int i
, len
=PySequence_Length(obj1
);
28997 for (i
=0; i
<len
; i
++) {
28998 PyObject
* item
= PySequence_GetItem(obj1
, i
);
29000 PyObject
* str
= PyObject_Unicode(item
);
29002 PyObject
* str
= PyObject_Str(item
);
29004 arg2
->Add(Py2wxString(str
));
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 (arg1
)->Append((wxArrayString
const &)*arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 Py_INCREF(Py_None
); resultobj
= Py_None
;
29018 if (arg2
) delete arg2
;
29023 if (arg2
) delete arg2
;
29029 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29032 wxString
*arg2
= 0 ;
29034 PyObject
*arg4
= (PyObject
*) NULL
;
29036 bool temp2
= False
;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 PyObject
* obj3
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29047 arg2
= wxString_in_helper(obj1
);
29048 if (arg2
== NULL
) SWIG_fail
;
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= PyInt_FromLong((long)result
);
29076 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 Py_INCREF(Py_None
); resultobj
= Py_None
;
29100 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "n", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 (arg1
)->Delete(arg2
);
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 Py_INCREF(Py_None
); resultobj
= Py_None
;
29125 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "self", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= PyInt_FromLong((long)result
);
29150 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
;
29152 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29154 PyObject
* obj0
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= PyInt_FromLong((long)result
);
29175 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29180 PyObject
* obj0
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self",(char *) "n", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29207 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29210 wxArrayString result
;
29211 PyObject
* obj0
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= wxArrayString2PyList_helper(result
);
29234 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
;
29236 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29238 wxString
*arg3
= 0 ;
29239 bool temp3
= False
;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "n",(char *) "s", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29249 arg3
= wxString_in_helper(obj2
);
29250 if (arg3
== NULL
) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 Py_INCREF(Py_None
); resultobj
= Py_None
;
29275 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29278 wxString
*arg2
= 0 ;
29280 bool temp2
= False
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self",(char *) "s", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29290 arg2
= wxString_in_helper(obj1
);
29291 if (arg2
== NULL
) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 resultobj
= PyInt_FromLong((long)result
);
29316 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self",(char *) "n", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 (arg1
)->Select(arg2
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 Py_INCREF(Py_None
); resultobj
= Py_None
;
29341 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
;
29343 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29345 PyObject
* obj0
= 0 ;
29346 char *kwnames
[] = {
29347 (char *) "self", NULL
29350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= PyInt_FromLong((long)result
);
29366 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
;
29368 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29370 PyObject
* obj0
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "self", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29397 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 char *kwnames
[] = {
29404 (char *) "self",(char *) "n", NULL
29407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
;
29423 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29427 PyObject
*arg3
= (PyObject
*) 0 ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj2
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self",(char *) "n",(char *) "clientData", NULL
29434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29444 Py_INCREF(Py_None
); resultobj
= Py_None
;
29451 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29454 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29456 return Py_BuildValue((char *)"");
29458 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29461 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29463 return Py_BuildValue((char *)"");
29465 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxSizerItem
*result
;
29468 char *kwnames
[] = {
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 result
= (wxSizerItem
*)new wxSizerItem();
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29487 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29494 wxObject
*arg6
= (wxObject
*) 0 ;
29495 wxSizerItem
*result
;
29496 PyObject
* obj5
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29502 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29517 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
;
29519 wxWindow
*arg1
= (wxWindow
*) 0 ;
29523 wxObject
*arg5
= (wxObject
*) 0 ;
29524 wxSizerItem
*result
;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj4
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29533 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29548 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxSizer
*arg1
= (wxSizer
*) 0 ;
29554 wxObject
*arg5
= (wxObject
*) 0 ;
29555 wxSizerItem
*result
;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj4
= 0 ;
29558 char *kwnames
[] = {
29559 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29564 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29579 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29582 PyObject
* obj0
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 (arg1
)->DeleteWindows();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 Py_INCREF(Py_None
); resultobj
= Py_None
;
29603 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29606 PyObject
* obj0
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "self", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 (arg1
)->DetachSizer();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 Py_INCREF(Py_None
); resultobj
= Py_None
;
29627 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 char *kwnames
[] = {
29633 (char *) "self", NULL
29636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= (arg1
)->GetSize();
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 wxSize
* resultptr
;
29647 resultptr
= new wxSize((wxSize
&) result
);
29648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29656 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29660 PyObject
* obj0
= 0 ;
29661 char *kwnames
[] = {
29662 (char *) "self", NULL
29665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (arg1
)->CalcMin();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 wxSize
* resultptr
;
29676 resultptr
= new wxSize((wxSize
&) result
);
29677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29685 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 PyObject
* obj2
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "pos",(char *) "size", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29701 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29703 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->SetDimension(arg2
,arg3
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 Py_INCREF(Py_None
); resultobj
= Py_None
;
29719 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (arg1
)->GetMinSize();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 wxSize
* resultptr
;
29739 resultptr
= new wxSize((wxSize
&) result
);
29740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29748 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29753 PyObject
* obj0
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self",(char *) "x",(char *) "y", NULL
29758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 (arg1
)->SetInitSize(arg2
,arg3
);
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 Py_INCREF(Py_None
); resultobj
= Py_None
;
29774 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
;
29776 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29779 PyObject
* obj0
= 0 ;
29780 char *kwnames
[] = {
29781 (char *) "self",(char *) "width",(char *) "height", NULL
29784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 (arg1
)->SetRatio(arg2
,arg3
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 Py_INCREF(Py_None
); resultobj
= Py_None
;
29800 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "size", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29813 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 (arg1
)->SetRatio(arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 Py_INCREF(Py_None
); resultobj
= Py_None
;
29829 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29833 PyObject
* obj0
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self",(char *) "ratio", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 (arg1
)->SetRatio(arg2
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 Py_INCREF(Py_None
); resultobj
= Py_None
;
29854 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 result
= (float)(arg1
)->GetRatio();
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= PyFloat_FromDouble(result
);
29879 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29883 PyObject
* obj0
= 0 ;
29884 char *kwnames
[] = {
29885 (char *) "self", NULL
29888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (bool)(arg1
)->IsWindow();
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= PyInt_FromLong((long)result
);
29904 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29908 PyObject
* obj0
= 0 ;
29909 char *kwnames
[] = {
29910 (char *) "self", NULL
29913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (bool)(arg1
)->IsSizer();
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= PyInt_FromLong((long)result
);
29929 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29933 PyObject
* obj0
= 0 ;
29934 char *kwnames
[] = {
29935 (char *) "self", NULL
29938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (bool)(arg1
)->IsSpacer();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= PyInt_FromLong((long)result
);
29954 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "proportion", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 (arg1
)->SetProportion(arg2
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 Py_INCREF(Py_None
); resultobj
= Py_None
;
29979 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (int)(arg1
)->GetProportion();
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 resultobj
= PyInt_FromLong((long)result
);
30004 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
;
30006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self",(char *) "flag", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
30014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 (arg1
)->SetFlag(arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30022 Py_INCREF(Py_None
); resultobj
= Py_None
;
30029 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
;
30031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (int)(arg1
)->GetFlag();
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= PyInt_FromLong((long)result
);
30054 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self",(char *) "border", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 (arg1
)->SetBorder(arg2
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 Py_INCREF(Py_None
); resultobj
= Py_None
;
30079 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (int)(arg1
)->GetBorder();
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= PyInt_FromLong((long)result
);
30104 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
;
30106 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (wxWindow
*)(arg1
)->GetWindow();
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= wxPyMake_wxObject(result
);
30131 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30134 wxWindow
*arg2
= (wxWindow
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "window", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 (arg1
)->SetWindow(arg2
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 Py_INCREF(Py_None
); resultobj
= Py_None
;
30158 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30162 PyObject
* obj0
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= (wxSizer
*)(arg1
)->GetSizer();
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= wxPyMake_wxSizer(result
);
30185 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
;
30187 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30188 wxSizer
*arg2
= (wxSizer
*) 0 ;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "sizer", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 (arg1
)->SetSizer(arg2
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 Py_INCREF(Py_None
); resultobj
= Py_None
;
30212 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
;
30214 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 char *kwnames
[] = {
30218 (char *) "self", NULL
30221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30227 result
= (wxSize
*) &_result_ref
;
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30240 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "self",(char *) "size", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30255 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 Py_INCREF(Py_None
); resultobj
= Py_None
;
30271 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
;
30273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "show", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30283 arg2
= PyInt_AsLong(obj1
) ? true : false;
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 (arg1
)->Show(arg2
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 Py_INCREF(Py_None
); resultobj
= Py_None
;
30299 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30303 PyObject
* obj0
= 0 ;
30304 char *kwnames
[] = {
30305 (char *) "self", NULL
30308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (bool)(arg1
)->IsShown();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= PyInt_FromLong((long)result
);
30324 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= (arg1
)->GetPosition();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 wxPoint
* resultptr
;
30344 resultptr
= new wxPoint((wxPoint
&) result
);
30345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30353 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= result
;
30378 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30381 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30383 return Py_BuildValue((char *)"");
30385 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxSizer
*arg1
= (wxSizer
*) 0 ;
30388 PyObject
*arg2
= (PyObject
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self",(char *) "_self", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 wxSizer__setOORInfo(arg1
,arg2
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 Py_INCREF(Py_None
); resultobj
= Py_None
;
30412 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
;
30414 wxSizer
*arg1
= (wxSizer
*) 0 ;
30415 PyObject
*arg2
= (PyObject
*) 0 ;
30416 int arg3
= (int) 0 ;
30417 int arg4
= (int) 0 ;
30418 int arg5
= (int) 0 ;
30419 PyObject
*arg6
= (PyObject
*) NULL
;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj5
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxSizer
*arg1
= (wxSizer
*) 0 ;
30451 PyObject
*arg3
= (PyObject
*) 0 ;
30452 int arg4
= (int) 0 ;
30453 int arg5
= (int) 0 ;
30454 int arg6
= (int) 0 ;
30455 PyObject
*arg7
= (PyObject
*) NULL
;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj2
= 0 ;
30458 PyObject
* obj6
= 0 ;
30459 char *kwnames
[] = {
30460 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 Py_INCREF(Py_None
); resultobj
= Py_None
;
30483 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxSizer
*arg1
= (wxSizer
*) 0 ;
30486 PyObject
*arg2
= (PyObject
*) 0 ;
30487 int arg3
= (int) 0 ;
30488 int arg4
= (int) 0 ;
30489 int arg5
= (int) 0 ;
30490 PyObject
*arg6
= (PyObject
*) NULL
;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 PyObject
* obj5
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 Py_INCREF(Py_None
); resultobj
= Py_None
;
30518 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxSizer
*arg1
= (wxSizer
*) 0 ;
30521 PyObject
*arg2
= (PyObject
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self",(char *) "item", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= PyInt_FromLong((long)result
);
30546 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxSizer
*arg1
= (wxSizer
*) 0 ;
30549 PyObject
*arg2
= (PyObject
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 PyObject
* obj2
= 0 ;
30555 char *kwnames
[] = {
30556 (char *) "self",(char *) "item",(char *) "size", NULL
30559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30564 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 Py_INCREF(Py_None
); resultobj
= Py_None
;
30580 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxSizer
*arg1
= (wxSizer
*) 0 ;
30583 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "item", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxSizer
*arg1
= (wxSizer
*) 0 ;
30611 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "index",(char *) "item", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30621 arg2
= (size_t) PyInt_AsLong(obj1
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30623 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->Insert(arg2
,arg3
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 Py_INCREF(Py_None
); resultobj
= Py_None
;
30638 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
;
30640 wxSizer
*arg1
= (wxSizer
*) 0 ;
30641 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "item", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 (arg1
)->Prepend(arg2
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30658 Py_INCREF(Py_None
); resultobj
= Py_None
;
30665 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxSizer
*arg1
= (wxSizer
*) 0 ;
30672 PyObject
* obj0
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 Py_INCREF(Py_None
); resultobj
= Py_None
;
30693 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 wxSizer
*arg1
= (wxSizer
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "size", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 Py_INCREF(Py_None
); resultobj
= Py_None
;
30724 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxSizer
*arg1
= (wxSizer
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (arg1
)->GetSize();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 wxSize
* resultptr
;
30744 resultptr
= new wxSize((wxSize
&) result
);
30745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30753 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxSizer
*arg1
= (wxSizer
*) 0 ;
30757 PyObject
* obj0
= 0 ;
30758 char *kwnames
[] = {
30759 (char *) "self", NULL
30762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 result
= (arg1
)->GetPosition();
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30772 wxPoint
* resultptr
;
30773 resultptr
= new wxPoint((wxPoint
&) result
);
30774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30782 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxSizer
*arg1
= (wxSizer
*) 0 ;
30786 PyObject
* obj0
= 0 ;
30787 char *kwnames
[] = {
30788 (char *) "self", NULL
30791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 result
= (arg1
)->GetMinSize();
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30801 wxSize
* resultptr
;
30802 resultptr
= new wxSize((wxSize
&) result
);
30803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30811 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxSizer
*arg1
= (wxSizer
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 char *kwnames
[] = {
30816 (char *) "self", NULL
30819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 (arg1
)->RecalcSizes();
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 Py_INCREF(Py_None
); resultobj
= Py_None
;
30835 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxSizer
*arg1
= (wxSizer
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (arg1
)->CalcMin();
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30854 wxSize
* resultptr
;
30855 resultptr
= new wxSize((wxSize
&) result
);
30856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30864 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
;
30866 wxSizer
*arg1
= (wxSizer
*) 0 ;
30867 PyObject
* obj0
= 0 ;
30868 char *kwnames
[] = {
30869 (char *) "self", NULL
30872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 Py_INCREF(Py_None
); resultobj
= Py_None
;
30888 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30890 wxSizer
*arg1
= (wxSizer
*) 0 ;
30891 wxWindow
*arg2
= (wxWindow
*) 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "window", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (arg1
)->Fit(arg2
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30910 wxSize
* resultptr
;
30911 resultptr
= new wxSize((wxSize
&) result
);
30912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30920 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxSizer
*arg1
= (wxSizer
*) 0 ;
30923 wxWindow
*arg2
= (wxWindow
*) 0 ;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "self",(char *) "window", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->FitInside(arg2
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 Py_INCREF(Py_None
); resultobj
= Py_None
;
30947 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxSizer
*arg1
= (wxSizer
*) 0 ;
30950 wxWindow
*arg2
= (wxWindow
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "self",(char *) "window", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 (arg1
)->SetSizeHints(arg2
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 Py_INCREF(Py_None
); resultobj
= Py_None
;
30974 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxSizer
*arg1
= (wxSizer
*) 0 ;
30977 wxWindow
*arg2
= (wxWindow
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 PyObject
* obj1
= 0 ;
30980 char *kwnames
[] = {
30981 (char *) "self",(char *) "window", NULL
30984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 (arg1
)->SetVirtualSizeHints(arg2
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 Py_INCREF(Py_None
); resultobj
= Py_None
;
31001 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
;
31003 wxSizer
*arg1
= (wxSizer
*) 0 ;
31004 bool arg2
= (bool) False
;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "self",(char *) "delete_windows", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31014 arg2
= PyInt_AsLong(obj1
) ? true : false;
31015 if (PyErr_Occurred()) SWIG_fail
;
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 (arg1
)->Clear(arg2
);
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 Py_INCREF(Py_None
); resultobj
= Py_None
;
31031 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
;
31033 wxSizer
*arg1
= (wxSizer
*) 0 ;
31034 PyObject
* obj0
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 (arg1
)->DeleteWindows();
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 Py_INCREF(Py_None
); resultobj
= Py_None
;
31055 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxSizer
*arg1
= (wxSizer
*) 0 ;
31059 PyObject
* obj0
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= result
;
31080 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxSizer
*arg1
= (wxSizer
*) 0 ;
31083 PyObject
*arg2
= (PyObject
*) 0 ;
31084 bool arg3
= (bool) True
;
31085 PyObject
* obj0
= 0 ;
31086 PyObject
* obj1
= 0 ;
31087 PyObject
* obj2
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self",(char *) "item",(char *) "show", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31096 arg3
= PyInt_AsLong(obj2
) ? true : false;
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 wxSizer_Show(arg1
,arg2
,arg3
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 Py_INCREF(Py_None
); resultobj
= Py_None
;
31113 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
;
31115 wxSizer
*arg1
= (wxSizer
*) 0 ;
31116 PyObject
*arg2
= (PyObject
*) 0 ;
31117 PyObject
* obj0
= 0 ;
31118 PyObject
* obj1
= 0 ;
31119 char *kwnames
[] = {
31120 (char *) "self",(char *) "item", NULL
31123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 wxSizer_Hide(arg1
,arg2
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 Py_INCREF(Py_None
); resultobj
= Py_None
;
31140 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxSizer
*arg1
= (wxSizer
*) 0 ;
31143 PyObject
*arg2
= (PyObject
*) 0 ;
31145 PyObject
* obj0
= 0 ;
31146 PyObject
* obj1
= 0 ;
31147 char *kwnames
[] = {
31148 (char *) "self",(char *) "item", NULL
31151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= PyInt_FromLong((long)result
);
31168 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxSizer
*arg1
= (wxSizer
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 char *kwnames
[] = {
31175 (char *) "self",(char *) "show", NULL
31178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31180 arg2
= PyInt_AsLong(obj1
) ? true : false;
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 (arg1
)->ShowItems(arg2
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 Py_INCREF(Py_None
); resultobj
= Py_None
;
31196 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31199 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31201 return Py_BuildValue((char *)"");
31203 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31206 char *kwnames
[] = {
31210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (wxPySizer
*)new wxPySizer();
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31225 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31228 PyObject
*arg2
= (PyObject
*) 0 ;
31229 PyObject
*arg3
= (PyObject
*) 0 ;
31230 PyObject
* obj0
= 0 ;
31231 PyObject
* obj1
= 0 ;
31232 PyObject
* obj2
= 0 ;
31233 char *kwnames
[] = {
31234 (char *) "self",(char *) "self",(char *) "_class", NULL
31237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 Py_INCREF(Py_None
); resultobj
= Py_None
;
31255 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31258 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31260 return Py_BuildValue((char *)"");
31262 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 int arg1
= (int) wxHORIZONTAL
;
31265 wxBoxSizer
*result
;
31266 char *kwnames
[] = {
31267 (char *) "orient", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31285 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 char *kwnames
[] = {
31291 (char *) "self", NULL
31294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (int)(arg1
)->GetOrientation();
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= PyInt_FromLong((long)result
);
31310 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
;
31312 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31314 PyObject
* obj0
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "self",(char *) "orient", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 (arg1
)->SetOrientation(arg2
);
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 Py_INCREF(Py_None
); resultobj
= Py_None
;
31335 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
;
31337 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31338 PyObject
* obj0
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 (arg1
)->RecalcSizes();
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31352 Py_INCREF(Py_None
); resultobj
= Py_None
;
31359 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
;
31361 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31363 PyObject
* obj0
= 0 ;
31364 char *kwnames
[] = {
31365 (char *) "self", NULL
31368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (arg1
)->CalcMin();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31378 wxSize
* resultptr
;
31379 resultptr
= new wxSize((wxSize
&) result
);
31380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31388 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31391 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31393 return Py_BuildValue((char *)"");
31395 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31396 PyObject
*resultobj
;
31397 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31398 int arg2
= (int) wxHORIZONTAL
;
31399 wxStaticBoxSizer
*result
;
31400 PyObject
* obj0
= 0 ;
31401 char *kwnames
[] = {
31402 (char *) "box",(char *) "orient", NULL
31405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31421 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
;
31423 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31424 wxStaticBox
*result
;
31425 PyObject
* obj0
= 0 ;
31426 char *kwnames
[] = {
31427 (char *) "self", NULL
31430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= wxPyMake_wxObject(result
);
31448 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
;
31450 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31451 PyObject
* obj0
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 (arg1
)->RecalcSizes();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 Py_INCREF(Py_None
); resultobj
= Py_None
;
31472 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
;
31474 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31476 PyObject
* obj0
= 0 ;
31477 char *kwnames
[] = {
31478 (char *) "self", NULL
31481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 result
= (arg1
)->CalcMin();
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31491 wxSize
* resultptr
;
31492 resultptr
= new wxSize((wxSize
&) result
);
31493 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31501 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31504 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31506 return Py_BuildValue((char *)"");
31508 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
;
31510 int arg1
= (int) 1 ;
31511 int arg2
= (int) 0 ;
31512 int arg3
= (int) 0 ;
31513 int arg4
= (int) 0 ;
31514 wxGridSizer
*result
;
31515 char *kwnames
[] = {
31516 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31534 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31537 PyObject
* obj0
= 0 ;
31538 char *kwnames
[] = {
31539 (char *) "self", NULL
31542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->RecalcSizes();
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 Py_INCREF(Py_None
); resultobj
= Py_None
;
31558 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (arg1
)->CalcMin();
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 wxSize
* resultptr
;
31578 resultptr
= new wxSize((wxSize
&) result
);
31579 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31587 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self",(char *) "cols", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 (arg1
)->SetCols(arg2
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 Py_INCREF(Py_None
); resultobj
= Py_None
;
31612 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
;
31614 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31616 PyObject
* obj0
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self",(char *) "rows", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 (arg1
)->SetRows(arg2
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 Py_INCREF(Py_None
); resultobj
= Py_None
;
31637 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
;
31639 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31641 PyObject
* obj0
= 0 ;
31642 char *kwnames
[] = {
31643 (char *) "self",(char *) "gap", NULL
31646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 (arg1
)->SetVGap(arg2
);
31652 wxPyEndAllowThreads(__tstate
);
31653 if (PyErr_Occurred()) SWIG_fail
;
31655 Py_INCREF(Py_None
); resultobj
= Py_None
;
31662 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self",(char *) "gap", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->SetHGap(arg2
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 Py_INCREF(Py_None
); resultobj
= Py_None
;
31687 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
;
31689 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31691 PyObject
* obj0
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self", NULL
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (int)(arg1
)->GetCols();
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= PyInt_FromLong((long)result
);
31712 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
;
31714 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 char *kwnames
[] = {
31718 (char *) "self", NULL
31721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 result
= (int)(arg1
)->GetRows();
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= PyInt_FromLong((long)result
);
31737 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
;
31739 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31741 PyObject
* obj0
= 0 ;
31742 char *kwnames
[] = {
31743 (char *) "self", NULL
31746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 result
= (int)(arg1
)->GetVGap();
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= PyInt_FromLong((long)result
);
31762 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (int)(arg1
)->GetHGap();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= PyInt_FromLong((long)result
);
31787 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31790 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31792 return Py_BuildValue((char *)"");
31794 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 int arg1
= (int) 1 ;
31797 int arg2
= (int) 0 ;
31798 int arg3
= (int) 0 ;
31799 int arg4
= (int) 0 ;
31800 wxFlexGridSizer
*result
;
31801 char *kwnames
[] = {
31802 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31820 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
;
31822 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 (arg1
)->RecalcSizes();
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 Py_INCREF(Py_None
); resultobj
= Py_None
;
31844 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 result
= (arg1
)->CalcMin();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31863 wxSize
* resultptr
;
31864 resultptr
= new wxSize((wxSize
&) result
);
31865 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31873 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
;
31875 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31877 int arg3
= (int) 0 ;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 char *kwnames
[] = {
31881 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31886 arg2
= (size_t) PyInt_AsLong(obj1
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 (arg1
)->AddGrowableRow(arg2
,arg3
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 Py_INCREF(Py_None
); resultobj
= Py_None
;
31902 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
;
31904 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31906 PyObject
* obj0
= 0 ;
31907 PyObject
* obj1
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self",(char *) "idx", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31914 arg2
= (size_t) PyInt_AsLong(obj1
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 (arg1
)->RemoveGrowableRow(arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 Py_INCREF(Py_None
); resultobj
= Py_None
;
31930 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31931 PyObject
*resultobj
;
31932 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31934 int arg3
= (int) 0 ;
31935 PyObject
* obj0
= 0 ;
31936 PyObject
* obj1
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31943 arg2
= (size_t) PyInt_AsLong(obj1
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 (arg1
)->AddGrowableCol(arg2
,arg3
);
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 Py_INCREF(Py_None
); resultobj
= Py_None
;
31959 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31963 PyObject
* obj0
= 0 ;
31964 PyObject
* obj1
= 0 ;
31965 char *kwnames
[] = {
31966 (char *) "self",(char *) "idx", NULL
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31971 arg2
= (size_t) PyInt_AsLong(obj1
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 (arg1
)->RemoveGrowableCol(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 Py_INCREF(Py_None
); resultobj
= Py_None
;
31987 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31991 PyObject
* obj0
= 0 ;
31992 char *kwnames
[] = {
31993 (char *) "self",(char *) "direction", NULL
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 (arg1
)->SetFlexibleDirection(arg2
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32005 Py_INCREF(Py_None
); resultobj
= Py_None
;
32012 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
;
32014 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32016 PyObject
* obj0
= 0 ;
32017 char *kwnames
[] = {
32018 (char *) "self", NULL
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
32022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 result
= (int)(arg1
)->GetFlexibleDirection();
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= PyInt_FromLong((long)result
);
32037 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
;
32039 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32041 PyObject
* obj0
= 0 ;
32042 char *kwnames
[] = {
32043 (char *) "self",(char *) "mode", NULL
32046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 Py_INCREF(Py_None
); resultobj
= Py_None
;
32062 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32063 PyObject
*resultobj
;
32064 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= PyInt_FromLong((long)result
);
32087 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
;
32089 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32090 wxArrayInt
*result
;
32091 PyObject
* obj0
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
32097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
32102 result
= (wxArrayInt
*) &_result_ref
;
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= PyList_New(0);
32111 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32112 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32113 PyList_Append(resultobj
, val
);
32123 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32126 wxArrayInt
*result
;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32138 result
= (wxArrayInt
*) &_result_ref
;
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= PyList_New(0);
32147 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32148 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32149 PyList_Append(resultobj
, val
);
32159 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32162 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32164 return Py_BuildValue((char *)"");
32166 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32167 PyObject
*resultobj
;
32168 int arg1
= (int) 0 ;
32169 int arg2
= (int) 0 ;
32170 wxGBPosition
*result
;
32171 char *kwnames
[] = {
32172 (char *) "row",(char *) "col", NULL
32175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32190 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32191 PyObject
*resultobj
;
32192 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32194 PyObject
* obj0
= 0 ;
32195 char *kwnames
[] = {
32196 (char *) "self", NULL
32199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= PyInt_FromLong((long)result
);
32215 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32216 PyObject
*resultobj
;
32217 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32219 PyObject
* obj0
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= PyInt_FromLong((long)result
);
32240 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
;
32242 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32244 PyObject
* obj0
= 0 ;
32245 char *kwnames
[] = {
32246 (char *) "self",(char *) "row", NULL
32249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 (arg1
)->SetRow(arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 Py_INCREF(Py_None
); resultobj
= Py_None
;
32265 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
;
32267 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 char *kwnames
[] = {
32271 (char *) "self",(char *) "col", NULL
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 (arg1
)->SetCol(arg2
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 Py_INCREF(Py_None
); resultobj
= Py_None
;
32290 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32293 wxGBPosition
*arg2
= 0 ;
32295 wxGBPosition temp2
;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self",(char *) "p", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32306 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= PyInt_FromLong((long)result
);
32322 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
;
32324 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32325 wxGBPosition
*arg2
= 0 ;
32327 wxGBPosition temp2
;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "p", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32338 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= PyInt_FromLong((long)result
);
32354 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32355 PyObject
*resultobj
;
32356 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32357 int arg2
= (int) 0 ;
32358 int arg3
= (int) 0 ;
32359 PyObject
* obj0
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self",(char *) "row",(char *) "col", NULL
32364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 wxGBPosition_Set(arg1
,arg2
,arg3
);
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32373 Py_INCREF(Py_None
); resultobj
= Py_None
;
32380 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
;
32382 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32384 PyObject
* obj0
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= result
;
32405 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32408 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32410 return Py_BuildValue((char *)"");
32412 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 int arg1
= (int) 1 ;
32415 int arg2
= (int) 1 ;
32417 char *kwnames
[] = {
32418 (char *) "rowspan",(char *) "colspan", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32436 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32437 PyObject
*resultobj
;
32438 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32440 PyObject
* obj0
= 0 ;
32441 char *kwnames
[] = {
32442 (char *) "self", NULL
32445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= PyInt_FromLong((long)result
);
32461 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self", NULL
32470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= PyInt_FromLong((long)result
);
32486 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
;
32488 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self",(char *) "rowspan", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->SetRowspan(arg2
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 Py_INCREF(Py_None
); resultobj
= Py_None
;
32511 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32515 PyObject
* obj0
= 0 ;
32516 char *kwnames
[] = {
32517 (char *) "self",(char *) "colspan", NULL
32520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->SetColspan(arg2
);
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 Py_INCREF(Py_None
); resultobj
= Py_None
;
32536 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32539 wxGBSpan
*arg2
= 0 ;
32542 PyObject
* obj0
= 0 ;
32543 PyObject
* obj1
= 0 ;
32544 char *kwnames
[] = {
32545 (char *) "self",(char *) "o", NULL
32548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32552 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= PyInt_FromLong((long)result
);
32568 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32569 PyObject
*resultobj
;
32570 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32571 wxGBSpan
*arg2
= 0 ;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 char *kwnames
[] = {
32577 (char *) "self",(char *) "o", NULL
32580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32584 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= PyInt_FromLong((long)result
);
32600 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
;
32602 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32603 int arg2
= (int) 1 ;
32604 int arg3
= (int) 1 ;
32605 PyObject
* obj0
= 0 ;
32606 char *kwnames
[] = {
32607 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 wxGBSpan_Set(arg1
,arg2
,arg3
);
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 Py_INCREF(Py_None
); resultobj
= Py_None
;
32626 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32627 PyObject
*resultobj
;
32628 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32630 PyObject
* obj0
= 0 ;
32631 char *kwnames
[] = {
32632 (char *) "self", NULL
32635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= result
;
32651 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32654 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32656 return Py_BuildValue((char *)"");
32658 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32659 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32664 static PyObject
*_wrap_DefaultSpan_get() {
32667 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32672 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxGBSizerItem
*result
;
32675 char *kwnames
[] = {
32679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32694 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
;
32696 wxWindow
*arg1
= (wxWindow
*) 0 ;
32697 wxGBPosition
*arg2
= 0 ;
32698 wxGBSpan
*arg3
= 0 ;
32701 wxObject
*arg6
= (wxObject
*) 0 ;
32702 wxGBSizerItem
*result
;
32703 wxGBPosition temp2
;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 PyObject
* obj2
= 0 ;
32708 PyObject
* obj5
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32717 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32721 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32723 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32726 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32738 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
;
32740 wxSizer
*arg1
= (wxSizer
*) 0 ;
32741 wxGBPosition
*arg2
= 0 ;
32742 wxGBSpan
*arg3
= 0 ;
32745 wxObject
*arg6
= (wxObject
*) 0 ;
32746 wxGBSizerItem
*result
;
32747 wxGBPosition temp2
;
32749 PyObject
* obj0
= 0 ;
32750 PyObject
* obj1
= 0 ;
32751 PyObject
* obj2
= 0 ;
32752 PyObject
* obj5
= 0 ;
32753 char *kwnames
[] = {
32754 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32761 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32765 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32767 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32782 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
;
32786 wxGBPosition
*arg3
= 0 ;
32787 wxGBSpan
*arg4
= 0 ;
32790 wxObject
*arg7
= (wxObject
*) 0 ;
32791 wxGBSizerItem
*result
;
32792 wxGBPosition temp3
;
32794 PyObject
* obj2
= 0 ;
32795 PyObject
* obj3
= 0 ;
32796 PyObject
* obj6
= 0 ;
32797 char *kwnames
[] = {
32798 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32804 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32808 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32810 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32825 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32828 wxGBPosition result
;
32829 PyObject
* obj0
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32844 wxGBPosition
* resultptr
;
32845 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32854 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
;
32856 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32858 PyObject
* obj0
= 0 ;
32859 char *kwnames
[] = {
32860 (char *) "self", NULL
32863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32873 wxGBSpan
* resultptr
;
32874 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32875 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32883 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32884 PyObject
*resultobj
;
32885 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32886 wxGBPosition
*arg2
= 0 ;
32888 wxGBPosition temp2
;
32889 PyObject
* obj0
= 0 ;
32890 PyObject
* obj1
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self",(char *) "pos", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32899 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= PyInt_FromLong((long)result
);
32915 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32917 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32918 wxGBSpan
*arg2
= 0 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 char *kwnames
[] = {
32924 (char *) "self",(char *) "span", NULL
32927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32931 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= PyInt_FromLong((long)result
);
32947 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32948 PyObject
*resultobj
;
32949 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32950 wxGBSizerItem
*arg2
= 0 ;
32952 PyObject
* obj0
= 0 ;
32953 PyObject
* obj1
= 0 ;
32955 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32958 if (arg2
== NULL
) {
32959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= PyInt_FromLong((long)result
);
32975 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32976 PyObject
*resultobj
;
32977 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32978 wxGBPosition
*arg2
= 0 ;
32979 wxGBSpan
*arg3
= 0 ;
32981 wxGBPosition temp2
;
32983 PyObject
* obj0
= 0 ;
32984 PyObject
* obj1
= 0 ;
32985 PyObject
* obj2
= 0 ;
32987 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32991 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32995 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= PyInt_FromLong((long)result
);
33011 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
33016 argc
= PyObject_Length(args
);
33017 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33018 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33024 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33034 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33042 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33050 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33059 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33063 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33066 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33072 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33077 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
;
33079 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 PyObject
* obj2
= 0 ;
33085 char *kwnames
[] = {
33086 (char *) "self",(char *) "row",(char *) "col", NULL
33089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33092 if (arg2
== NULL
) {
33093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33095 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33096 if (arg3
== NULL
) {
33097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 (arg1
)->GetEndPos(*arg2
,*arg3
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 Py_INCREF(Py_None
); resultobj
= Py_None
;
33113 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
;
33115 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33116 wxGridBagSizer
*result
;
33117 PyObject
* obj0
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "self", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33138 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33141 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33142 PyObject
* obj0
= 0 ;
33143 PyObject
* obj1
= 0 ;
33144 char *kwnames
[] = {
33145 (char *) "self",(char *) "sizer", NULL
33148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 (arg1
)->SetGBSizer(arg2
);
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 Py_INCREF(Py_None
); resultobj
= Py_None
;
33165 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33168 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33170 return Py_BuildValue((char *)"");
33172 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 int arg1
= (int) 0 ;
33175 int arg2
= (int) 0 ;
33176 wxGridBagSizer
*result
;
33177 char *kwnames
[] = {
33178 (char *) "vgap",(char *) "hgap", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33196 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33197 PyObject
*resultobj
;
33198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33199 PyObject
*arg2
= (PyObject
*) 0 ;
33200 wxGBPosition
*arg3
= 0 ;
33201 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33202 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33203 int arg5
= (int) 0 ;
33204 int arg6
= (int) 0 ;
33205 PyObject
*arg7
= (PyObject
*) NULL
;
33207 wxGBPosition temp3
;
33209 PyObject
* obj0
= 0 ;
33210 PyObject
* obj1
= 0 ;
33211 PyObject
* obj2
= 0 ;
33212 PyObject
* obj3
= 0 ;
33213 PyObject
* obj6
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33223 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33228 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= PyInt_FromLong((long)result
);
33248 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
;
33250 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33251 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self",(char *) "item", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (bool)(arg1
)->Add(arg2
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33269 resultobj
= PyInt_FromLong((long)result
);
33276 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
;
33278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33280 PyObject
* obj0
= 0 ;
33281 char *kwnames
[] = {
33282 (char *) "self", NULL
33285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33289 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33295 wxSize
* resultptr
;
33296 resultptr
= new wxSize((wxSize
&) result
);
33297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33305 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
;
33307 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33310 PyObject
* obj0
= 0 ;
33311 PyObject
* obj1
= 0 ;
33312 char *kwnames
[] = {
33313 (char *) "self",(char *) "sz", NULL
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33320 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33324 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33326 wxPyEndAllowThreads(__tstate
);
33327 if (PyErr_Occurred()) SWIG_fail
;
33329 Py_INCREF(Py_None
); resultobj
= Py_None
;
33336 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33337 PyObject
*resultobj
;
33338 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33339 wxWindow
*arg2
= (wxWindow
*) 0 ;
33340 wxGBPosition result
;
33341 PyObject
* obj0
= 0 ;
33342 PyObject
* obj1
= 0 ;
33344 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33349 result
= (arg1
)->GetItemPosition(arg2
);
33351 wxPyEndAllowThreads(__tstate
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33355 wxGBPosition
* resultptr
;
33356 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33365 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33366 PyObject
*resultobj
;
33367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33368 wxSizer
*arg2
= (wxSizer
*) 0 ;
33369 wxGBPosition result
;
33370 PyObject
* obj0
= 0 ;
33371 PyObject
* obj1
= 0 ;
33373 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 result
= (arg1
)->GetItemPosition(arg2
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33384 wxGBPosition
* resultptr
;
33385 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33386 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33394 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33395 PyObject
*resultobj
;
33396 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33398 wxGBPosition result
;
33399 PyObject
* obj0
= 0 ;
33400 PyObject
* obj1
= 0 ;
33402 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33404 arg2
= (size_t) PyInt_AsLong(obj1
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 result
= (arg1
)->GetItemPosition(arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33414 wxGBPosition
* resultptr
;
33415 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33424 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33429 argc
= PyObject_Length(args
);
33430 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33431 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33437 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33447 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33455 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33463 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33473 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33481 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33489 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33498 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33501 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33506 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33511 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33512 PyObject
*resultobj
;
33513 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33514 wxWindow
*arg2
= (wxWindow
*) 0 ;
33515 wxGBPosition
*arg3
= 0 ;
33517 wxGBPosition temp3
;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 PyObject
* obj2
= 0 ;
33522 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33527 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33533 wxPyEndAllowThreads(__tstate
);
33534 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= PyInt_FromLong((long)result
);
33543 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33544 PyObject
*resultobj
;
33545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33546 wxSizer
*arg2
= (wxSizer
*) 0 ;
33547 wxGBPosition
*arg3
= 0 ;
33549 wxGBPosition temp3
;
33550 PyObject
* obj0
= 0 ;
33551 PyObject
* obj1
= 0 ;
33552 PyObject
* obj2
= 0 ;
33554 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33559 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= PyInt_FromLong((long)result
);
33575 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33576 PyObject
*resultobj
;
33577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33579 wxGBPosition
*arg3
= 0 ;
33581 wxGBPosition temp3
;
33582 PyObject
* obj0
= 0 ;
33583 PyObject
* obj1
= 0 ;
33584 PyObject
* obj2
= 0 ;
33586 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33588 arg2
= (size_t) PyInt_AsLong(obj1
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33592 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= PyInt_FromLong((long)result
);
33608 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33613 argc
= PyObject_Length(args
);
33614 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33621 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33631 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33640 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33643 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33652 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33662 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33671 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33674 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33683 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33692 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33696 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33699 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33705 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33710 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33711 PyObject
*resultobj
;
33712 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33713 wxWindow
*arg2
= (wxWindow
*) 0 ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33718 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 result
= (arg1
)->GetItemSpan(arg2
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33729 wxGBSpan
* resultptr
;
33730 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33731 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33739 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33740 PyObject
*resultobj
;
33741 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33742 wxSizer
*arg2
= (wxSizer
*) 0 ;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33747 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (arg1
)->GetItemSpan(arg2
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33758 wxGBSpan
* resultptr
;
33759 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33768 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33769 PyObject
*resultobj
;
33770 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33776 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33778 arg2
= (size_t) PyInt_AsLong(obj1
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (arg1
)->GetItemSpan(arg2
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33788 wxGBSpan
* resultptr
;
33789 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33798 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33803 argc
= PyObject_Length(args
);
33804 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33805 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33811 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33821 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33829 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33837 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33847 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33855 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33863 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33872 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33875 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33880 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33885 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33886 PyObject
*resultobj
;
33887 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33888 wxWindow
*arg2
= (wxWindow
*) 0 ;
33889 wxGBSpan
*arg3
= 0 ;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 PyObject
* obj2
= 0 ;
33896 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33901 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= PyInt_FromLong((long)result
);
33917 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33918 PyObject
*resultobj
;
33919 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33920 wxSizer
*arg2
= (wxSizer
*) 0 ;
33921 wxGBSpan
*arg3
= 0 ;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 PyObject
* obj2
= 0 ;
33928 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33933 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= PyInt_FromLong((long)result
);
33949 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33950 PyObject
*resultobj
;
33951 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33953 wxGBSpan
*arg3
= 0 ;
33956 PyObject
* obj0
= 0 ;
33957 PyObject
* obj1
= 0 ;
33958 PyObject
* obj2
= 0 ;
33960 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33962 arg2
= (size_t) PyInt_AsLong(obj1
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33966 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33975 resultobj
= PyInt_FromLong((long)result
);
33982 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33987 argc
= PyObject_Length(args
);
33988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33995 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34005 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34014 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34017 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
34026 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34036 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34045 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34048 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34057 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34066 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34070 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34073 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34079 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34084 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34085 PyObject
*resultobj
;
34086 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34087 wxWindow
*arg2
= (wxWindow
*) 0 ;
34088 wxGBSizerItem
*result
;
34089 PyObject
* obj0
= 0 ;
34090 PyObject
* obj1
= 0 ;
34092 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34109 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34110 PyObject
*resultobj
;
34111 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34112 wxSizer
*arg2
= (wxSizer
*) 0 ;
34113 wxGBSizerItem
*result
;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34117 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34134 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34139 argc
= PyObject_Length(args
);
34140 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34141 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34147 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34157 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34165 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34173 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34183 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34191 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34196 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34201 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34204 wxGBPosition
*arg2
= 0 ;
34205 wxGBSizerItem
*result
;
34206 wxGBPosition temp2
;
34207 PyObject
* obj0
= 0 ;
34208 PyObject
* obj1
= 0 ;
34209 char *kwnames
[] = {
34210 (char *) "self",(char *) "pos", NULL
34213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34217 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34233 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34236 wxPoint
*arg2
= 0 ;
34237 wxGBSizerItem
*result
;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 char *kwnames
[] = {
34242 (char *) "self",(char *) "pt", NULL
34245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34265 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
;
34267 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34268 wxObject
*arg2
= (wxObject
*) 0 ;
34269 wxGBSizerItem
*result
;
34270 PyObject
* obj0
= 0 ;
34271 PyObject
* obj1
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "self",(char *) "userData", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34293 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
;
34295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 (arg1
)->RecalcSizes();
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 Py_INCREF(Py_None
); resultobj
= Py_None
;
34317 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 char *kwnames
[] = {
34323 (char *) "self", NULL
34326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 result
= (arg1
)->CalcMin();
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34336 wxSize
* resultptr
;
34337 resultptr
= new wxSize((wxSize
&) result
);
34338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34346 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34347 PyObject
*resultobj
;
34348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34349 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34350 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 PyObject
* obj2
= 0 ;
34356 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34360 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= PyInt_FromLong((long)result
);
34376 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34377 PyObject
*resultobj
;
34378 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34379 wxGBPosition
*arg2
= 0 ;
34380 wxGBSpan
*arg3
= 0 ;
34381 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34383 wxGBPosition temp2
;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34388 PyObject
* obj3
= 0 ;
34390 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34394 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34398 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34401 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34410 resultobj
= PyInt_FromLong((long)result
);
34417 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34422 argc
= PyObject_Length(args
);
34423 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34424 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34426 if ((argc
>= 2) && (argc
<= 3)) {
34430 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34440 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34449 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34453 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34461 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34466 if ((argc
>= 3) && (argc
<= 4)) {
34470 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34479 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34483 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34487 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34491 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34499 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34506 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34511 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34514 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34516 return Py_BuildValue((char *)"");
34518 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34519 PyObject
*resultobj
;
34520 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34522 wxWindow
*arg3
= (wxWindow
*) 0 ;
34524 int arg5
= (int) 0 ;
34525 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj2
= 0 ;
34528 char *kwnames
[] = {
34529 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34534 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34537 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 Py_INCREF(Py_None
); resultobj
= Py_None
;
34549 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
;
34551 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34552 wxWindow
*arg2
= (wxWindow
*) 0 ;
34553 int arg3
= (int) 0 ;
34554 PyObject
* obj0
= 0 ;
34555 PyObject
* obj1
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 (arg1
)->LeftOf(arg2
,arg3
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 Py_INCREF(Py_None
); resultobj
= Py_None
;
34577 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
;
34579 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34580 wxWindow
*arg2
= (wxWindow
*) 0 ;
34581 int arg3
= (int) 0 ;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 (arg1
)->RightOf(arg2
,arg3
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 Py_INCREF(Py_None
); resultobj
= Py_None
;
34605 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34608 wxWindow
*arg2
= (wxWindow
*) 0 ;
34609 int arg3
= (int) 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char *kwnames
[] = {
34613 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 (arg1
)->Above(arg2
,arg3
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 Py_INCREF(Py_None
); resultobj
= Py_None
;
34633 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
;
34635 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34636 wxWindow
*arg2
= (wxWindow
*) 0 ;
34637 int arg3
= (int) 0 ;
34638 PyObject
* obj0
= 0 ;
34639 PyObject
* obj1
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 (arg1
)->Below(arg2
,arg3
);
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34654 Py_INCREF(Py_None
); resultobj
= Py_None
;
34661 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34664 wxWindow
*arg2
= (wxWindow
*) 0 ;
34666 int arg4
= (int) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 Py_INCREF(Py_None
); resultobj
= Py_None
;
34690 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
;
34692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34693 wxWindow
*arg2
= (wxWindow
*) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 Py_INCREF(Py_None
); resultobj
= Py_None
;
34719 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self",(char *) "val", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 (arg1
)->Absolute(arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 Py_INCREF(Py_None
); resultobj
= Py_None
;
34744 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34747 PyObject
* obj0
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 (arg1
)->Unconstrained();
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 Py_INCREF(Py_None
); resultobj
= Py_None
;
34768 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34771 PyObject
* obj0
= 0 ;
34772 char *kwnames
[] = {
34773 (char *) "self", NULL
34776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34785 Py_INCREF(Py_None
); resultobj
= Py_None
;
34792 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34796 PyObject
* obj0
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34807 wxPyEndAllowThreads(__tstate
);
34808 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= wxPyMake_wxObject(result
);
34819 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
;
34821 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 char *kwnames
[] = {
34825 (char *) "self", NULL
34828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= PyInt_FromLong((long)result
);
34844 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34848 PyObject
* obj0
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self",(char *) "which", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 (arg1
)->SetEdge((wxEdge
)arg2
);
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 Py_INCREF(Py_None
); resultobj
= Py_None
;
34869 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34870 PyObject
*resultobj
;
34871 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 char *kwnames
[] = {
34875 (char *) "self",(char *) "v", NULL
34878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 (arg1
)->SetValue(arg2
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 Py_INCREF(Py_None
); resultobj
= Py_None
;
34894 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
;
34896 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 char *kwnames
[] = {
34900 (char *) "self", NULL
34903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (int)(arg1
)->GetMargin();
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34912 resultobj
= PyInt_FromLong((long)result
);
34919 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34920 PyObject
*resultobj
;
34921 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34923 PyObject
* obj0
= 0 ;
34924 char *kwnames
[] = {
34925 (char *) "self",(char *) "m", NULL
34928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 (arg1
)->SetMargin(arg2
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34937 Py_INCREF(Py_None
); resultobj
= Py_None
;
34944 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
;
34946 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 char *kwnames
[] = {
34950 (char *) "self", NULL
34953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34957 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= PyInt_FromLong((long)result
);
34969 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
;
34971 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 char *kwnames
[] = {
34975 (char *) "self", NULL
34978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= PyInt_FromLong((long)result
);
34994 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34995 PyObject
*resultobj
;
34996 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34998 PyObject
* obj0
= 0 ;
34999 char *kwnames
[] = {
35000 (char *) "self", NULL
35003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
35004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= PyInt_FromLong((long)result
);
35019 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35020 PyObject
*resultobj
;
35021 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35023 PyObject
* obj0
= 0 ;
35024 char *kwnames
[] = {
35025 (char *) "self", NULL
35028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
35029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35037 resultobj
= PyInt_FromLong((long)result
);
35044 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
;
35046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35048 PyObject
* obj0
= 0 ;
35049 PyObject
* obj1
= 0 ;
35050 char *kwnames
[] = {
35051 (char *) "self",(char *) "d", NULL
35054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
35055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35056 arg2
= PyInt_AsLong(obj1
) ? true : false;
35057 if (PyErr_Occurred()) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 (arg1
)->SetDone(arg2
);
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 Py_INCREF(Py_None
); resultobj
= Py_None
;
35072 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
;
35074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35076 PyObject
* obj0
= 0 ;
35077 char *kwnames
[] = {
35078 (char *) "self", NULL
35081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35085 result
= (int)(arg1
)->GetRelationship();
35087 wxPyEndAllowThreads(__tstate
);
35088 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= PyInt_FromLong((long)result
);
35097 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35098 PyObject
*resultobj
;
35099 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35101 PyObject
* obj0
= 0 ;
35102 char *kwnames
[] = {
35103 (char *) "self",(char *) "r", NULL
35106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 Py_INCREF(Py_None
); resultobj
= Py_None
;
35122 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
;
35124 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35125 wxWindow
*arg2
= (wxWindow
*) 0 ;
35127 PyObject
* obj0
= 0 ;
35128 PyObject
* obj1
= 0 ;
35129 char *kwnames
[] = {
35130 (char *) "self",(char *) "otherW", NULL
35133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 resultobj
= PyInt_FromLong((long)result
);
35150 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35153 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35154 wxWindow
*arg3
= (wxWindow
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 PyObject
* obj2
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "constraints",(char *) "win", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35166 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= PyInt_FromLong((long)result
);
35181 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
;
35183 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35185 wxWindow
*arg3
= (wxWindow
*) 0 ;
35186 wxWindow
*arg4
= (wxWindow
*) 0 ;
35188 PyObject
* obj0
= 0 ;
35189 PyObject
* obj2
= 0 ;
35190 PyObject
* obj3
= 0 ;
35191 char *kwnames
[] = {
35192 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35197 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35198 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 resultobj
= PyInt_FromLong((long)result
);
35213 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35216 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35218 return Py_BuildValue((char *)"");
35220 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
;
35222 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35223 wxIndividualLayoutConstraint
*result
;
35224 PyObject
* obj0
= 0 ;
35225 char *kwnames
[] = {
35226 (char *) "self", NULL
35229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35231 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35240 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
;
35242 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35243 wxIndividualLayoutConstraint
*result
;
35244 PyObject
* obj0
= 0 ;
35245 char *kwnames
[] = {
35246 (char *) "self", NULL
35249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35251 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35260 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35263 wxIndividualLayoutConstraint
*result
;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35271 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35280 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35283 wxIndividualLayoutConstraint
*result
;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35291 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35300 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
;
35302 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35303 wxIndividualLayoutConstraint
*result
;
35304 PyObject
* obj0
= 0 ;
35305 char *kwnames
[] = {
35306 (char *) "self", NULL
35309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35311 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35320 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
;
35322 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35323 wxIndividualLayoutConstraint
*result
;
35324 PyObject
* obj0
= 0 ;
35325 char *kwnames
[] = {
35326 (char *) "self", NULL
35329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35331 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35340 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35341 PyObject
*resultobj
;
35342 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35343 wxIndividualLayoutConstraint
*result
;
35344 PyObject
* obj0
= 0 ;
35345 char *kwnames
[] = {
35346 (char *) "self", NULL
35349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35351 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35360 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35361 PyObject
*resultobj
;
35362 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35363 wxIndividualLayoutConstraint
*result
;
35364 PyObject
* obj0
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "self", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35371 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35380 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
;
35382 wxLayoutConstraints
*result
;
35383 char *kwnames
[] = {
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35392 wxPyEndAllowThreads(__tstate
);
35393 if (PyErr_Occurred()) SWIG_fail
;
35395 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35402 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35403 PyObject
*resultobj
;
35404 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35405 wxWindow
*arg2
= (wxWindow
*) 0 ;
35406 int *arg3
= (int *) 0 ;
35409 PyObject
* obj0
= 0 ;
35410 PyObject
* obj1
= 0 ;
35411 char *kwnames
[] = {
35412 (char *) "self",(char *) "win", NULL
35416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= PyInt_FromLong((long)result
);
35428 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35429 resultobj
= t_output_helper(resultobj
,o
);
35437 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
;
35439 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35441 PyObject
* obj0
= 0 ;
35442 char *kwnames
[] = {
35443 (char *) "self", NULL
35446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= PyInt_FromLong((long)result
);
35462 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35465 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35467 return Py_BuildValue((char *)"");
35469 static PyMethodDef SwigMethods
[] = {
35470 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35471 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35474 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35475 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35483 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35487 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35493 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35496 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35498 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35503 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35506 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35515 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35521 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35528 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35529 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35533 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35545 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35546 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35548 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35558 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35572 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35591 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35600 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35601 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35614 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35618 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35620 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35628 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35629 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35641 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35652 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35657 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35663 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35673 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35683 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35687 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35690 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35693 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35722 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35743 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35757 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35760 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35762 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35764 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35766 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35768 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35770 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35772 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35774 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35776 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35778 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35780 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35794 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35812 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35815 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35817 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35818 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35830 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35835 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35841 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35847 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35879 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35909 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35916 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35923 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35935 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35951 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35961 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35971 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35973 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35975 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35978 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35982 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35985 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35988 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35990 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35995 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
36003 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
36007 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
36010 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
36012 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
36016 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
36033 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
36035 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
36038 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
36040 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
36044 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
36048 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
36056 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
36059 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
36062 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
36066 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36073 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36078 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36083 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36127 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
36144 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
36148 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36223 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36308 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36323 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36334 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36348 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36351 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36406 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36433 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36462 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36469 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36486 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36487 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36522 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36527 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36536 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36539 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36541 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36551 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36554 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36557 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36558 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36559 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36560 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36561 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36562 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36564 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36565 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36566 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36567 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36569 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36573 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36577 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36585 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36587 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36588 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36591 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36594 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36595 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36596 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36600 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36601 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36602 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36605 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36606 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36607 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36608 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36609 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36610 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36611 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36612 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36613 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36614 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36615 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36616 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36617 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36618 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36619 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36620 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36621 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36622 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36623 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36624 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36625 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36626 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36627 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36628 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36629 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36630 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36631 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36632 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36633 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36634 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36635 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36636 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36637 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36638 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36639 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36640 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36641 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36642 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36643 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36644 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36645 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36646 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36647 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36648 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36649 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36650 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36651 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36652 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36653 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36654 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36655 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36656 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36657 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36658 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36659 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36660 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36661 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36662 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36663 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36664 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36665 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36666 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36667 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36668 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36669 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36670 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36671 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36672 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36673 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36674 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36675 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36676 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36677 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36678 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36679 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36684 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36686 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36687 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36689 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36690 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36692 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36693 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36695 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36696 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36698 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36699 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36701 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36702 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36704 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36705 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36707 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36708 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36710 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36713 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36714 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36716 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36717 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36719 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36720 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36722 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36723 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36725 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36726 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36728 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36729 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36731 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36734 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36735 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36737 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36738 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36740 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36741 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36743 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36746 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36747 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36749 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36750 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36752 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36753 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36755 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36756 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36758 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36759 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36761 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36762 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36764 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36765 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36767 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36768 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36770 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36773 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36774 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36776 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36777 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36779 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36780 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36782 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36783 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36785 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36786 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36788 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36789 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36791 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36794 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36795 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36797 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36798 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36800 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36803 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36806 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36807 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36809 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36810 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36812 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36813 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36815 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36816 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36818 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36819 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36821 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36822 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36824 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36825 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36827 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36828 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36830 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36831 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36833 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36834 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36836 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36839 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36840 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36842 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36843 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36845 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36846 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36848 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36851 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36852 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36854 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36855 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36857 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36858 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36860 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36861 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36863 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36864 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36866 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36867 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36869 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36870 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36872 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36873 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36875 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36876 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36878 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36879 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36881 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36882 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36884 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36885 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36887 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36888 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36890 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36891 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36893 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36894 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36896 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36897 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36899 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36900 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36902 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36903 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36905 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36906 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36908 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36909 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36911 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36912 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36914 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36915 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36917 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36918 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36920 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36921 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36923 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36926 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36927 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36929 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36930 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36932 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36933 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36935 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36936 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36938 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36941 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36944 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36945 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36947 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36948 return (void *)((wxObject
*) ((wxSizer
*) x
));
36950 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36951 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36953 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36954 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36956 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36957 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36959 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36960 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36962 static void *_p_wxImageTo_p_wxObject(void *x
) {
36963 return (void *)((wxObject
*) ((wxImage
*) x
));
36965 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36968 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36971 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36972 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36974 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36975 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36977 static void *_p_wxControlTo_p_wxObject(void *x
) {
36978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36980 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36981 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36983 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36984 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36986 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36987 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36989 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36990 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36992 static void *_p_wxEventTo_p_wxObject(void *x
) {
36993 return (void *)((wxObject
*) ((wxEvent
*) x
));
36995 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36996 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36998 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36999 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37001 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37002 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37004 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37005 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37007 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37008 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37010 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37011 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37013 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37016 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37017 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37019 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37022 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37023 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37025 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37028 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37029 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37031 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37034 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37035 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37037 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37038 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37040 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37041 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37043 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37044 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37046 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37047 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37049 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37050 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37052 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37053 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37055 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37056 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37058 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37061 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37062 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37064 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37065 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37067 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37070 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37071 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37073 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37076 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37077 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37079 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37080 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37082 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37083 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37085 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37086 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37088 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37091 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37092 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37094 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37095 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37097 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37098 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37100 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37101 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37103 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37104 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37106 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37107 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37109 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37110 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37112 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37115 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37116 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37118 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37119 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37121 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37124 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37125 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37127 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37128 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37130 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37131 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37133 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37134 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37136 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37137 return (void *)((wxWindow
*) ((wxControl
*) x
));
37139 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37140 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37142 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37143 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37145 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37146 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37148 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37149 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37151 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37152 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37154 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37155 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37157 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37158 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37160 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37161 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37163 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37164 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37166 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37167 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37169 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37170 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37172 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37173 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37174 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37175 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37176 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37177 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37178 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}};
37179 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37180 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37181 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37182 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37183 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37184 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37185 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}};
37186 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}};
37187 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37188 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37189 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37190 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37191 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37192 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37193 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37194 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37195 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37196 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37197 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37198 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37199 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37200 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37201 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37202 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37203 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37204 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37205 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37206 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37207 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37208 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37209 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37210 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37211 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37212 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37213 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37214 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37215 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37216 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37217 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37218 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37219 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37220 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37221 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37222 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37223 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37224 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37225 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37226 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37227 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37228 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37229 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37230 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37231 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37232 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37233 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37234 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37235 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}};
37236 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37237 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}};
37238 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}};
37239 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}};
37240 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}};
37241 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37242 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37243 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37244 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37245 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37246 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37247 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37248 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37249 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37250 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37251 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37252 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37253 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37254 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37255 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37256 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}};
37257 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37258 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37259 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37260 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37261 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37262 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37263 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37264 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}};
37265 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37266 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37267 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37268 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37269 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37270 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37271 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37272 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37273 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37274 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37275 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37276 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}};
37277 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37278 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37279 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37280 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37281 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37282 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37283 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37284 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37285 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37287 static swig_type_info
*swig_types_initial
[] = {
37288 _swigt__p_wxLayoutConstraints
,
37289 _swigt__p_wxRealPoint
,
37290 _swigt__p_wxSizerItem
,
37291 _swigt__p_wxGBSizerItem
,
37292 _swigt__p_wxScrollEvent
,
37293 _swigt__p_wxIndividualLayoutConstraint
,
37295 _swigt__p_wxBoxSizer
,
37296 _swigt__p_wxStaticBoxSizer
,
37297 _swigt__p_wxGridBagSizer
,
37298 _swigt__p_wxAcceleratorEntry
,
37299 _swigt__p_wxUpdateUIEvent
,
37302 _swigt__p_wxGridSizer
,
37303 _swigt__p_wxFlexGridSizer
,
37304 _swigt__p_wxInitDialogEvent
,
37305 _swigt__p_wxItemContainer
,
37306 _swigt__p_wxNcPaintEvent
,
37307 _swigt__p_wxPaintEvent
,
37308 _swigt__p_wxSysColourChangedEvent
,
37309 _swigt__p_wxMouseCaptureChangedEvent
,
37310 _swigt__p_wxDisplayChangedEvent
,
37311 _swigt__p_wxPaletteChangedEvent
,
37312 _swigt__p_wxControl
,
37314 _swigt__p_wxMenuBarBase
,
37315 _swigt__p_wxSetCursorEvent
,
37316 _swigt__p_wxFSFile
,
37318 _swigt__p_wxRegion
,
37319 _swigt__p_wxPoint2D
,
37323 _swigt__p_wxPySizer
,
37324 _swigt__p_wxNotifyEvent
,
37325 _swigt__p_wxPyEvent
,
37326 _swigt__p_wxPropagationDisabler
,
37327 _swigt__p_wxAppTraits
,
37328 _swigt__p_wxArrayString
,
37329 _swigt__p_wxShowEvent
,
37330 _swigt__p_wxToolTip
,
37331 _swigt__p_wxMaximizeEvent
,
37332 _swigt__p_wxIconizeEvent
,
37333 _swigt__p_wxActivateEvent
,
37334 _swigt__p_wxMoveEvent
,
37335 _swigt__p_wxSizeEvent
,
37336 _swigt__p_wxQueryNewPaletteEvent
,
37337 _swigt__p_wxWindowCreateEvent
,
37338 _swigt__p_wxIdleEvent
,
37339 _swigt__p_wxMenuItem
,
37340 _swigt__p_wxStaticBox
,
37342 _swigt__p_wxTIFFHandler
,
37343 _swigt__p_wxXPMHandler
,
37344 _swigt__p_wxPNMHandler
,
37345 _swigt__p_wxJPEGHandler
,
37346 _swigt__p_wxPCXHandler
,
37347 _swigt__p_wxGIFHandler
,
37348 _swigt__p_wxPNGHandler
,
37349 _swigt__p_wxANIHandler
,
37350 _swigt__p_wxMemoryFSHandler
,
37351 _swigt__p_wxEvtHandler
,
37352 _swigt__p_wxCURHandler
,
37353 _swigt__p_wxICOHandler
,
37354 _swigt__p_wxBMPHandler
,
37355 _swigt__p_wxImageHandler
,
37356 _swigt__p_wxFileSystemHandler
,
37357 _swigt__p_wxPyFileSystemHandler
,
37358 _swigt__p_wxInternetFSHandler
,
37359 _swigt__p_wxZipFSHandler
,
37361 _swigt__p_wxGBSpan
,
37362 _swigt__p_wxPropagateOnce
,
37363 _swigt__p_wxAcceleratorTable
,
37364 _swigt__p_wxGBPosition
,
37367 _swigt__p_wxScrollWinEvent
,
37368 _swigt__p_wxImageHistogram
,
37371 _swigt__p_wxCursor
,
37372 _swigt__p_wxObject
,
37373 _swigt__p_wxPyInputStream
,
37374 _swigt__p_wxOutputStream
,
37375 _swigt__p_wxInputStream
,
37376 _swigt__p_wxDateTime
,
37377 _swigt__p_wxKeyEvent
,
37378 _swigt__p_wxNavigationKeyEvent
,
37379 _swigt__p_wxWindowDestroyEvent
,
37380 _swigt__p_wxWindow
,
37381 _swigt__p_wxMenuBar
,
37382 _swigt__p_wxString
,
37383 _swigt__p_wxFileSystem
,
37384 _swigt__p_wxBitmap
,
37385 _swigt__p_wxMenuEvent
,
37386 _swigt__p_wxContextMenuEvent
,
37387 _swigt__p_unsigned_char
,
37388 _swigt__p_wxCloseEvent
,
37389 _swigt__p_wxEraseEvent
,
37390 _swigt__p_wxMouseEvent
,
37392 _swigt__p_wxCommandEvent
,
37393 _swigt__p_wxPyCommandEvent
,
37394 _swigt__p_wxPyDropTarget
,
37395 _swigt__p_wxChildFocusEvent
,
37396 _swigt__p_wxFocusEvent
,
37397 _swigt__p_wxDropFilesEvent
,
37398 _swigt__p_wxControlWithItems
,
37399 _swigt__p_wxColour
,
37400 _swigt__p_wxValidator
,
37401 _swigt__p_wxPyValidator
,
37406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37408 static swig_const_info swig_const_table
[] = {
37409 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37640 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37641 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37642 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37643 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37644 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37645 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37646 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37647 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37648 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37649 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37650 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37651 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37652 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37653 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37654 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37655 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37656 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37657 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37658 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37659 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37660 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37661 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37662 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37663 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37664 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37665 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37666 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37667 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37668 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37669 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37670 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37671 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37672 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37673 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37674 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37675 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37676 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37677 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37678 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37679 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37680 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37681 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37682 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37683 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37684 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37685 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37686 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37687 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37688 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37689 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37690 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37691 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37692 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37693 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37694 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37695 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37696 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37697 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37698 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37699 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37700 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37701 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37702 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37703 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37704 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37705 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37706 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37707 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37708 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37709 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37710 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37711 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37712 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37713 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37714 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37715 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37716 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37717 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37718 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37719 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37720 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37721 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37722 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37723 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37724 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37725 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37726 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37727 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37728 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37729 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37730 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37731 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37732 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38100 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38101 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38102 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38103 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38104 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38105 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38106 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38107 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38108 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38109 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38110 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38111 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38112 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38113 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38114 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38115 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38116 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38117 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38118 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38119 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38120 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38121 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38122 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38123 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38124 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38125 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38126 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38127 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38128 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38129 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38130 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38131 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38132 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38133 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38134 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38135 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38136 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38137 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38138 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38139 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38140 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38141 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38142 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38143 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38144 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38145 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38146 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38147 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38148 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38149 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38150 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38151 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38152 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38153 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38154 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38155 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38156 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38157 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38158 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38159 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38160 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38161 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38162 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38163 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38164 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38165 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38166 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38167 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38168 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38169 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38170 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38171 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38172 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38173 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38174 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38175 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38176 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38177 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38187 SWIGEXPORT(void) SWIG_init(void) {
38188 static PyObject
*SWIG_globals
= 0;
38189 static int typeinit
= 0;
38192 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38193 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38194 d
= PyModule_GetDict(m
);
38197 for (i
= 0; swig_types_initial
[i
]; i
++) {
38198 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38202 SWIG_InstallConstants(d
,swig_const_table
);
38205 #ifndef wxPyUSE_EXPORT
38206 // Make our API structure a CObject so other modules can import it
38207 // from this module.
38208 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38209 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38213 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38214 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38215 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38217 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38220 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38222 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38223 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38224 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38225 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38226 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38227 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38228 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38229 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38230 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38231 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38232 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38233 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38236 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38237 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38239 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38240 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38241 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38242 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38243 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38244 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38245 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38246 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38247 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38248 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38249 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38250 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38251 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38252 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38253 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38254 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38255 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38256 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38257 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38258 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38259 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38260 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38261 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38262 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38263 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38264 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38265 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38266 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38267 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38268 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38269 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38270 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38271 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38272 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38273 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38274 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38275 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38276 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38277 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38278 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38279 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38280 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38281 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38282 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38283 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38284 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38285 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38286 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38287 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38288 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38289 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38290 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38291 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38292 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38293 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38294 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38295 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38296 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38297 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38298 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38299 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38300 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38301 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38302 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38303 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38304 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38305 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38306 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38307 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38308 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38309 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38310 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38311 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38312 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38313 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38314 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38315 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38316 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38317 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38318 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38319 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38320 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38321 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38322 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38323 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38324 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38325 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38326 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38327 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38328 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38329 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38330 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38331 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38332 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38333 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38334 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38337 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38338 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38339 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38340 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38341 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38342 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38343 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38344 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38345 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38347 // Initialize threading, some globals and such
38351 // Although these are defined in __version__ they need to be here too so
38352 // that an assert can be done to ensure that the wxPython and the wxWindows
38354 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38355 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38356 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));