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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
331 ------------------------------------------------*/
332 #define SWIG_init init_core
334 #define SWIG_name "_core"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx.core module and will then have safe access to these functions, even if
497 // they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 PyObject
*wxImage_GetData(wxImage
*self
){
1117 unsigned char* data
= self
->GetData();
1118 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1120 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1123 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1124 unsigned char* dataPtr
;
1126 if (! PyString_Check(data
)) {
1127 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1131 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1132 dataPtr
= (unsigned char*) malloc(len
);
1133 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1134 self
->SetData(dataPtr
);
1135 // wxImage takes ownership of dataPtr...
1137 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1138 unsigned char* data
= self
->GetData();
1139 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1141 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1144 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1145 unsigned char* buffer
;
1148 bool blocked
= wxPyBeginBlockThreads();
1149 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1152 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1153 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1156 self
->SetData(buffer
);
1158 wxPyEndBlockThreads(blocked
);
1160 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1161 unsigned char* data
= self
->GetAlpha();
1165 int len
= self
->GetWidth() * self
->GetHeight();
1167 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1171 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1172 unsigned char* dataPtr
;
1174 if (! PyString_Check(data
)) {
1175 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1179 size_t len
= self
->GetWidth() * self
->GetHeight();
1180 dataPtr
= (unsigned char*) malloc(len
);
1181 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1182 self
->SetAlpha(dataPtr
);
1183 // wxImage takes ownership of dataPtr...
1185 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1186 unsigned char* data
= self
->GetAlpha();
1187 int len
= self
->GetWidth() * self
->GetHeight();
1189 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1192 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1193 unsigned char* buffer
;
1196 bool blocked
= wxPyBeginBlockThreads();
1197 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1200 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1201 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1204 self
->SetAlpha(buffer
);
1206 wxPyEndBlockThreads(blocked
);
1209 SWIGSTATICINLINE(int)
1210 SWIG_CheckUnsignedLong(PyObject
* obj
)
1212 SWIG_AsUnsignedLong(obj
);
1213 if (PyErr_Occurred()) {
1221 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1222 wxBitmap
bitmap(*self
);
1225 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1226 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1227 wxBitmap
bitmap( mono
, 1 );
1230 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1231 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1232 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1233 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1234 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1235 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1236 if (PyCallable_Check(func
)) {
1237 self
->Connect(id
, lastId
, eventType
,
1238 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1239 new wxPyCallback(func
));
1241 else if (func
== Py_None
) {
1242 self
->Disconnect(id
, lastId
, eventType
,
1243 (wxObjectEventFunction
)
1244 &wxPyCallback::EventThunker
);
1247 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1250 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1251 return self
->Disconnect(id
, lastId
, eventType
,
1252 (wxObjectEventFunction
)
1253 &wxPyCallback::EventThunker
);
1255 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1256 if (_self
&& _self
!= Py_None
) {
1257 self
->SetClientObject(new wxPyOORClientData(_self
));
1260 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1262 self
->SetClientObject(NULL
); // This will delete it too
1266 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1268 return self
->m_uniChar
;
1274 #if UINT_MAX < LONG_MAX
1275 #define SWIG_FromUnsignedInt SWIG_FromLong
1277 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1281 #if UINT_MAX != ULONG_MAX
1282 SWIGSTATICINLINE(unsigned int)
1283 SWIG_AsUnsignedInt(PyObject
*obj
)
1285 return swig_numeric_cast(unsigned int,
1286 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1287 "unsigned int", UINT_MAX
));
1290 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1294 SWIGSTATICINLINE(int)
1295 SWIG_CheckUnsignedInt(PyObject
* obj
)
1297 SWIG_AsUnsignedInt(obj
);
1298 if (PyErr_Occurred()) {
1306 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1307 self
->m_size
= size
;
1309 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1312 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1313 int count
= self
->GetNumberOfFiles();
1314 wxString
* files
= self
->GetFiles();
1315 PyObject
* list
= PyList_New(count
);
1318 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1322 for (int i
=0; i
<count
; i
++) {
1323 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1329 wxPyApp
*new_wxPyApp(){
1330 wxPythonApp
= new wxPyApp();
1333 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1335 void wxApp_CleanUp() {
1340 wxPyApp
* wxGetApp() {
1341 return (wxPyApp
*)wxTheApp
;
1346 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1347 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1348 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1349 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1350 wxWindowList
& list
= self
->GetChildren();
1351 return wxPy_ConvertList(&list
);
1353 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1355 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1360 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1367 long wxWindow_GetHandle(wxWindow
*self
){
1368 return wxPyGetWinHandle(self
);
1371 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1372 return wxWindow::FindWindowById(id
, parent
);
1375 wxWindow
* wxFindWindowByName( const wxString
& name
,
1376 const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowByName(name
, parent
);
1380 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByLabel(label
, parent
);
1387 #include <wx/msw/private.h> // to get wxGetWindowId
1391 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1393 WXHWND hWnd
= (WXHWND
)_hWnd
;
1394 long id
= wxGetWindowId(hWnd
);
1395 wxWindow
* win
= new wxWindow
;
1396 parent
->AddChild(win
);
1397 win
->SetEventHandler(win
);
1400 win
->SubclassWin(hWnd
);
1401 win
->AdoptAttributesFromHWND();
1402 win
->SetupColours();
1405 wxPyRaiseNotImplemented();
1411 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1412 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1413 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1415 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1417 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1418 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1419 wxMenuItemList
& list
= self
->GetMenuItems();
1420 return wxPy_ConvertList(&list
);
1422 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1423 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1424 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1426 wxPyClientData
* data
= new wxPyClientData(clientData
);
1427 return self
->Append(item
, data
);
1429 return self
->Append(item
);
1431 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1433 wxPyClientData
* data
= new wxPyClientData(clientData
);
1434 return self
->Insert(item
, pos
, data
);
1436 return self
->Insert(item
, pos
);
1438 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1439 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1441 Py_INCREF(data
->m_obj
);
1448 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1449 wxPyClientData
* data
= new wxPyClientData(clientData
);
1450 self
->SetClientObject(n
, data
);
1458 SWIG_FloatCast(double value
)
1461 if (!PyErr_Occurred()) {
1462 if (value
< FLT_MIN
) {
1464 PyString_FromFormat("value %g is less than float minimum %g",
1466 PyErr_SetObject(PyExc_OverflowError
, err
);
1468 } else if (value
> FLT_MAX
) {
1470 PyString_FromFormat("value %g is greater than float maximum %g",
1472 PyErr_SetObject(PyExc_OverflowError
, err
);
1475 f
= swig_numeric_cast(float, value
);
1482 SWIGSTATICINLINE(float)
1483 SWIG_AsFloat(PyObject
*obj
)
1485 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1489 SWIGSTATICINLINE(int)
1490 SWIG_CheckFloat(PyObject
* obj
)
1493 if (PyErr_Occurred()) {
1501 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1502 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1504 Py_INCREF(data
->m_obj
);
1512 // Figure out the type of the sizer item
1514 struct wxPySizerItemInfo
{
1516 : window(NULL
), sizer(NULL
), gotSize(False
),
1517 size(wxDefaultSize
), gotPos(False
), pos(-1)
1528 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1530 wxPySizerItemInfo info
;
1532 wxSize
* sizePtr
= &size
;
1534 // Find out what the type of the item is
1536 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1541 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1545 // try wxSize or (w,h)
1546 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1547 info
.size
= *sizePtr
;
1548 info
.gotSize
= True
;
1552 if (checkIdx
&& PyInt_Check(item
)) {
1553 info
.pos
= PyInt_AsLong(item
);
1559 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1560 // no expected type, figure out what kind of error message to generate
1561 if ( !checkSize
&& !checkIdx
)
1562 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1563 else if ( checkSize
&& !checkIdx
)
1564 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1565 else if ( !checkSize
&& checkIdx
)
1566 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1568 // can this one happen?
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1575 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1576 self
->SetClientObject(new wxPyOORClientData(_self
));
1578 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1580 wxPyUserData
* data
= NULL
;
1581 bool blocked
= wxPyBeginBlockThreads();
1582 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1583 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1584 data
= new wxPyUserData(userData
);
1585 wxPyEndBlockThreads(blocked
);
1587 // Now call the real Add method if a valid item type was found
1589 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1590 else if ( info
.sizer
)
1591 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1592 else if (info
.gotSize
)
1593 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1594 proportion
, flag
, border
, data
);
1596 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1598 wxPyUserData
* data
= NULL
;
1599 bool blocked
= wxPyBeginBlockThreads();
1600 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1601 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1602 data
= new wxPyUserData(userData
);
1603 wxPyEndBlockThreads(blocked
);
1605 // Now call the real Insert method if a valid item type was found
1607 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1608 else if ( info
.sizer
)
1609 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1610 else if (info
.gotSize
)
1611 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1612 proportion
, flag
, border
, data
);
1614 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1616 wxPyUserData
* data
= NULL
;
1617 bool blocked
= wxPyBeginBlockThreads();
1618 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1619 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1620 data
= new wxPyUserData(userData
);
1621 wxPyEndBlockThreads(blocked
);
1623 // Now call the real Prepend method if a valid item type was found
1625 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1626 else if ( info
.sizer
)
1627 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1628 else if (info
.gotSize
)
1629 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1630 proportion
, flag
, border
, data
);
1632 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1633 bool blocked
= wxPyBeginBlockThreads();
1634 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1635 wxPyEndBlockThreads(blocked
);
1637 return self
->Remove(info
.window
);
1638 else if ( info
.sizer
)
1639 return self
->Remove(info
.sizer
);
1640 else if ( info
.gotPos
)
1641 return self
->Remove(info
.pos
);
1645 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1646 bool blocked
= wxPyBeginBlockThreads();
1647 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1648 wxPyEndBlockThreads(blocked
);
1650 self
->SetItemMinSize(info
.window
, size
);
1651 else if ( info
.sizer
)
1652 self
->SetItemMinSize(info
.sizer
, size
);
1653 else if ( info
.gotPos
)
1654 self
->SetItemMinSize(info
.pos
, size
);
1656 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1657 wxSizerItemList
& list
= self
->GetChildren();
1658 return wxPy_ConvertList(&list
);
1660 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1661 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1663 self
->Show(info
.window
, show
);
1664 else if ( info
.sizer
)
1665 self
->Show(info
.sizer
, show
);
1667 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1668 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1670 self
->Hide(info
.window
);
1671 else if ( info
.sizer
)
1672 self
->Hide(info
.sizer
);
1674 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1675 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1677 return self
->IsShown(info
.window
);
1678 else if ( info
.sizer
)
1679 return self
->IsShown(info
.sizer
);
1685 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1686 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1687 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1692 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1694 if (source
== Py_None
) {
1695 **obj
= wxGBPosition(-1,-1);
1698 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1701 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1703 if (source
== Py_None
) {
1704 **obj
= wxGBSpan(-1,-1);
1707 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1711 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1715 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1716 bool blocked
= wxPyBeginBlockThreads();
1717 PyObject
* tup
= PyTuple_New(2);
1718 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1719 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1720 wxPyEndBlockThreads(blocked
);
1723 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1724 self
->SetRowspan(rowspan
);
1725 self
->SetColspan(colspan
);
1727 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1728 bool blocked
= wxPyBeginBlockThreads();
1729 PyObject
* tup
= PyTuple_New(2);
1730 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1731 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1732 wxPyEndBlockThreads(blocked
);
1735 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1737 wxPyUserData
* data
= NULL
;
1738 bool blocked
= wxPyBeginBlockThreads();
1739 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1740 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1741 data
= new wxPyUserData(userData
);
1742 wxPyEndBlockThreads(blocked
);
1744 // Now call the real Add method if a valid item type was found
1746 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1747 else if ( info
.sizer
)
1748 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1749 else if (info
.gotSize
)
1750 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1751 pos
, span
, flag
, border
, data
);
1759 static int _wrap_EmptyString_set(PyObject
*_val
) {
1760 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1765 static PyObject
*_wrap_EmptyString_get() {
1770 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1772 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1779 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxObject
*arg1
= (wxObject
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1785 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= wxObject_GetClassName(arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1811 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxObject
*arg1
= (wxObject
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxObject_Destroy(arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 Py_INCREF(Py_None
); resultobj
= Py_None
;
1836 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1839 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1841 return Py_BuildValue((char *)"");
1843 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxSize
*arg1
= (wxSize
*) 0 ;
1847 PyObject
* obj0
= 0 ;
1848 PyObject
* obj1
= 0 ;
1850 (char *) "self",(char *) "x", NULL
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1856 arg2
= (int) SWIG_AsInt(obj1
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1858 if (arg1
) (arg1
)->x
= arg2
;
1860 Py_INCREF(Py_None
); resultobj
= Py_None
;
1867 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxSize
*arg1
= (wxSize
*) 0 ;
1871 PyObject
* obj0
= 0 ;
1873 (char *) "self", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1879 result
= (int) ((arg1
)->x
);
1881 resultobj
= SWIG_FromInt((int)result
);
1888 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxSize
*arg1
= (wxSize
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1893 PyObject
* obj1
= 0 ;
1895 (char *) "self",(char *) "y", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 arg2
= (int) SWIG_AsInt(obj1
);
1902 if (PyErr_Occurred()) SWIG_fail
;
1903 if (arg1
) (arg1
)->y
= arg2
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1912 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxSize
*arg1
= (wxSize
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1924 result
= (int) ((arg1
)->y
);
1926 resultobj
= SWIG_FromInt((int)result
);
1933 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 int arg1
= (int) 0 ;
1936 int arg2
= (int) 0 ;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1941 (char *) "w",(char *) "h", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1946 arg1
= (int) SWIG_AsInt(obj0
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1950 arg2
= (int) SWIG_AsInt(obj1
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1967 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxSize
*arg1
= (wxSize
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1972 (char *) "self", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1977 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_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxSize
*arg1
= (wxSize
*) 0 ;
1998 PyObject
* obj0
= 0 ;
1999 PyObject
* obj1
= 0 ;
2001 (char *) "self",(char *) "sz", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2027 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxSize
*arg1
= (wxSize
*) 0 ;
2033 PyObject
* obj0
= 0 ;
2034 PyObject
* obj1
= 0 ;
2036 (char *) "self",(char *) "sz", NULL
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2062 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxSize
*arg1
= (wxSize
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "sz", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2090 resultptr
= new wxSize((wxSize
&) result
);
2091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2099 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxSize
*arg1
= (wxSize
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "sz", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2127 resultptr
= new wxSize((wxSize
&) result
);
2128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2136 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
*resultobj
;
2138 wxSize
*arg1
= (wxSize
*) 0 ;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2144 (char *) "self",(char *) "sz", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 (arg1
)->IncTo((wxSize
const &)*arg2
);
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxSize
*arg1
= (wxSize
*) 0 ;
2173 PyObject
* obj0
= 0 ;
2174 PyObject
* obj1
= 0 ;
2176 (char *) "self",(char *) "sz", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 (arg1
)->DecTo((wxSize
const &)*arg2
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxSize
*arg1
= (wxSize
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2206 PyObject
* obj1
= 0 ;
2207 PyObject
* obj2
= 0 ;
2209 (char *) "self",(char *) "w",(char *) "h", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 arg2
= (int) SWIG_AsInt(obj1
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2217 arg3
= (int) SWIG_AsInt(obj2
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 (arg1
)->Set(arg2
,arg3
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxSize
*arg1
= (wxSize
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "w", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 arg2
= (int) SWIG_AsInt(obj1
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 (arg1
)->SetWidth(arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxSize
*arg1
= (wxSize
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 (char *) "self",(char *) "h", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 arg2
= (int) SWIG_AsInt(obj1
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 (arg1
)->SetHeight(arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxSize
*arg1
= (wxSize
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "self", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= SWIG_FromInt((int)result
);
2317 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2319 wxSize
*arg1
= (wxSize
*) 0 ;
2321 PyObject
* obj0
= 0 ;
2323 (char *) "self", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= SWIG_FromInt((int)result
);
2343 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxSize
*arg1
= (wxSize
*) 0 ;
2347 PyObject
* obj0
= 0 ;
2349 (char *) "self", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2371 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxSize
*arg1
= (wxSize
*) 0 ;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "self",(char *) "size", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2403 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxSize
*arg1
= (wxSize
*) 0 ;
2407 PyObject
* obj0
= 0 ;
2409 (char *) "self", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (PyObject
*)wxSize_Get(arg1
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2429 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2432 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2434 return Py_BuildValue((char *)"");
2436 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2443 (char *) "self",(char *) "x", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2449 arg2
= (double) SWIG_AsDouble(obj1
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2451 if (arg1
) (arg1
)->x
= arg2
;
2453 Py_INCREF(Py_None
); resultobj
= Py_None
;
2460 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2466 (char *) "self", NULL
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2472 result
= (double) ((arg1
)->x
);
2474 resultobj
= SWIG_FromDouble((double)result
);
2481 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2485 PyObject
* obj0
= 0 ;
2486 PyObject
* obj1
= 0 ;
2488 (char *) "self",(char *) "y", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 arg2
= (double) SWIG_AsDouble(obj1
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2496 if (arg1
) (arg1
)->y
= arg2
;
2498 Py_INCREF(Py_None
); resultobj
= Py_None
;
2505 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "self", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 result
= (double) ((arg1
)->y
);
2519 resultobj
= SWIG_FromDouble((double)result
);
2526 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 double arg1
= (double) 0.0 ;
2529 double arg2
= (double) 0.0 ;
2530 wxRealPoint
*result
;
2531 PyObject
* obj0
= 0 ;
2532 PyObject
* obj1
= 0 ;
2534 (char *) "x",(char *) "y", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 arg1
= (double) SWIG_AsDouble(obj0
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2543 arg2
= (double) SWIG_AsDouble(obj1
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2560 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2563 PyObject
* obj0
= 0 ;
2565 (char *) "self", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2588 wxRealPoint
*arg2
= 0 ;
2591 PyObject
* obj0
= 0 ;
2592 PyObject
* obj1
= 0 ;
2594 (char *) "self",(char *) "pt", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2602 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2620 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2623 wxRealPoint
*arg2
= 0 ;
2626 PyObject
* obj0
= 0 ;
2627 PyObject
* obj1
= 0 ;
2629 (char *) "self",(char *) "pt", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2637 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2655 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2658 wxRealPoint
*arg2
= 0 ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2664 (char *) "self",(char *) "pt", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2672 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2682 wxRealPoint
* resultptr
;
2683 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2692 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2695 wxRealPoint
*arg2
= 0 ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "pt", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 wxRealPoint
* resultptr
;
2720 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2729 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2736 PyObject
* obj2
= 0 ;
2738 (char *) "self",(char *) "x",(char *) "y", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 arg2
= (double) SWIG_AsDouble(obj1
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2746 arg3
= (double) SWIG_AsDouble(obj2
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 wxRealPoint_Set(arg1
,arg2
,arg3
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2766 PyObject
* obj0
= 0 ;
2768 (char *) "self", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2788 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2791 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2793 return Py_BuildValue((char *)"");
2795 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxPoint
*arg1
= (wxPoint
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2802 (char *) "self",(char *) "x", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2808 arg2
= (int) SWIG_AsInt(obj1
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2810 if (arg1
) (arg1
)->x
= arg2
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxPoint
*arg1
= (wxPoint
*) 0 ;
2823 PyObject
* obj0
= 0 ;
2825 (char *) "self", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 result
= (int) ((arg1
)->x
);
2833 resultobj
= SWIG_FromInt((int)result
);
2840 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxPoint
*arg1
= (wxPoint
*) 0 ;
2844 PyObject
* obj0
= 0 ;
2845 PyObject
* obj1
= 0 ;
2847 (char *) "self",(char *) "y", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 arg2
= (int) SWIG_AsInt(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2855 if (arg1
) (arg1
)->y
= arg2
;
2857 Py_INCREF(Py_None
); resultobj
= Py_None
;
2864 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxPoint
*arg1
= (wxPoint
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2870 (char *) "self", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2876 result
= (int) ((arg1
)->y
);
2878 resultobj
= SWIG_FromInt((int)result
);
2885 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 int arg1
= (int) 0 ;
2888 int arg2
= (int) 0 ;
2890 PyObject
* obj0
= 0 ;
2891 PyObject
* obj1
= 0 ;
2893 (char *) "x",(char *) "y", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2898 arg1
= (int) SWIG_AsInt(obj0
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 arg2
= (int) SWIG_AsInt(obj1
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2919 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxPoint
*arg1
= (wxPoint
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2924 (char *) "self", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 Py_INCREF(Py_None
); resultobj
= Py_None
;
2944 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxPoint
*arg1
= (wxPoint
*) 0 ;
2950 PyObject
* obj0
= 0 ;
2951 PyObject
* obj1
= 0 ;
2953 (char *) "self",(char *) "pt", NULL
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2979 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxPoint
*arg1
= (wxPoint
*) 0 ;
2985 PyObject
* obj0
= 0 ;
2986 PyObject
* obj1
= 0 ;
2988 (char *) "self",(char *) "pt", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3014 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
*resultobj
;
3016 wxPoint
*arg1
= (wxPoint
*) 0 ;
3020 PyObject
* obj0
= 0 ;
3021 PyObject
* obj1
= 0 ;
3023 (char *) "self",(char *) "pt", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 wxPoint
* resultptr
;
3042 resultptr
= new wxPoint((wxPoint
&) result
);
3043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3051 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxPoint
*arg1
= (wxPoint
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj1
= 0 ;
3060 (char *) "self",(char *) "pt", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 wxPoint
* resultptr
;
3079 resultptr
= new wxPoint((wxPoint
&) result
);
3080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3088 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxPoint
*arg1
= (wxPoint
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "pt", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3111 result
= (wxPoint
*) &_result_ref
;
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3124 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxPoint
*arg1
= (wxPoint
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3133 (char *) "self",(char *) "pt", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3147 result
= (wxPoint
*) &_result_ref
;
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3160 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxPoint
*arg1
= (wxPoint
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3167 PyObject
* obj2
= 0 ;
3169 (char *) "self",(char *) "x",(char *) "y", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 arg2
= (long) SWIG_AsLong(obj1
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3177 arg3
= (long) SWIG_AsLong(obj2
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxPoint_Set(arg1
,arg2
,arg3
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxPoint
*arg1
= (wxPoint
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (PyObject
*)wxPoint_Get(arg1
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3219 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3222 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3224 return Py_BuildValue((char *)"");
3226 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 int arg1
= (int) 0 ;
3229 int arg2
= (int) 0 ;
3230 int arg3
= (int) 0 ;
3231 int arg4
= (int) 0 ;
3233 PyObject
* obj0
= 0 ;
3234 PyObject
* obj1
= 0 ;
3235 PyObject
* obj2
= 0 ;
3236 PyObject
* obj3
= 0 ;
3238 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3243 arg1
= (int) SWIG_AsInt(obj0
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3247 arg2
= (int) SWIG_AsInt(obj1
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 arg3
= (int) SWIG_AsInt(obj2
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 arg4
= (int) SWIG_AsInt(obj3
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3272 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3282 (char *) "topLeft",(char *) "bottomRight", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3288 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3308 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3318 (char *) "pos",(char *) "size", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3344 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxRect
*arg1
= (wxRect
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3349 (char *) "self", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxRect
*arg1
= (wxRect
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "self", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (int)((wxRect
const *)arg1
)->GetX();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_FromInt((int)result
);
3395 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxRect
*arg1
= (wxRect
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3402 (char *) "self",(char *) "x", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg2
= (int) SWIG_AsInt(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxRect
*arg1
= (wxRect
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 (char *) "self", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (int)(arg1
)->GetY();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= SWIG_FromInt((int)result
);
3450 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxRect
*arg1
= (wxRect
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3457 (char *) "self",(char *) "y", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 arg2
= (int) SWIG_AsInt(obj1
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxRect
*arg1
= (wxRect
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 resultobj
= SWIG_FromInt((int)result
);
3505 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
;
3507 wxRect
*arg1
= (wxRect
*) 0 ;
3509 PyObject
* obj0
= 0 ;
3510 PyObject
* obj1
= 0 ;
3512 (char *) "self",(char *) "w", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3518 arg2
= (int) SWIG_AsInt(obj1
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 (arg1
)->SetWidth(arg2
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 Py_INCREF(Py_None
); resultobj
= Py_None
;
3534 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxRect
*arg1
= (wxRect
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3540 (char *) "self", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_FromInt((int)result
);
3560 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxRect
*arg1
= (wxRect
*) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3567 (char *) "self",(char *) "h", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (int) SWIG_AsInt(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 (arg1
)->SetHeight(arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxRect
*arg1
= (wxRect
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3595 (char *) "self", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= ((wxRect
const *)arg1
)->GetPosition();
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 wxPoint
* resultptr
;
3610 resultptr
= new wxPoint((wxPoint
&) result
);
3611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3619 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxRect
*arg1
= (wxRect
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3627 (char *) "self",(char *) "p", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxRect
*arg1
= (wxRect
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3657 (char *) "self", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= ((wxRect
const *)arg1
)->GetSize();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3672 resultptr
= new wxSize((wxSize
&) result
);
3673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3681 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxRect
*arg1
= (wxRect
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3689 (char *) "self",(char *) "s", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 (arg1
)->SetSize((wxSize
const &)*arg2
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxRect
*arg1
= (wxRect
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "self", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 wxPoint
* resultptr
;
3734 resultptr
= new wxPoint((wxPoint
&) result
);
3735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3743 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxRect
*arg1
= (wxRect
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3751 (char *) "self",(char *) "p", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxRect
*arg1
= (wxRect
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "self", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3795 wxPoint
* resultptr
;
3796 resultptr
= new wxPoint((wxPoint
&) result
);
3797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3805 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxRect
*arg1
= (wxRect
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3813 (char *) "self",(char *) "p", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxRect
*arg1
= (wxRect
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_FromInt((int)result
);
3863 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxRect
*arg1
= (wxRect
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (int)((wxRect
const *)arg1
)->GetTop();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_FromInt((int)result
);
3889 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxRect
*arg1
= (wxRect
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3895 (char *) "self", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_FromInt((int)result
);
3915 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxRect
*arg1
= (wxRect
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (int)((wxRect
const *)arg1
)->GetRight();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= SWIG_FromInt((int)result
);
3941 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxRect
*arg1
= (wxRect
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "left", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 arg2
= (int) SWIG_AsInt(obj1
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->SetLeft(arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxRect
*arg1
= (wxRect
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "right", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 arg2
= (int) SWIG_AsInt(obj1
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetRight(arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxRect
*arg1
= (wxRect
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4006 (char *) "self",(char *) "top", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 arg2
= (int) SWIG_AsInt(obj1
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 (arg1
)->SetTop(arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxRect
*arg1
= (wxRect
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 (char *) "self",(char *) "bottom", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= (int) SWIG_AsInt(obj1
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 (arg1
)->SetBottom(arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 Py_INCREF(Py_None
); resultobj
= Py_None
;
4057 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxRect
*arg1
= (wxRect
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4067 (char *) "self",(char *) "dx",(char *) "dy", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= (int) SWIG_AsInt(obj1
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4075 arg3
= (int) SWIG_AsInt(obj2
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4081 result
= (wxRect
*) &_result_ref
;
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4094 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRect
*arg1
= (wxRect
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4102 PyObject
* obj2
= 0 ;
4104 (char *) "self",(char *) "dx",(char *) "dy", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 arg2
= (int) SWIG_AsInt(obj1
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4112 arg3
= (int) SWIG_AsInt(obj2
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4118 result
= (wxRect
*) &_result_ref
;
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4131 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxRect
*arg1
= (wxRect
*) 0 ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 PyObject
* obj2
= 0 ;
4140 (char *) "self",(char *) "dx",(char *) "dy", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 arg2
= (int) SWIG_AsInt(obj1
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4148 arg3
= (int) SWIG_AsInt(obj2
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 (arg1
)->Offset(arg2
,arg3
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 Py_INCREF(Py_None
); resultobj
= Py_None
;
4164 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxRect
*arg1
= (wxRect
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "pt", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->Offset((wxPoint
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxRect
*arg1
= (wxRect
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "self",(char *) "rect", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4213 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4219 result
= (wxRect
*) &_result_ref
;
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4232 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxRect
*arg1
= (wxRect
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4241 (char *) "self",(char *) "rect", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4260 resultptr
= new wxRect((wxRect
&) result
);
4261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4269 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxRect
*arg1
= (wxRect
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "rect", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4292 result
= (wxRect
*) &_result_ref
;
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4305 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxRect
*arg1
= (wxRect
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4314 (char *) "self",(char *) "rect", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4340 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxRect
*arg1
= (wxRect
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "rect", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxRect
*arg1
= (wxRect
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4383 PyObject
* obj2
= 0 ;
4385 (char *) "self",(char *) "x",(char *) "y", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 arg2
= (int) SWIG_AsInt(obj1
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4393 arg3
= (int) SWIG_AsInt(obj2
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxRect
*arg1
= (wxRect
*) 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4420 (char *) "self",(char *) "pt", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4446 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxRect
*arg1
= (wxRect
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4455 (char *) "self",(char *) "rect", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4463 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4481 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxRect
*arg1
= (wxRect
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "x", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 arg2
= (int) SWIG_AsInt(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4496 if (arg1
) (arg1
)->x
= arg2
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxRect
*arg1
= (wxRect
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "self", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4517 result
= (int) ((arg1
)->x
);
4519 resultobj
= SWIG_FromInt((int)result
);
4526 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxRect
*arg1
= (wxRect
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "y", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 arg2
= (int) SWIG_AsInt(obj1
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4541 if (arg1
) (arg1
)->y
= arg2
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxRect
*arg1
= (wxRect
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4562 result
= (int) ((arg1
)->y
);
4564 resultobj
= SWIG_FromInt((int)result
);
4571 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxRect
*arg1
= (wxRect
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4578 (char *) "self",(char *) "width", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 arg2
= (int) SWIG_AsInt(obj1
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4586 if (arg1
) (arg1
)->width
= arg2
;
4588 Py_INCREF(Py_None
); resultobj
= Py_None
;
4595 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxRect
*arg1
= (wxRect
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 result
= (int) ((arg1
)->width
);
4609 resultobj
= SWIG_FromInt((int)result
);
4616 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxRect
*arg1
= (wxRect
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4623 (char *) "self",(char *) "height", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 arg2
= (int) SWIG_AsInt(obj1
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4631 if (arg1
) (arg1
)->height
= arg2
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4640 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4652 result
= (int) ((arg1
)->height
);
4654 resultobj
= SWIG_FromInt((int)result
);
4661 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxRect
*arg1
= (wxRect
*) 0 ;
4664 int arg2
= (int) 0 ;
4665 int arg3
= (int) 0 ;
4666 int arg4
= (int) 0 ;
4667 int arg5
= (int) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4672 PyObject
* obj4
= 0 ;
4674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg2
= (int) SWIG_AsInt(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 arg3
= (int) SWIG_AsInt(obj2
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 arg4
= (int) SWIG_AsInt(obj3
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 arg5
= (int) SWIG_AsInt(obj4
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxRect
*arg1
= (wxRect
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (PyObject
*)wxRect_Get(arg1
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4736 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4739 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4741 return Py_BuildValue((char *)"");
4743 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxRect
*arg1
= (wxRect
*) 0 ;
4746 wxRect
*arg2
= (wxRect
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "r1",(char *) "r2", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4773 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 double arg1
= (double) 0.0 ;
4776 double arg2
= (double) 0.0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4781 (char *) "x",(char *) "y", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4786 arg1
= (double) SWIG_AsDouble(obj0
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 arg2
= (double) SWIG_AsDouble(obj1
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4807 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxPoint2D
*arg1
= 0 ;
4812 PyObject
* obj0
= 0 ;
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4820 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4836 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4841 PyObject
* obj0
= 0 ;
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4849 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4865 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4868 int *arg2
= (int *) 0 ;
4869 int *arg3
= (int *) 0 ;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "self", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4892 resultobj
= t_output_helper(resultobj
,o
);
4895 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4896 resultobj
= t_output_helper(resultobj
,o
);
4904 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4907 int *arg2
= (int *) 0 ;
4908 int *arg3
= (int *) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4930 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4931 resultobj
= t_output_helper(resultobj
,o
);
4934 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4935 resultobj
= t_output_helper(resultobj
,o
);
4943 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4949 (char *) "self", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_FromDouble((double)result
);
4969 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_FromDouble((double)result
);
4995 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "length", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg2
= (double) SWIG_AsDouble(obj1
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->SetVectorLength(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "degrees", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5037 arg2
= (double) SWIG_AsDouble(obj1
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 (arg1
)->SetVectorAngle(arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5056 wxPoint2D
*arg2
= 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5062 (char *) "self",(char *) "pt", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_FromDouble((double)result
);
5086 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5089 wxPoint2D
*arg2
= 0 ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5095 (char *) "self",(char *) "pt", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_FromDouble((double)result
);
5119 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5122 wxPoint2D
*arg2
= 0 ;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5128 (char *) "self",(char *) "vec", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_FromDouble((double)result
);
5152 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5155 wxPoint2D
*arg2
= 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "vec", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_FromDouble((double)result
);
5185 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (arg1
)->operator -();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 wxPoint2D
* resultptr
;
5206 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5215 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5218 wxPoint2D
*arg2
= 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5224 (char *) "self",(char *) "pt", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5238 result
= (wxPoint2D
*) &_result_ref
;
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5251 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5254 wxPoint2D
*arg2
= 0 ;
5257 PyObject
* obj0
= 0 ;
5258 PyObject
* obj1
= 0 ;
5260 (char *) "self",(char *) "pt", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5274 result
= (wxPoint2D
*) &_result_ref
;
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5287 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5290 wxPoint2D
*arg2
= 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "pt", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5310 result
= (wxPoint2D
*) &_result_ref
;
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5323 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5326 wxPoint2D
*arg2
= 0 ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5332 (char *) "self",(char *) "pt", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5346 result
= (wxPoint2D
*) &_result_ref
;
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5359 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5362 wxPoint2D
*arg2
= 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "pt", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5394 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5397 wxPoint2D
*arg2
= 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5403 (char *) "self",(char *) "pt", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5436 (char *) "self",(char *) "m_x", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5442 arg2
= (double) SWIG_AsDouble(obj1
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5444 if (arg1
) (arg1
)->m_x
= arg2
;
5446 Py_INCREF(Py_None
); resultobj
= Py_None
;
5453 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5459 (char *) "self", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 result
= (double) ((arg1
)->m_x
);
5467 resultobj
= SWIG_FromDouble((double)result
);
5474 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "m_y", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 arg2
= (double) SWIG_AsDouble(obj1
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5489 if (arg1
) (arg1
)->m_y
= arg2
;
5491 Py_INCREF(Py_None
); resultobj
= Py_None
;
5498 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5504 (char *) "self", NULL
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5510 result
= (double) ((arg1
)->m_y
);
5512 resultobj
= SWIG_FromDouble((double)result
);
5519 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5522 double arg2
= (double) 0 ;
5523 double arg3
= (double) 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5526 PyObject
* obj2
= 0 ;
5528 (char *) "self",(char *) "x",(char *) "y", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 arg2
= (double) SWIG_AsDouble(obj1
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 arg3
= (double) SWIG_AsDouble(obj2
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 wxPoint2D_Set(arg1
,arg2
,arg3
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5562 (char *) "self", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5582 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5585 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5587 return Py_BuildValue((char *)"");
5589 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5590 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5595 static PyObject
*_wrap_DefaultPosition_get() {
5598 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5603 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5604 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5609 static PyObject
*_wrap_DefaultSize_get() {
5612 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5617 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 PyObject
*arg1
= (PyObject
*) 0 ;
5620 wxPyInputStream
*result
;
5621 PyObject
* obj0
= 0 ;
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5642 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5672 (char *) "self", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5698 (char *) "self", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)(arg1
)->eof();
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5723 int arg2
= (int) -1 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "size", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5735 arg2
= (int) SWIG_AsInt(obj1
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (PyObject
*)(arg1
)->read(arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5752 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5755 int arg2
= (int) -1 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5760 (char *) "self",(char *) "size", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 arg2
= (int) SWIG_AsInt(obj1
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 result
= (PyObject
*)(arg1
)->readline(arg2
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5784 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5787 int arg2
= (int) -1 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5792 (char *) "self",(char *) "sizehint", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5816 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5820 int arg3
= (int) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 PyObject
* obj2
= 0 ;
5825 (char *) "self",(char *) "offset",(char *) "whence", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 arg2
= (int) SWIG_AsInt(obj1
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 arg3
= (int) SWIG_AsInt(obj2
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 (arg1
)->seek(arg2
,arg3
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 Py_INCREF(Py_None
); resultobj
= Py_None
;
5851 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5857 (char *) "self", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (int)(arg1
)->tell();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= SWIG_FromInt((int)result
);
5877 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5883 (char *) "self", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (char)(arg1
)->Peek();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= SWIG_FromChar((char)result
);
5903 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (char)(arg1
)->GetC();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_FromChar((char)result
);
5929 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (size_t)(arg1
)->LastRead();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5955 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)(arg1
)->CanRead();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5983 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (bool)(arg1
)->Eof();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "c", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 arg2
= (char) SWIG_AsChar(obj1
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)(arg1
)->Ungetch(arg2
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6043 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6047 int arg3
= (int) wxFromStart
;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6053 (char *) "self",(char *) "pos",(char *) "mode", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 arg2
= (long) SWIG_AsLong(obj1
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= SWIG_FromLong((long)result
);
6079 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (long)(arg1
)->TellI();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_FromLong((long)result
);
6105 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6108 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6110 return Py_BuildValue((char *)"");
6112 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6115 PyObject
*arg2
= (PyObject
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "obj", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 wxOutputStream_write(arg1
,arg2
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 Py_INCREF(Py_None
); resultobj
= Py_None
;
6140 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6143 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6145 return Py_BuildValue((char *)"");
6147 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6150 wxString
*arg2
= 0 ;
6151 wxString
*arg3
= 0 ;
6152 wxString
*arg4
= 0 ;
6155 wxPyInputStream
*temp1
;
6157 bool temp2
= False
;
6158 bool temp3
= False
;
6159 bool temp4
= False
;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6164 PyObject
* obj3
= 0 ;
6165 PyObject
* obj4
= 0 ;
6167 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6172 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6173 arg1
= temp1
->m_wxis
;
6176 PyErr_Clear(); // clear the failure of the wxPyConvert above
6177 arg1
= wxPyCBInputStream_create(obj0
, False
);
6179 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6186 arg2
= wxString_in_helper(obj1
);
6187 if (arg2
== NULL
) SWIG_fail
;
6191 arg3
= wxString_in_helper(obj2
);
6192 if (arg3
== NULL
) SWIG_fail
;
6196 arg4
= wxString_in_helper(obj3
);
6197 if (arg4
== NULL
) SWIG_fail
;
6200 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6201 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= wxPyMake_wxObject(result
);
6251 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6256 (char *) "self", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 Py_INCREF(Py_None
); resultobj
= Py_None
;
6276 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6279 wxInputStream
*result
;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (wxInputStream
*)(arg1
)->GetStream();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 wxPyInputStream
* _ptr
= NULL
;
6299 _ptr
= new wxPyInputStream(result
);
6301 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6309 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6325 result
= (wxString
*) &_result_ref
;
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6344 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 wxString
const &_result_ref
= (arg1
)->GetLocation();
6360 result
= (wxString
*) &_result_ref
;
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6370 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6379 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
;
6381 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6385 (char *) "self", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6395 result
= (wxString
*) &_result_ref
;
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6405 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6414 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (arg1
)->GetModificationTime();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 wxDateTime
* resultptr
;
6435 resultptr
= new wxDateTime((wxDateTime
&) result
);
6436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6444 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6447 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6449 return Py_BuildValue((char *)"");
6451 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6454 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6456 return Py_BuildValue((char *)"");
6458 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxPyFileSystemHandler
*result
;
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6480 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6483 PyObject
*arg2
= (PyObject
*) 0 ;
6484 PyObject
*arg3
= (PyObject
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 PyObject
* obj2
= 0 ;
6489 (char *) "self",(char *) "self",(char *) "_class", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6514 wxString
*arg2
= 0 ;
6516 bool temp2
= False
;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6520 (char *) "self",(char *) "location", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 arg2
= wxString_in_helper(obj1
);
6528 if (arg2
== NULL
) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6555 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6558 wxFileSystem
*arg2
= 0 ;
6559 wxString
*arg3
= 0 ;
6561 bool temp3
= False
;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6566 (char *) "self",(char *) "fs",(char *) "location", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6576 PyErr_SetString(PyExc_TypeError
,"null reference");
6580 arg3
= wxString_in_helper(obj2
);
6581 if (arg3
== NULL
) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= wxPyMake_wxObject(result
);
6608 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6611 wxString
*arg2
= 0 ;
6612 int arg3
= (int) 0 ;
6614 bool temp2
= False
;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6619 (char *) "self",(char *) "spec",(char *) "flags", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 arg2
= wxString_in_helper(obj1
);
6627 if (arg2
== NULL
) SWIG_fail
;
6631 arg3
= (int) SWIG_AsInt(obj2
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6662 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (arg1
)->FindNext();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6694 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6697 wxString
*arg2
= 0 ;
6699 bool temp2
= False
;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6703 (char *) "self",(char *) "location", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= wxString_in_helper(obj1
);
6711 if (arg2
== NULL
) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6742 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6745 wxString
*arg2
= 0 ;
6747 bool temp2
= False
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "self",(char *) "location", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= wxString_in_helper(obj1
);
6759 if (arg2
== NULL
) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6790 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6793 wxString
*arg2
= 0 ;
6795 bool temp2
= False
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "location", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6806 arg2
= wxString_in_helper(obj1
);
6807 if (arg2
== NULL
) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6838 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6841 wxString
*arg2
= 0 ;
6843 bool temp2
= False
;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6847 (char *) "self",(char *) "location", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 arg2
= wxString_in_helper(obj1
);
6855 if (arg2
== NULL
) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6886 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6889 wxString
*arg2
= 0 ;
6891 bool temp2
= False
;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6895 (char *) "self",(char *) "location", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= wxString_in_helper(obj1
);
6903 if (arg2
== NULL
) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6934 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6937 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6939 return Py_BuildValue((char *)"");
6941 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxFileSystem
*result
;
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (wxFileSystem
*)new wxFileSystem();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= wxPyMake_wxObject(result
);
6965 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "self", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 Py_INCREF(Py_None
); resultobj
= Py_None
;
6990 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6993 wxString
*arg2
= 0 ;
6994 bool arg3
= (bool) False
;
6995 bool temp2
= False
;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6998 PyObject
* obj2
= 0 ;
7000 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 arg2
= wxString_in_helper(obj1
);
7008 if (arg2
== NULL
) SWIG_fail
;
7012 arg3
= (bool) SWIG_AsBool(obj2
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7037 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7043 (char *) "self", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (arg1
)->GetPath();
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7069 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7072 wxString
*arg2
= 0 ;
7074 bool temp2
= False
;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "location", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 arg2
= wxString_in_helper(obj1
);
7086 if (arg2
== NULL
) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
);
7113 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7116 wxString
*arg2
= 0 ;
7117 int arg3
= (int) 0 ;
7119 bool temp2
= False
;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 PyObject
* obj2
= 0 ;
7124 (char *) "self",(char *) "spec",(char *) "flags", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7131 arg2
= wxString_in_helper(obj1
);
7132 if (arg2
== NULL
) SWIG_fail
;
7136 arg3
= (int) SWIG_AsInt(obj2
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7167 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (arg1
)->FindNext();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7199 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "handler", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxFileSystem::AddHandler(arg1
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxFileSystem::CleanUpHandlers();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxString
*arg1
= 0 ;
7249 bool temp1
= False
;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "filename", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7257 arg1
= wxString_in_helper(obj0
);
7258 if (arg1
== NULL
) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7289 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7292 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7294 return Py_BuildValue((char *)"");
7296 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxString
*arg1
= 0 ;
7300 bool temp1
= False
;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "url", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7308 arg1
= wxString_in_helper(obj0
);
7309 if (arg1
== NULL
) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7340 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxInternetFSHandler
*result
;
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7362 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7365 wxString
*arg2
= 0 ;
7367 bool temp2
= False
;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7371 (char *) "self",(char *) "location", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7378 arg2
= wxString_in_helper(obj1
);
7379 if (arg2
== NULL
) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7406 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7409 wxFileSystem
*arg2
= 0 ;
7410 wxString
*arg3
= 0 ;
7412 bool temp3
= False
;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7417 (char *) "self",(char *) "fs",(char *) "location", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7427 PyErr_SetString(PyExc_TypeError
,"null reference");
7431 arg3
= wxString_in_helper(obj2
);
7432 if (arg3
== NULL
) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= wxPyMake_wxObject(result
);
7459 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7462 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7464 return Py_BuildValue((char *)"");
7466 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxZipFSHandler
*result
;
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7488 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7491 wxString
*arg2
= 0 ;
7493 bool temp2
= False
;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7497 (char *) "self",(char *) "location", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 arg2
= wxString_in_helper(obj1
);
7505 if (arg2
== NULL
) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7532 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7535 wxFileSystem
*arg2
= 0 ;
7536 wxString
*arg3
= 0 ;
7538 bool temp3
= False
;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7541 PyObject
* obj2
= 0 ;
7543 (char *) "self",(char *) "fs",(char *) "location", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7553 PyErr_SetString(PyExc_TypeError
,"null reference");
7557 arg3
= wxString_in_helper(obj2
);
7558 if (arg3
== NULL
) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= wxPyMake_wxObject(result
);
7585 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7588 wxString
*arg2
= 0 ;
7589 int arg3
= (int) 0 ;
7591 bool temp2
= False
;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7596 (char *) "self",(char *) "spec",(char *) "flags", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7603 arg2
= wxString_in_helper(obj1
);
7604 if (arg2
== NULL
) SWIG_fail
;
7608 arg3
= (int) SWIG_AsInt(obj2
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7639 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (arg1
)->FindNext();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7671 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7674 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7676 return Py_BuildValue((char *)"");
7678 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxString
*arg1
= 0 ;
7683 bool temp1
= False
;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7686 PyObject
* obj2
= 0 ;
7688 (char *) "filename",(char *) "image",(char *) "type", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7693 arg1
= wxString_in_helper(obj0
);
7694 if (arg1
== NULL
) SWIG_fail
;
7697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7701 PyErr_SetString(PyExc_TypeError
,"null reference");
7704 arg3
= (long) SWIG_AsLong(obj2
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxString
*arg1
= 0 ;
7731 wxBitmap
*arg2
= 0 ;
7733 bool temp1
= False
;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7736 PyObject
* obj2
= 0 ;
7738 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7743 arg1
= wxString_in_helper(obj0
);
7744 if (arg1
== NULL
) SWIG_fail
;
7747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7751 PyErr_SetString(PyExc_TypeError
,"null reference");
7754 arg3
= (long) SWIG_AsLong(obj2
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxString
*arg1
= 0 ;
7781 PyObject
*arg2
= (PyObject
*) 0 ;
7782 bool temp1
= False
;
7783 PyObject
* obj0
= 0 ;
7784 PyObject
* obj1
= 0 ;
7786 (char *) "filename",(char *) "data", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7791 arg1
= wxString_in_helper(obj0
);
7792 if (arg1
== NULL
) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxMemoryFSHandler
*result
;
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7840 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxString
*arg1
= 0 ;
7843 bool temp1
= False
;
7844 PyObject
* obj0
= 0 ;
7846 (char *) "filename", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7851 arg1
= wxString_in_helper(obj0
);
7852 if (arg1
== NULL
) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7880 wxString
*arg2
= 0 ;
7882 bool temp2
= False
;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "location", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 arg2
= wxString_in_helper(obj1
);
7894 if (arg2
== NULL
) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7921 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7924 wxFileSystem
*arg2
= 0 ;
7925 wxString
*arg3
= 0 ;
7927 bool temp3
= False
;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7930 PyObject
* obj2
= 0 ;
7932 (char *) "self",(char *) "fs",(char *) "location", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7942 PyErr_SetString(PyExc_TypeError
,"null reference");
7946 arg3
= wxString_in_helper(obj2
);
7947 if (arg3
== NULL
) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= wxPyMake_wxObject(result
);
7974 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7977 wxString
*arg2
= 0 ;
7978 int arg3
= (int) 0 ;
7980 bool temp2
= False
;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7983 PyObject
* obj2
= 0 ;
7985 (char *) "self",(char *) "spec",(char *) "flags", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 arg2
= wxString_in_helper(obj1
);
7993 if (arg2
== NULL
) SWIG_fail
;
7997 arg3
= (int) SWIG_AsInt(obj2
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8028 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (arg1
)->FindNext();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8060 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8063 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8065 return Py_BuildValue((char *)"");
8067 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8071 PyObject
* obj0
= 0 ;
8073 (char *) "self", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (arg1
)->GetName();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8099 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (arg1
)->GetExtension();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8131 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (long)(arg1
)->GetType();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_FromLong((long)result
);
8157 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (arg1
)->GetMimeType();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8189 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8192 wxString
*arg2
= 0 ;
8194 bool temp2
= False
;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8198 (char *) "self",(char *) "name", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8205 arg2
= wxString_in_helper(obj1
);
8206 if (arg2
== NULL
) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8233 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8236 wxString
*arg2
= 0 ;
8237 bool temp2
= False
;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8241 (char *) "self",(char *) "name", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 arg2
= wxString_in_helper(obj1
);
8249 if (arg2
== NULL
) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 (arg1
)->SetName((wxString
const &)*arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 Py_INCREF(Py_None
); resultobj
= Py_None
;
8274 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8277 wxString
*arg2
= 0 ;
8278 bool temp2
= False
;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8282 (char *) "self",(char *) "extension", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= wxString_in_helper(obj1
);
8290 if (arg2
== NULL
) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 (arg1
)->SetExtension((wxString
const &)*arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "type", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= (long) SWIG_AsLong(obj1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetType(arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8344 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8347 wxString
*arg2
= 0 ;
8348 bool temp2
= False
;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8352 (char *) "self",(char *) "mimetype", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 arg2
= wxString_in_helper(obj1
);
8360 if (arg2
== NULL
) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8385 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8388 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8390 return Py_BuildValue((char *)"");
8392 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxImageHistogram
*result
;
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 result
= (wxImageHistogram
*)new wxImageHistogram();
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8414 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 unsigned char arg1
;
8417 unsigned char arg2
;
8418 unsigned char arg3
;
8419 unsigned long result
;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8424 (char *) "r",(char *) "g",(char *) "b", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8428 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8430 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8432 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8448 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8451 unsigned char *arg2
= (unsigned char *) 0 ;
8452 unsigned char *arg3
= (unsigned char *) 0 ;
8453 unsigned char *arg4
= (unsigned char *) 0 ;
8454 unsigned char arg5
= (unsigned char) 1 ;
8455 unsigned char arg6
= (unsigned char) 0 ;
8456 unsigned char arg7
= (unsigned char) 0 ;
8458 unsigned char temp2
;
8459 unsigned char temp3
;
8460 unsigned char temp4
;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 PyObject
* obj2
= 0 ;
8464 PyObject
* obj3
= 0 ;
8466 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8498 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8499 resultobj
= t_output_helper(resultobj
,o
);
8502 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8503 resultobj
= t_output_helper(resultobj
,o
);
8506 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8507 resultobj
= t_output_helper(resultobj
,o
);
8515 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8518 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8520 return Py_BuildValue((char *)"");
8522 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxString
*arg1
= 0 ;
8525 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8526 int arg3
= (int) -1 ;
8528 bool temp1
= False
;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8533 (char *) "name",(char *) "type",(char *) "index", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8538 arg1
= wxString_in_helper(obj0
);
8539 if (arg1
== NULL
) SWIG_fail
;
8543 arg2
= (long) SWIG_AsLong(obj1
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8547 arg3
= (int) SWIG_AsInt(obj2
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8572 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxImage
*arg1
= (wxImage
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxString
*arg1
= 0 ;
8600 wxString
*arg2
= 0 ;
8601 int arg3
= (int) -1 ;
8603 bool temp1
= False
;
8604 bool temp2
= False
;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8609 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8614 arg1
= wxString_in_helper(obj0
);
8615 if (arg1
== NULL
) SWIG_fail
;
8619 arg2
= wxString_in_helper(obj1
);
8620 if (arg2
== NULL
) SWIG_fail
;
8624 arg3
= (int) SWIG_AsInt(obj2
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8657 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxInputStream
*arg1
= 0 ;
8660 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8661 int arg3
= (int) -1 ;
8663 wxPyInputStream
*temp1
;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8667 PyObject
* obj2
= 0 ;
8669 (char *) "stream",(char *) "type",(char *) "index", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8674 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8675 arg1
= temp1
->m_wxis
;
8678 PyErr_Clear(); // clear the failure of the wxPyConvert above
8679 arg1
= wxPyCBInputStream_create(obj0
, False
);
8681 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8688 arg2
= (long) SWIG_AsLong(obj1
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 arg3
= (int) SWIG_AsInt(obj2
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8717 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxInputStream
*arg1
= 0 ;
8720 wxString
*arg2
= 0 ;
8721 int arg3
= (int) -1 ;
8723 wxPyInputStream
*temp1
;
8725 bool temp2
= False
;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8730 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8735 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8736 arg1
= temp1
->m_wxis
;
8739 PyErr_Clear(); // clear the failure of the wxPyConvert above
8740 arg1
= wxPyCBInputStream_create(obj0
, False
);
8742 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8749 arg2
= wxString_in_helper(obj1
);
8750 if (arg2
== NULL
) SWIG_fail
;
8754 arg3
= (int) SWIG_AsInt(obj2
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8787 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 int arg1
= (int) 0 ;
8790 int arg2
= (int) 0 ;
8791 bool arg3
= (bool) True
;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8797 (char *) "width",(char *) "height",(char *) "clear", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8802 arg1
= (int) SWIG_AsInt(obj0
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 arg2
= (int) SWIG_AsInt(obj1
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 arg3
= (bool) SWIG_AsBool(obj2
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8827 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxBitmap
*arg1
= 0 ;
8831 PyObject
* obj0
= 0 ;
8833 (char *) "bitmap", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8841 PyErr_SetString(PyExc_TypeError
,"null reference");
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8858 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8862 unsigned char *arg3
= (unsigned char *) 0 ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "width",(char *) "height",(char *) "data", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 arg1
= (int) SWIG_AsInt(obj0
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8874 arg2
= (int) SWIG_AsInt(obj1
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8892 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxImage
*arg1
= (wxImage
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8901 (char *) "self",(char *) "width",(char *) "height", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 arg2
= (int) SWIG_AsInt(obj1
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8909 arg3
= (int) SWIG_AsInt(obj2
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->Create(arg2
,arg3
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxImage
*arg1
= (wxImage
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxImage
*arg1
= (wxImage
*) 0 ;
8955 SwigValueWrapper
< wxImage
> result
;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8960 (char *) "self",(char *) "width",(char *) "height", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8966 arg2
= (int) SWIG_AsInt(obj1
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8968 arg3
= (int) SWIG_AsInt(obj2
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (arg1
)->Scale(arg2
,arg3
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 wxImage
* resultptr
;
8979 resultptr
= new wxImage((wxImage
&) result
);
8980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8988 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxImage
*arg1
= (wxImage
*) 0 ;
8993 SwigValueWrapper
< wxImage
> result
;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8996 PyObject
* obj2
= 0 ;
8998 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9004 arg2
= (int) SWIG_AsInt(obj1
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9006 arg3
= (int) SWIG_AsInt(obj2
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 wxImage
* resultptr
;
9017 resultptr
= new wxImage((wxImage
&) result
);
9018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9026 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxImage
*arg1
= (wxImage
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9034 PyObject
* obj2
= 0 ;
9036 (char *) "self",(char *) "width",(char *) "height", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 arg2
= (int) SWIG_AsInt(obj1
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9044 arg3
= (int) SWIG_AsInt(obj2
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9050 result
= (wxImage
*) &_result_ref
;
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9063 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxImage
*arg1
= (wxImage
*) 0 ;
9068 unsigned char arg4
;
9069 unsigned char arg5
;
9070 unsigned char arg6
;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9074 PyObject
* obj3
= 0 ;
9075 PyObject
* obj4
= 0 ;
9076 PyObject
* obj5
= 0 ;
9078 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (int) SWIG_AsInt(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (int) SWIG_AsInt(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9088 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9090 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9092 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxImage
*arg1
= (wxImage
*) 0 ;
9113 unsigned char result
;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 PyObject
* obj2
= 0 ;
9118 (char *) "self",(char *) "x",(char *) "y", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 arg2
= (int) SWIG_AsInt(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9126 arg3
= (int) SWIG_AsInt(obj2
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9142 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxImage
*arg1
= (wxImage
*) 0 ;
9147 unsigned char result
;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "x",(char *) "y", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (int) SWIG_AsInt(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 arg3
= (int) SWIG_AsInt(obj2
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9176 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxImage
*arg1
= (wxImage
*) 0 ;
9181 unsigned char result
;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9186 (char *) "self",(char *) "x",(char *) "y", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 arg2
= (int) SWIG_AsInt(obj1
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9194 arg3
= (int) SWIG_AsInt(obj2
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9210 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxImage
*arg1
= (wxImage
*) 0 ;
9215 unsigned char arg4
;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 PyObject
* obj3
= 0 ;
9221 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 arg2
= (int) SWIG_AsInt(obj1
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9229 arg3
= (int) SWIG_AsInt(obj2
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9231 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 Py_INCREF(Py_None
); resultobj
= Py_None
;
9247 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxImage
*arg1
= (wxImage
*) 0 ;
9252 unsigned char result
;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9257 (char *) "self",(char *) "x",(char *) "y", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 arg2
= (int) SWIG_AsInt(obj1
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9265 arg3
= (int) SWIG_AsInt(obj2
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9281 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxImage
*arg1
= (wxImage
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)(arg1
)->HasAlpha();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxImage
*arg1
= (wxImage
*) 0 ;
9312 byte
*arg2
= (byte
*) 0 ;
9313 byte
*arg3
= (byte
*) 0 ;
9314 byte
*arg4
= (byte
*) 0 ;
9315 byte arg5
= (byte
) 0 ;
9316 byte arg6
= (byte
) 0 ;
9317 byte arg7
= (byte
) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9325 PyObject
* obj3
= 0 ;
9327 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9360 resultobj
= t_output_helper(resultobj
,o
);
9363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9364 resultobj
= t_output_helper(resultobj
,o
);
9367 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9368 resultobj
= t_output_helper(resultobj
,o
);
9376 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxImage
*arg1
= (wxImage
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9386 PyObject
* obj2
= 0 ;
9387 PyObject
* obj3
= 0 ;
9388 PyObject
* obj4
= 0 ;
9390 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9400 PyErr_SetString(PyExc_TypeError
,"null reference");
9403 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9407 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9425 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxString
*arg1
= 0 ;
9429 bool temp1
= False
;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "name", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9437 arg1
= wxString_in_helper(obj0
);
9438 if (arg1
== NULL
) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9465 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxString
*arg1
= 0 ;
9468 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9470 bool temp1
= False
;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9474 (char *) "name",(char *) "type", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9479 arg1
= wxString_in_helper(obj0
);
9480 if (arg1
== NULL
) SWIG_fail
;
9484 arg2
= (long) SWIG_AsLong(obj1
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_FromInt((int)result
);
9509 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxImage
*arg1
= (wxImage
*) 0 ;
9512 wxString
*arg2
= 0 ;
9513 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9514 int arg4
= (int) -1 ;
9516 bool temp2
= False
;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 PyObject
* obj2
= 0 ;
9520 PyObject
* obj3
= 0 ;
9522 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9534 arg3
= (long) SWIG_AsLong(obj2
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 arg4
= (int) SWIG_AsInt(obj3
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9565 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxImage
*arg1
= (wxImage
*) 0 ;
9568 wxString
*arg2
= 0 ;
9569 wxString
*arg3
= 0 ;
9570 int arg4
= (int) -1 ;
9572 bool temp2
= False
;
9573 bool temp3
= False
;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9576 PyObject
* obj2
= 0 ;
9577 PyObject
* obj3
= 0 ;
9579 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 arg2
= wxString_in_helper(obj1
);
9587 if (arg2
== NULL
) SWIG_fail
;
9591 arg3
= wxString_in_helper(obj2
);
9592 if (arg3
== NULL
) SWIG_fail
;
9596 arg4
= (int) SWIG_AsInt(obj3
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9631 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxImage
*arg1
= (wxImage
*) 0 ;
9634 wxString
*arg2
= 0 ;
9637 bool temp2
= False
;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 PyObject
* obj2
= 0 ;
9642 (char *) "self",(char *) "name",(char *) "type", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 arg2
= wxString_in_helper(obj1
);
9650 if (arg2
== NULL
) SWIG_fail
;
9653 arg3
= (int) SWIG_AsInt(obj2
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxImage
*arg1
= (wxImage
*) 0 ;
9682 wxString
*arg2
= 0 ;
9683 wxString
*arg3
= 0 ;
9685 bool temp2
= False
;
9686 bool temp3
= False
;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 PyObject
* obj2
= 0 ;
9691 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 arg2
= wxString_in_helper(obj1
);
9699 if (arg2
== NULL
) SWIG_fail
;
9703 arg3
= wxString_in_helper(obj2
);
9704 if (arg3
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9739 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxInputStream
*arg1
= 0 ;
9743 wxPyInputStream
*temp1
;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "stream", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9752 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9753 arg1
= temp1
->m_wxis
;
9756 PyErr_Clear(); // clear the failure of the wxPyConvert above
9757 arg1
= wxPyCBInputStream_create(obj0
, False
);
9759 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)wxImage::CanRead(*arg1
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9789 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxImage
*arg1
= (wxImage
*) 0 ;
9792 wxInputStream
*arg2
= 0 ;
9793 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9794 int arg4
= (int) -1 ;
9796 wxPyInputStream
*temp2
;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9800 PyObject
* obj2
= 0 ;
9801 PyObject
* obj3
= 0 ;
9803 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9811 arg2
= temp2
->m_wxis
;
9814 PyErr_Clear(); // clear the failure of the wxPyConvert above
9815 arg2
= wxPyCBInputStream_create(obj1
, False
);
9817 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9824 arg3
= (long) SWIG_AsLong(obj2
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 arg4
= (int) SWIG_AsInt(obj3
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9855 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxImage
*arg1
= (wxImage
*) 0 ;
9858 wxInputStream
*arg2
= 0 ;
9859 wxString
*arg3
= 0 ;
9860 int arg4
= (int) -1 ;
9862 wxPyInputStream
*temp2
;
9864 bool temp3
= False
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 PyObject
* obj2
= 0 ;
9868 PyObject
* obj3
= 0 ;
9870 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9877 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9878 arg2
= temp2
->m_wxis
;
9881 PyErr_Clear(); // clear the failure of the wxPyConvert above
9882 arg2
= wxPyCBInputStream_create(obj1
, False
);
9884 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9891 arg3
= wxString_in_helper(obj2
);
9892 if (arg3
== NULL
) SWIG_fail
;
9896 arg4
= (int) SWIG_AsInt(obj3
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9931 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxImage
*arg1
= (wxImage
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9937 (char *) "self", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 result
= (bool)(arg1
)->Ok();
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9959 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxImage
*arg1
= (wxImage
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (int)(arg1
)->GetWidth();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_FromInt((int)result
);
9985 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxImage
*arg1
= (wxImage
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)(arg1
)->GetHeight();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_FromInt((int)result
);
10011 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImage
*arg1
= (wxImage
*) 0 ;
10015 SwigValueWrapper
< wxImage
> result
;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "rect", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10038 wxImage
* resultptr
;
10039 resultptr
= new wxImage((wxImage
&) result
);
10040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10048 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxImage
*arg1
= (wxImage
*) 0 ;
10051 SwigValueWrapper
< wxImage
> result
;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (arg1
)->Copy();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 wxImage
* resultptr
;
10069 resultptr
= new wxImage((wxImage
&) result
);
10070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10078 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxImage
*arg1
= (wxImage
*) 0 ;
10081 wxImage
*arg2
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 PyObject
* obj3
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10098 if (arg2
== NULL
) {
10099 PyErr_SetString(PyExc_TypeError
,"null reference");
10102 arg3
= (int) SWIG_AsInt(obj2
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10104 arg4
= (int) SWIG_AsInt(obj3
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 Py_INCREF(Py_None
); resultobj
= Py_None
;
10120 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxImage
*arg1
= (wxImage
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (PyObject
*)wxImage_GetData(arg1
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= result
;
10146 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxImage
*arg1
= (wxImage
*) 0 ;
10149 PyObject
*arg2
= (PyObject
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self",(char *) "data", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxImage_SetData(arg1
,arg2
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxImage
*arg1
= (wxImage
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= result
;
10200 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImage
*arg1
= (wxImage
*) 0 ;
10203 PyObject
*arg2
= (PyObject
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "data", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxImage_SetDataBuffer(arg1
,arg2
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImage
*arg1
= (wxImage
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
;
10254 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxImage
*arg1
= (wxImage
*) 0 ;
10257 PyObject
*arg2
= (PyObject
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "data", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxImage_SetAlphaData(arg1
,arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImage
*arg1
= (wxImage
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
;
10308 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 PyObject
*arg2
= (PyObject
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "data", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxImage_SetAlphaBuffer(arg1
,arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10339 unsigned char arg2
;
10340 unsigned char arg3
;
10341 unsigned char arg4
;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 PyObject
* obj2
= 0 ;
10345 PyObject
* obj3
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10355 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10357 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxImage
*arg1
= (wxImage
*) 0 ;
10376 unsigned char result
;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (unsigned char)(arg1
)->GetMaskRed();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10399 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxImage
*arg1
= (wxImage
*) 0 ;
10402 unsigned char result
;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (unsigned char)(arg1
)->GetMaskGreen();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10425 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 unsigned char result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (unsigned char)(arg1
)->GetMaskBlue();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10451 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxImage
*arg1
= (wxImage
*) 0 ;
10454 bool arg2
= (bool) True
;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "mask", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10465 arg2
= (bool) SWIG_AsBool(obj1
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetMask(arg2
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxImage
*arg1
= (wxImage
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (bool)(arg1
)->HasMask();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10510 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImage
*arg1
= (wxImage
*) 0 ;
10514 wxPoint
*arg3
= 0 ;
10515 bool arg4
= (bool) True
;
10516 wxPoint
*arg5
= (wxPoint
*) NULL
;
10517 SwigValueWrapper
< wxImage
> result
;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 PyObject
* obj2
= 0 ;
10522 PyObject
* obj3
= 0 ;
10523 PyObject
* obj4
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 arg2
= (double) SWIG_AsDouble(obj1
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10538 arg4
= (bool) SWIG_AsBool(obj3
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 wxImage
* resultptr
;
10554 resultptr
= new wxImage((wxImage
&) result
);
10555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10563 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxImage
*arg1
= (wxImage
*) 0 ;
10566 bool arg2
= (bool) True
;
10567 SwigValueWrapper
< wxImage
> result
;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self",(char *) "clockwise", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 arg2
= (bool) SWIG_AsBool(obj1
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (arg1
)->Rotate90(arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 wxImage
* resultptr
;
10590 resultptr
= new wxImage((wxImage
&) result
);
10591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10599 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxImage
*arg1
= (wxImage
*) 0 ;
10602 bool arg2
= (bool) True
;
10603 SwigValueWrapper
< wxImage
> result
;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self",(char *) "horizontally", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10614 arg2
= (bool) SWIG_AsBool(obj1
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (arg1
)->Mirror(arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 wxImage
* resultptr
;
10626 resultptr
= new wxImage((wxImage
&) result
);
10627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10635 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxImage
*arg1
= (wxImage
*) 0 ;
10638 unsigned char arg2
;
10639 unsigned char arg3
;
10640 unsigned char arg4
;
10641 unsigned char arg5
;
10642 unsigned char arg6
;
10643 unsigned char arg7
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 PyObject
* obj2
= 0 ;
10647 PyObject
* obj3
= 0 ;
10648 PyObject
* obj4
= 0 ;
10649 PyObject
* obj5
= 0 ;
10650 PyObject
* obj6
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10662 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10664 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10666 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10668 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxImage
*arg1
= (wxImage
*) 0 ;
10687 unsigned char arg2
;
10688 unsigned char arg3
;
10689 unsigned char arg4
;
10690 SwigValueWrapper
< wxImage
> result
;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 PyObject
* obj3
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10704 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10706 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 wxImage
* resultptr
;
10717 resultptr
= new wxImage((wxImage
&) result
);
10718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10726 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxImage
*arg1
= (wxImage
*) 0 ;
10729 wxString
*arg2
= 0 ;
10730 wxString
*arg3
= 0 ;
10731 bool temp2
= False
;
10732 bool temp3
= False
;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "name",(char *) "value", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 arg2
= wxString_in_helper(obj1
);
10745 if (arg2
== NULL
) SWIG_fail
;
10749 arg3
= wxString_in_helper(obj2
);
10750 if (arg3
== NULL
) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 Py_INCREF(Py_None
); resultobj
= Py_None
;
10783 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxImage
*arg1
= (wxImage
*) 0 ;
10786 wxString
*arg2
= 0 ;
10788 bool temp2
= False
;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 PyObject
* obj2
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "name",(char *) "value", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 arg2
= wxString_in_helper(obj1
);
10801 if (arg2
== NULL
) SWIG_fail
;
10804 arg3
= (int) SWIG_AsInt(obj2
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxImage
*arg1
= (wxImage
*) 0 ;
10831 wxString
*arg2
= 0 ;
10833 bool temp2
= False
;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "name", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 arg2
= wxString_in_helper(obj1
);
10845 if (arg2
== NULL
) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10876 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxImage
*arg1
= (wxImage
*) 0 ;
10879 wxString
*arg2
= 0 ;
10881 bool temp2
= False
;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "name", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 arg2
= wxString_in_helper(obj1
);
10893 if (arg2
== NULL
) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_FromInt((int)result
);
10918 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxImage
*arg1
= (wxImage
*) 0 ;
10921 wxString
*arg2
= 0 ;
10923 bool temp2
= False
;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "name", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10934 arg2
= wxString_in_helper(obj1
);
10935 if (arg2
== NULL
) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
;
10964 wxImage
*arg1
= (wxImage
*) 0 ;
10965 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10966 unsigned long result
;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self",(char *) "stopafter", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10994 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxImage
*arg1
= (wxImage
*) 0 ;
10997 wxImageHistogram
*arg2
= 0 ;
10998 unsigned long result
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "h", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11011 if (arg2
== NULL
) {
11012 PyErr_SetString(PyExc_TypeError
,"null reference");
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11029 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "handler", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 wxImage::AddHandler(arg1
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 Py_INCREF(Py_None
); resultobj
= Py_None
;
11054 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "handler", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 wxImage::InsertHandler(arg1
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 Py_INCREF(Py_None
); resultobj
= Py_None
;
11079 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxString
*arg1
= 0 ;
11083 bool temp1
= False
;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "name", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11091 arg1
= wxString_in_helper(obj0
);
11092 if (arg1
== NULL
) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11122 char *kwnames
[] = {
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= wxImage::GetImageExtWildcard();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11147 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxImage
*arg1
= (wxImage
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= wxImage_ConvertToBitmap(arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 wxBitmap
* resultptr
;
11168 resultptr
= new wxBitmap((wxBitmap
&) result
);
11169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11177 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxImage
*arg1
= (wxImage
*) 0 ;
11180 unsigned char arg2
;
11181 unsigned char arg3
;
11182 unsigned char arg4
;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 PyObject
* obj2
= 0 ;
11187 PyObject
* obj3
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11197 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11199 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11209 wxBitmap
* resultptr
;
11210 resultptr
= new wxBitmap((wxBitmap
&) result
);
11211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11219 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11222 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11224 return Py_BuildValue((char *)"");
11226 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 char *kwnames
[] = {
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 wxInitAllImageHandlers();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static int _wrap_NullImage_set(PyObject
*_val
) {
11248 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11253 static PyObject
*_wrap_NullImage_get() {
11256 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11261 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11262 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11267 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11272 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11274 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11281 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11282 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11287 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11292 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11294 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11301 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11302 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11307 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11312 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11314 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11321 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11322 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11327 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11332 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11334 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11341 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11342 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11347 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11352 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11354 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11361 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxBMPHandler
*result
;
11364 char *kwnames
[] = {
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (wxBMPHandler
*)new wxBMPHandler();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11383 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11386 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11388 return Py_BuildValue((char *)"");
11390 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxICOHandler
*result
;
11393 char *kwnames
[] = {
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (wxICOHandler
*)new wxICOHandler();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11412 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11417 return Py_BuildValue((char *)"");
11419 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxCURHandler
*result
;
11422 char *kwnames
[] = {
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (wxCURHandler
*)new wxCURHandler();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11441 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11444 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11446 return Py_BuildValue((char *)"");
11448 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxANIHandler
*result
;
11451 char *kwnames
[] = {
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (wxANIHandler
*)new wxANIHandler();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11470 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11473 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11475 return Py_BuildValue((char *)"");
11477 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxPNGHandler
*result
;
11480 char *kwnames
[] = {
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxPNGHandler
*)new wxPNGHandler();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11499 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11504 return Py_BuildValue((char *)"");
11506 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxGIFHandler
*result
;
11509 char *kwnames
[] = {
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxGIFHandler
*)new wxGIFHandler();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11528 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11533 return Py_BuildValue((char *)"");
11535 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxPCXHandler
*result
;
11538 char *kwnames
[] = {
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (wxPCXHandler
*)new wxPCXHandler();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11557 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxJPEGHandler
*result
;
11567 char *kwnames
[] = {
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11586 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11589 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11591 return Py_BuildValue((char *)"");
11593 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxPNMHandler
*result
;
11596 char *kwnames
[] = {
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxPNMHandler
*)new wxPNMHandler();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11615 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxXPMHandler
*result
;
11625 char *kwnames
[] = {
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxXPMHandler
*)new wxXPMHandler();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11644 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11649 return Py_BuildValue((char *)"");
11651 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxTIFFHandler
*result
;
11654 char *kwnames
[] = {
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11673 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11678 return Py_BuildValue((char *)"");
11680 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxEvtHandler
*result
;
11683 char *kwnames
[] = {
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxEvtHandler
*)new wxEvtHandler();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= wxPyMake_wxObject(result
);
11704 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11707 wxEvtHandler
*result
;
11708 PyObject
* obj0
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "self", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= wxPyMake_wxObject(result
);
11732 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11735 wxEvtHandler
*result
;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= wxPyMake_wxObject(result
);
11760 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11763 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "handler", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->SetNextHandler(arg2
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11792 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "handler", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetPreviousHandler(arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11846 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "enabled", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 arg2
= (bool) SWIG_AsBool(obj1
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->SetEvtHandlerEnabled(arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11875 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11878 wxEvent
*arg2
= 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "event", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11892 if (arg2
== NULL
) {
11893 PyErr_SetString(PyExc_TypeError
,"null reference");
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11915 wxEvent
*arg2
= 0 ;
11916 PyObject
* obj0
= 0 ;
11917 PyObject
* obj1
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "event", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11928 if (arg2
== NULL
) {
11929 PyErr_SetString(PyExc_TypeError
,"null reference");
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 (arg1
)->AddPendingEvent(*arg2
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 Py_INCREF(Py_None
); resultobj
= Py_None
;
11946 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11949 PyObject
* obj0
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->ProcessPendingEvents();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11977 PyObject
*arg5
= (PyObject
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 PyObject
* obj2
= 0 ;
11981 PyObject
* obj3
= 0 ;
11982 PyObject
* obj4
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 arg2
= (int) SWIG_AsInt(obj1
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11992 arg3
= (int) SWIG_AsInt(obj2
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11994 arg4
= (int) SWIG_AsInt(obj3
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12015 int arg3
= (int) -1 ;
12016 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 PyObject
* obj3
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12029 arg2
= (int) SWIG_AsInt(obj1
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 arg3
= (int) SWIG_AsInt(obj2
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12055 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12058 PyObject
*arg2
= (PyObject
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "_self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 wxEvtHandler__setOORInfo(arg1
,arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12086 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12088 return Py_BuildValue((char *)"");
12090 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxEventType result
;
12093 char *kwnames
[] = {
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (wxEventType
)wxNewEventType();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_FromInt((int)result
);
12112 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxEvent
*arg1
= (wxEvent
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxEvent
*arg1
= (wxEvent
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "typ", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetEventType(arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxEvent
*arg1
= (wxEvent
*) 0 ;
12169 wxEventType result
;
12170 PyObject
* obj0
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_FromInt((int)result
);
12192 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxEvent
*arg1
= (wxEvent
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= wxPyMake_wxObject(result
);
12220 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxEvent
*arg1
= (wxEvent
*) 0 ;
12223 wxObject
*arg2
= (wxObject
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "obj", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 (arg1
)->SetEventObject(arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 Py_INCREF(Py_None
); resultobj
= Py_None
;
12249 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxEvent
*arg1
= (wxEvent
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_FromLong((long)result
);
12275 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxEvent
*arg1
= (wxEvent
*) 0 ;
12278 long arg2
= (long) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 PyObject
* obj1
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self",(char *) "ts", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 arg2
= (long) SWIG_AsLong(obj1
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->SetTimestamp(arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxEvent
*arg1
= (wxEvent
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)((wxEvent
const *)arg1
)->GetId();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_FromInt((int)result
);
12332 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxEvent
*arg1
= (wxEvent
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self",(char *) "Id", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 arg2
= (int) SWIG_AsInt(obj1
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 (arg1
)->SetId(arg2
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxEvent
*arg1
= (wxEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxEvent
*arg1
= (wxEvent
*) 0 ;
12392 bool arg2
= (bool) True
;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "skip", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg2
= (bool) SWIG_AsBool(obj1
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->Skip(arg2
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12420 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxEvent
*arg1
= (wxEvent
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxEvent
*arg1
= (wxEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12476 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxEvent
*arg1
= (wxEvent
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)(arg1
)->StopPropagation();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_FromInt((int)result
);
12502 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxEvent
*arg1
= (wxEvent
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self",(char *) "propagationLevel", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 arg2
= (int) SWIG_AsInt(obj1
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 (arg1
)->ResumePropagation(arg2
);
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 Py_INCREF(Py_None
); resultobj
= Py_None
;
12531 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxEvent
*arg1
= (wxEvent
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (wxEvent
*)(arg1
)->Clone();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12557 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12560 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12562 return Py_BuildValue((char *)"");
12564 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxEvent
*arg1
= 0 ;
12567 wxPropagationDisabler
*result
;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "event", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12577 if (arg1
== NULL
) {
12578 PyErr_SetString(PyExc_TypeError
,"null reference");
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12595 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12623 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12625 return Py_BuildValue((char *)"");
12627 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxEvent
*arg1
= 0 ;
12630 wxPropagateOnce
*result
;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "event", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12640 if (arg1
== NULL
) {
12641 PyErr_SetString(PyExc_TypeError
,"null reference");
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12658 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 Py_INCREF(Py_None
); resultobj
= Py_None
;
12683 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12686 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12688 return Py_BuildValue((char *)"");
12690 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12693 int arg2
= (int) 0 ;
12694 wxCommandEvent
*result
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "commandType",(char *) "winid", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12703 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 arg2
= (int) SWIG_AsInt(obj1
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12724 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_FromInt((int)result
);
12750 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12753 wxString
*arg2
= 0 ;
12754 bool temp2
= False
;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self",(char *) "s", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetString((wxString
const &)*arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12823 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12851 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12879 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "extraLong", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 arg2
= (long) SWIG_AsLong(obj1
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->SetExtraLong(arg2
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_FromLong((long)result
);
12934 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "i", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 arg2
= (int) SWIG_AsInt(obj1
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->SetInt(arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12963 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_FromLong((long)result
);
12989 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13015 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13018 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13020 return Py_BuildValue((char *)"");
13022 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13025 int arg2
= (int) 0 ;
13026 wxNotifyEvent
*result
;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "commandType",(char *) "winid", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 arg2
= (int) SWIG_AsInt(obj1
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13056 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13081 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (bool)(arg1
)->IsAllowed();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13134 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13137 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13139 return Py_BuildValue((char *)"");
13141 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13144 int arg2
= (int) 0 ;
13145 int arg3
= (int) 0 ;
13146 int arg4
= (int) 0 ;
13147 wxScrollEvent
*result
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13158 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 arg2
= (int) SWIG_AsInt(obj1
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 arg3
= (int) SWIG_AsInt(obj2
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 arg4
= (int) SWIG_AsInt(obj3
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13187 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_FromInt((int)result
);
13213 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_FromInt((int)result
);
13239 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self",(char *) "orient", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 arg2
= (int) SWIG_AsInt(obj1
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->SetOrientation(arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13268 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "pos", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= (int) SWIG_AsInt(obj1
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->SetPosition(arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13300 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13302 return Py_BuildValue((char *)"");
13304 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13307 int arg2
= (int) 0 ;
13308 int arg3
= (int) 0 ;
13309 wxScrollWinEvent
*result
;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 PyObject
* obj2
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13319 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 arg2
= (int) SWIG_AsInt(obj1
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 arg3
= (int) SWIG_AsInt(obj2
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13344 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self", NULL
13353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_FromInt((int)result
);
13370 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_FromInt((int)result
);
13396 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self",(char *) "orient", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 arg2
= (int) SWIG_AsInt(obj1
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->SetOrientation(arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "pos", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 arg2
= (int) SWIG_AsInt(obj1
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetPosition(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13459 return Py_BuildValue((char *)"");
13461 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13464 wxMouseEvent
*result
;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "mouseType", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13472 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= wxPyMake_wxObject(result
);
13491 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13519 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13522 int arg2
= (int) wxMOUSE_BTN_ANY
;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "but", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13534 arg2
= (int) SWIG_AsInt(obj1
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13553 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13556 int arg2
= (int) wxMOUSE_BTN_ANY
;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self",(char *) "but", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= (int) SWIG_AsInt(obj1
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13590 int arg2
= (int) wxMOUSE_BTN_ANY
;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "but", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 arg2
= (int) SWIG_AsInt(obj1
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13621 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "but", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 arg2
= (int) SWIG_AsInt(obj1
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13653 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "but", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 arg2
= (int) SWIG_AsInt(obj1
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13685 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= SWIG_FromInt((int)result
);
13711 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13767 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13795 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13823 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13851 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13879 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13907 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13935 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13963 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13967 PyObject
* obj0
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13991 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14019 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14047 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
;
14049 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14075 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (bool)(arg1
)->LeftIsDown();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14103 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (bool)(arg1
)->MiddleIsDown();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14131 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "self", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (bool)(arg1
)->RightIsDown();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14159 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14187 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14215 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "self", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14243 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14271 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (arg1
)->GetPosition();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 wxPoint
* resultptr
;
14292 resultptr
= new wxPoint((wxPoint
&) result
);
14293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14301 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14304 long *arg2
= (long *) 0 ;
14305 long *arg3
= (long *) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 (arg1
)->GetPosition(arg2
,arg3
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14328 resultobj
= t_output_helper(resultobj
,o
);
14331 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14332 resultobj
= t_output_helper(resultobj
,o
);
14340 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "self",(char *) "dc", NULL
14351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14357 if (arg2
== NULL
) {
14358 PyErr_SetString(PyExc_TypeError
,"null reference");
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14369 wxPoint
* resultptr
;
14370 resultptr
= new wxPoint((wxPoint
&) result
);
14371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14379 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_FromInt((int)result
);
14405 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_FromInt((int)result
);
14431 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_FromInt((int)result
);
14457 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_FromInt((int)result
);
14483 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_FromInt((int)result
);
14509 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "m_x", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 arg2
= (int) SWIG_AsInt(obj1
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14552 if (arg1
) (arg1
)->m_x
= arg2
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 result
= (int) ((arg1
)->m_x
);
14575 resultobj
= SWIG_FromInt((int)result
);
14582 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "m_y", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 arg2
= (int) SWIG_AsInt(obj1
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14597 if (arg1
) (arg1
)->m_y
= arg2
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 result
= (int) ((arg1
)->m_y
);
14620 resultobj
= SWIG_FromInt((int)result
);
14627 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 PyObject
* obj1
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "m_leftDown", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 arg2
= (bool) SWIG_AsBool(obj1
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14642 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14644 Py_INCREF(Py_None
); resultobj
= Py_None
;
14651 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14655 PyObject
* obj0
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14663 result
= (bool) ((arg1
)->m_leftDown
);
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "m_middleDown", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 arg2
= (bool) SWIG_AsBool(obj1
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14689 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 result
= (bool) ((arg1
)->m_middleDown
);
14713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14721 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 PyObject
* obj1
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "m_rightDown", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 arg2
= (bool) SWIG_AsBool(obj1
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14736 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14738 Py_INCREF(Py_None
); resultobj
= Py_None
;
14745 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 result
= (bool) ((arg1
)->m_rightDown
);
14760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14768 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "m_controlDown", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 arg2
= (bool) SWIG_AsBool(obj1
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14783 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 result
= (bool) ((arg1
)->m_controlDown
);
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "m_shiftDown", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 arg2
= (bool) SWIG_AsBool(obj1
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14830 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 result
= (bool) ((arg1
)->m_shiftDown
);
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14862 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 PyObject
* obj1
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self",(char *) "m_altDown", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 arg2
= (bool) SWIG_AsBool(obj1
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14877 if (arg1
) (arg1
)->m_altDown
= arg2
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 result
= (bool) ((arg1
)->m_altDown
);
14901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14909 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "m_metaDown", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 arg2
= (bool) SWIG_AsBool(obj1
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14924 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14933 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 result
= (bool) ((arg1
)->m_metaDown
);
14948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14956 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "m_wheelRotation", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 arg2
= (int) SWIG_AsInt(obj1
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14971 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14973 Py_INCREF(Py_None
); resultobj
= Py_None
;
14980 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14992 result
= (int) ((arg1
)->m_wheelRotation
);
14994 resultobj
= SWIG_FromInt((int)result
);
15001 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 PyObject
* obj1
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self",(char *) "m_wheelDelta", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 arg2
= (int) SWIG_AsInt(obj1
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15016 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 result
= (int) ((arg1
)->m_wheelDelta
);
15039 resultobj
= SWIG_FromInt((int)result
);
15046 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self",(char *) "m_linesPerAction", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 arg2
= (int) SWIG_AsInt(obj1
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15061 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15063 Py_INCREF(Py_None
); resultobj
= Py_None
;
15070 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 result
= (int) ((arg1
)->m_linesPerAction
);
15084 resultobj
= SWIG_FromInt((int)result
);
15091 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15094 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15096 return Py_BuildValue((char *)"");
15098 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 int arg1
= (int) 0 ;
15101 int arg2
= (int) 0 ;
15102 wxSetCursorEvent
*result
;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "x",(char *) "y", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 arg1
= (int) SWIG_AsInt(obj0
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 arg2
= (int) SWIG_AsInt(obj1
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15132 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15136 PyObject
* obj0
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_FromInt((int)result
);
15158 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15162 PyObject
* obj0
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_FromInt((int)result
);
15184 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15187 wxCursor
*arg2
= 0 ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self",(char *) "cursor", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15200 if (arg2
== NULL
) {
15201 PyErr_SetString(PyExc_TypeError
,"null reference");
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 Py_INCREF(Py_None
); resultobj
= Py_None
;
15218 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15234 result
= (wxCursor
*) &_result_ref
;
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15241 wxCursor
* resultptr
= new wxCursor(*result
);
15242 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15250 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15281 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15283 return Py_BuildValue((char *)"");
15285 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15288 wxKeyEvent
*result
;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "keyType", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15296 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15313 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15341 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15369 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15397 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15453 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_FromInt((int)result
);
15479 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_FromInt((int)result
);
15505 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15508 unsigned int result
;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15531 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15534 unsigned int result
;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15557 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (arg1
)->GetPosition();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 wxPoint
* resultptr
;
15578 resultptr
= new wxPoint((wxPoint
&) result
);
15579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15587 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15590 long *arg2
= (long *) 0 ;
15591 long *arg3
= (long *) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->GetPosition(arg2
,arg3
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15613 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15614 resultobj
= t_output_helper(resultobj
,o
);
15617 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15618 resultobj
= t_output_helper(resultobj
,o
);
15626 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_FromInt((int)result
);
15652 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_FromInt((int)result
);
15678 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self",(char *) "m_x", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 arg2
= (int) SWIG_AsInt(obj1
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15693 if (arg1
) (arg1
)->m_x
= arg2
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 result
= (int) ((arg1
)->m_x
);
15716 resultobj
= SWIG_FromInt((int)result
);
15723 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "m_y", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 arg2
= (int) SWIG_AsInt(obj1
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15738 if (arg1
) (arg1
)->m_y
= arg2
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 result
= (int) ((arg1
)->m_y
);
15761 resultobj
= SWIG_FromInt((int)result
);
15768 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "m_keyCode", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15781 arg2
= (long) SWIG_AsLong(obj1
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15783 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 result
= (long) ((arg1
)->m_keyCode
);
15806 resultobj
= SWIG_FromLong((long)result
);
15813 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "m_controlDown", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15826 arg2
= (bool) SWIG_AsBool(obj1
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15828 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15830 Py_INCREF(Py_None
); resultobj
= Py_None
;
15837 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 result
= (bool) ((arg1
)->m_controlDown
);
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15860 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self",(char *) "m_shiftDown", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 arg2
= (bool) SWIG_AsBool(obj1
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15875 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15877 Py_INCREF(Py_None
); resultobj
= Py_None
;
15884 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 result
= (bool) ((arg1
)->m_shiftDown
);
15899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self",(char *) "m_altDown", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 arg2
= (bool) SWIG_AsBool(obj1
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15922 if (arg1
) (arg1
)->m_altDown
= arg2
;
15924 Py_INCREF(Py_None
); resultobj
= Py_None
;
15931 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 result
= (bool) ((arg1
)->m_altDown
);
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "m_metaDown", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 arg2
= (bool) SWIG_AsBool(obj1
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15969 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15971 Py_INCREF(Py_None
); resultobj
= Py_None
;
15978 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 result
= (bool) ((arg1
)->m_metaDown
);
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16001 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "m_scanCode", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 arg2
= (bool) SWIG_AsBool(obj1
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16016 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 result
= (bool) ((arg1
)->m_scanCode
);
16040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16051 unsigned int arg2
;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "m_rawCode", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16063 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16075 unsigned int result
;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 result
= (unsigned int) ((arg1
)->m_rawCode
);
16086 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16093 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16096 unsigned int arg2
;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "m_rawFlags", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16108 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16120 unsigned int result
;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16131 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16138 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16143 return Py_BuildValue((char *)"");
16145 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16148 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16149 int arg2
= (int) 0 ;
16150 wxSizeEvent
*result
;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "sz",(char *) "winid", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16162 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16166 arg2
= (int) SWIG_AsInt(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16183 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 wxSize
* resultptr
;
16204 resultptr
= new wxSize((wxSize
&) result
);
16205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16213 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 wxRect
* resultptr
;
16234 resultptr
= new wxRect((wxRect
&) result
);
16235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16243 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "rect", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16258 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->SetRect(arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "size", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16289 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 wxSizeEvent_SetSize(arg1
,arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16308 wxSize
*arg2
= (wxSize
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self",(char *) "m_size", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 if (arg1
) (arg1
)->m_size
= *arg2
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 result
= (wxSize
*)& ((arg1
)->m_size
);
16343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16350 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16353 wxRect
*arg2
= (wxRect
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "m_rect", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 if (arg1
) (arg1
)->m_rect
= *arg2
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 result
= (wxRect
*)& ((arg1
)->m_rect
);
16388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16395 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16400 return Py_BuildValue((char *)"");
16402 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16405 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16406 int arg2
= (int) 0 ;
16407 wxMoveEvent
*result
;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "pos",(char *) "winid", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16423 arg2
= (int) SWIG_AsInt(obj1
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16440 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16460 wxPoint
* resultptr
;
16461 resultptr
= new wxPoint((wxPoint
&) result
);
16462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16470 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16490 wxRect
* resultptr
;
16491 resultptr
= new wxRect((wxRect
&) result
);
16492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16500 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "rect", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16515 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 (arg1
)->SetRect(arg2
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 Py_INCREF(Py_None
); resultobj
= Py_None
;
16531 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "pos", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16546 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 wxMoveEvent_SetPosition(arg1
,arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16565 wxPoint
*arg2
= (wxPoint
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "m_pos", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16577 if (arg1
) (arg1
)->m_pos
= *arg2
;
16579 Py_INCREF(Py_None
); resultobj
= Py_None
;
16586 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16607 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16610 wxRect
*arg2
= (wxRect
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "m_rect", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16622 if (arg1
) (arg1
)->m_rect
= *arg2
;
16624 Py_INCREF(Py_None
); resultobj
= Py_None
;
16631 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 result
= (wxRect
*)& ((arg1
)->m_rect
);
16645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16652 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16655 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16657 return Py_BuildValue((char *)"");
16659 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 int arg1
= (int) 0 ;
16662 wxPaintEvent
*result
;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "Id", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16670 arg1
= (int) SWIG_AsInt(obj0
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16687 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16692 return Py_BuildValue((char *)"");
16694 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 int arg1
= (int) 0 ;
16697 wxNcPaintEvent
*result
;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "winid", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16705 arg1
= (int) SWIG_AsInt(obj0
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16722 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16727 return Py_BuildValue((char *)"");
16729 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 int arg1
= (int) 0 ;
16732 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16733 wxEraseEvent
*result
;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "Id",(char *) "dc", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 arg1
= (int) SWIG_AsInt(obj0
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16763 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16767 PyObject
* obj0
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= wxPyMake_wxObject(result
);
16791 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16794 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16796 return Py_BuildValue((char *)"");
16798 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16801 int arg2
= (int) 0 ;
16802 wxFocusEvent
*result
;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "type",(char *) "winid", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16811 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 arg2
= (int) SWIG_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16832 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= wxPyMake_wxObject(result
);
16860 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16863 wxWindow
*arg2
= (wxWindow
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self",(char *) "win", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 (arg1
)->SetWindow(arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16894 return Py_BuildValue((char *)"");
16896 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxWindow
*arg1
= (wxWindow
*) NULL
;
16899 wxChildFocusEvent
*result
;
16900 PyObject
* obj0
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "win", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16924 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= wxPyMake_wxObject(result
);
16952 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16955 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16957 return Py_BuildValue((char *)"");
16959 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16962 bool arg2
= (bool) True
;
16963 int arg3
= (int) 0 ;
16964 wxActivateEvent
*result
;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 PyObject
* obj2
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "type",(char *) "active",(char *) "Id", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16974 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 arg2
= (bool) SWIG_AsBool(obj1
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 arg3
= (int) SWIG_AsInt(obj2
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16999 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17030 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17032 return Py_BuildValue((char *)"");
17034 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 int arg1
= (int) 0 ;
17037 wxInitDialogEvent
*result
;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "Id", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17045 arg1
= (int) SWIG_AsInt(obj0
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17062 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17067 return Py_BuildValue((char *)"");
17069 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17072 int arg2
= (int) 0 ;
17073 wxMenu
*arg3
= (wxMenu
*) NULL
;
17074 wxMenuEvent
*result
;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "type",(char *) "winid",(char *) "menu", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17084 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 arg2
= (int) SWIG_AsInt(obj1
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17109 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_FromInt((int)result
);
17135 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17163 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= wxPyMake_wxObject(result
);
17191 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17194 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17196 return Py_BuildValue((char *)"");
17198 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17201 int arg2
= (int) 0 ;
17202 wxCloseEvent
*result
;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "type",(char *) "winid", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17211 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17215 arg2
= (int) SWIG_AsInt(obj1
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17232 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "logOff", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 arg2
= (bool) SWIG_AsBool(obj1
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 (arg1
)->SetLoggingOff(arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 Py_INCREF(Py_None
); resultobj
= Py_None
;
17261 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17289 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17292 bool arg2
= (bool) True
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self",(char *) "veto", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 arg2
= (bool) SWIG_AsBool(obj1
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 (arg1
)->Veto(arg2
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 Py_INCREF(Py_None
); resultobj
= Py_None
;
17320 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self",(char *) "canVeto", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 arg2
= (bool) SWIG_AsBool(obj1
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 (arg1
)->SetCanVeto(arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 Py_INCREF(Py_None
); resultobj
= Py_None
;
17349 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17377 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17405 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17408 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17410 return Py_BuildValue((char *)"");
17412 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 int arg1
= (int) 0 ;
17415 bool arg2
= (bool) False
;
17416 wxShowEvent
*result
;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "winid",(char *) "show", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 arg1
= (int) SWIG_AsInt(obj0
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 arg2
= (bool) SWIG_AsBool(obj1
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17446 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "show", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (bool) SWIG_AsBool(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetShow(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17503 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17506 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17508 return Py_BuildValue((char *)"");
17510 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 int arg1
= (int) 0 ;
17513 bool arg2
= (bool) True
;
17514 wxIconizeEvent
*result
;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "id",(char *) "iconized", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 arg1
= (int) SWIG_AsInt(obj0
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 arg2
= (bool) SWIG_AsBool(obj1
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17544 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (bool)(arg1
)->Iconized();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17572 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17575 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17577 return Py_BuildValue((char *)"");
17579 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 int arg1
= (int) 0 ;
17582 wxMaximizeEvent
*result
;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "id", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17590 arg1
= (int) SWIG_AsInt(obj0
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17607 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17610 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17612 return Py_BuildValue((char *)"");
17614 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (arg1
)->GetPosition();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 wxPoint
* resultptr
;
17635 resultptr
= new wxPoint((wxPoint
&) result
);
17636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17644 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (int)(arg1
)->GetNumberOfFiles();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= SWIG_FromInt((int)result
);
17670 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= result
;
17696 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17699 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17701 return Py_BuildValue((char *)"");
17703 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 int arg1
= (int) 0 ;
17706 wxUpdateUIEvent
*result
;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "commandId", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17714 arg1
= (int) SWIG_AsInt(obj0
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17731 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17819 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17847 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17875 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "check", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 arg2
= (bool) SWIG_AsBool(obj1
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->Check(arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 Py_INCREF(Py_None
); resultobj
= Py_None
;
17932 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "enable", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (bool) SWIG_AsBool(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->Enable(arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17964 wxString
*arg2
= 0 ;
17965 bool temp2
= False
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "text", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= wxString_in_helper(obj1
);
17977 if (arg2
== NULL
) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->SetText((wxString
const &)*arg2
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "updateInterval", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18011 arg1
= (long) SWIG_AsLong(obj0
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 Py_INCREF(Py_None
); resultobj
= Py_None
;
18027 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18030 char *kwnames
[] = {
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= SWIG_FromLong((long)result
);
18049 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxWindow
*arg1
= (wxWindow
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "win", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18077 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 char *kwnames
[] = {
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 wxUpdateUIEvent::ResetUpdateTime();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "mode", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18107 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18126 char *kwnames
[] = {
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)wxUpdateUIEvent::GetMode();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_FromInt((int)result
);
18145 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18148 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18150 return Py_BuildValue((char *)"");
18152 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxSysColourChangedEvent
*result
;
18155 char *kwnames
[] = {
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18174 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18177 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18179 return Py_BuildValue((char *)"");
18181 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 int arg1
= (int) 0 ;
18184 wxWindow
*arg2
= (wxWindow
*) NULL
;
18185 wxMouseCaptureChangedEvent
*result
;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "winid",(char *) "gainedCapture", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18194 arg1
= (int) SWIG_AsInt(obj0
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18215 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= wxPyMake_wxObject(result
);
18243 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18246 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18248 return Py_BuildValue((char *)"");
18250 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxDisplayChangedEvent
*result
;
18253 char *kwnames
[] = {
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18272 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18275 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18277 return Py_BuildValue((char *)"");
18279 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 int arg1
= (int) 0 ;
18282 wxPaletteChangedEvent
*result
;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "id", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18290 arg1
= (int) SWIG_AsInt(obj0
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18307 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18310 wxWindow
*arg2
= (wxWindow
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "win", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 (arg1
)->SetChangedWindow(arg2
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 Py_INCREF(Py_None
); resultobj
= Py_None
;
18336 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= wxPyMake_wxObject(result
);
18364 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18367 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18369 return Py_BuildValue((char *)"");
18371 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 int arg1
= (int) 0 ;
18374 wxQueryNewPaletteEvent
*result
;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "winid", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18382 arg1
= (int) SWIG_AsInt(obj0
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18399 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "realized", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (bool) SWIG_AsBool(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->SetPaletteRealized(arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18456 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18459 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18461 return Py_BuildValue((char *)"");
18463 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxNavigationKeyEvent
*result
;
18466 char *kwnames
[] = {
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18485 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18513 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "bForward", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= (bool) SWIG_AsBool(obj1
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 (arg1
)->SetDirection(arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18570 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "bIs", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 arg2
= (bool) SWIG_AsBool(obj1
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 (arg1
)->SetWindowChange(arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 Py_INCREF(Py_None
); resultobj
= Py_None
;
18599 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= wxPyMake_wxObject(result
);
18627 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18630 wxWindow
*arg2
= (wxWindow
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self",(char *) "win", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetCurrentFocus(arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 Py_INCREF(Py_None
); resultobj
= Py_None
;
18656 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18659 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18661 return Py_BuildValue((char *)"");
18663 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxWindow
*arg1
= (wxWindow
*) NULL
;
18666 wxWindowCreateEvent
*result
;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "win", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18691 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= wxPyMake_wxObject(result
);
18719 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18722 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18724 return Py_BuildValue((char *)"");
18726 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxWindow
*arg1
= (wxWindow
*) NULL
;
18729 wxWindowDestroyEvent
*result
;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "win", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18754 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= wxPyMake_wxObject(result
);
18782 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18785 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18787 return Py_BuildValue((char *)"");
18789 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18792 int arg2
= (int) 0 ;
18793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18795 wxContextMenuEvent
*result
;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "type",(char *) "winid",(char *) "pt", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18806 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 arg2
= (int) SWIG_AsInt(obj1
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18833 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18849 result
= (wxPoint
*) &_result_ref
;
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18862 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18865 wxPoint
*arg2
= 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self",(char *) "pos", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 Py_INCREF(Py_None
); resultobj
= Py_None
;
18894 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18899 return Py_BuildValue((char *)"");
18901 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxIdleEvent
*result
;
18904 char *kwnames
[] = {
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (wxIdleEvent
*)new wxIdleEvent();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18923 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18926 bool arg2
= (bool) True
;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self",(char *) "needMore", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 arg2
= (bool) SWIG_AsBool(obj1
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->RequestMore(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18982 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "mode", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18991 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 Py_INCREF(Py_None
); resultobj
= Py_None
;
19007 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19010 char *kwnames
[] = {
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (int)wxIdleEvent::GetMode();
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_FromInt((int)result
);
19029 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxWindow
*arg1
= (wxWindow
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "win", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (bool)wxIdleEvent::CanSend(arg1
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19057 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19060 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19062 return Py_BuildValue((char *)"");
19064 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 int arg1
= (int) 0 ;
19067 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "winid",(char *) "commandType", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 arg1
= (int) SWIG_AsInt(obj0
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19081 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19098 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19126 PyObject
*arg2
= (PyObject
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self",(char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetSelf(arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (PyObject
*)(arg1
)->GetSelf();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= result
;
19177 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19180 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19182 return Py_BuildValue((char *)"");
19184 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19187 int arg2
= (int) 0 ;
19188 wxPyCommandEvent
*result
;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "commandType",(char *) "id", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 arg2
= (int) SWIG_AsInt(obj1
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19218 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 Py_INCREF(Py_None
); resultobj
= Py_None
;
19243 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19246 PyObject
*arg2
= (PyObject
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "self", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetSelf(arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (PyObject
*)(arg1
)->GetSelf();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= result
;
19297 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19300 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19302 return Py_BuildValue((char *)"");
19304 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19307 char *kwnames
[] = {
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (wxPyApp
*)new_wxPyApp();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= wxPyMake_wxObject(result
);
19328 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19356 PyObject
*arg2
= (PyObject
*) 0 ;
19357 PyObject
*arg3
= (PyObject
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 PyObject
* obj2
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self",(char *) "self",(char *) "_class", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19416 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19419 wxString
*arg2
= 0 ;
19420 bool temp2
= False
;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "name", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 arg2
= wxString_in_helper(obj1
);
19432 if (arg2
== NULL
) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 (arg1
)->SetAppName((wxString
const &)*arg2
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19489 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19492 wxString
*arg2
= 0 ;
19493 bool temp2
= False
;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self",(char *) "name", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 arg2
= wxString_in_helper(obj1
);
19505 if (arg2
== NULL
) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 (arg1
)->SetClassName((wxString
const &)*arg2
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19546 result
= (wxString
*) &_result_ref
;
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19556 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19565 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19568 wxString
*arg2
= 0 ;
19569 bool temp2
= False
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "name", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 arg2
= wxString_in_helper(obj1
);
19581 if (arg2
== NULL
) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 Py_INCREF(Py_None
); resultobj
= Py_None
;
19606 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19609 wxAppTraits
*result
;
19610 PyObject
* obj0
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19632 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 (arg1
)->ProcessPendingEvents();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 Py_INCREF(Py_None
); resultobj
= Py_None
;
19657 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19660 bool arg2
= (bool) False
;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "onlyIfNeeded", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 arg2
= (bool) SWIG_AsBool(obj1
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (bool)(arg1
)->Yield(arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19691 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 (arg1
)->WakeUpIdle();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 Py_INCREF(Py_None
); resultobj
= Py_None
;
19716 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (int)(arg1
)->MainLoop();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_FromInt((int)result
);
19742 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 Py_INCREF(Py_None
); resultobj
= Py_None
;
19767 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->ExitMainLoop();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 Py_INCREF(Py_None
); resultobj
= Py_None
;
19792 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (bool)(arg1
)->Pending();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19820 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (bool)(arg1
)->Dispatch();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19848 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (bool)(arg1
)->ProcessIdle();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19876 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19879 wxWindow
*arg2
= (wxWindow
*) 0 ;
19880 wxIdleEvent
*arg3
= 0 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 PyObject
* obj2
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "win",(char *) "event", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19897 if (arg3
== NULL
) {
19898 PyErr_SetString(PyExc_TypeError
,"null reference");
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19945 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19948 wxWindow
*arg2
= (wxWindow
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self",(char *) "win", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->SetTopWindow(arg2
);
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 Py_INCREF(Py_None
); resultobj
= Py_None
;
19974 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19978 PyObject
* obj0
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= wxPyMake_wxObject(result
);
20002 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "flag", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 arg2
= (bool) SWIG_AsBool(obj1
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 (arg1
)->SetExitOnFrameDelete(arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 Py_INCREF(Py_None
); resultobj
= Py_None
;
20031 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "flag", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 arg2
= (bool) SWIG_AsBool(obj1
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->SetUseBestVisual(arg2
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 Py_INCREF(Py_None
); resultobj
= Py_None
;
20088 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20116 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "mode", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 arg2
= (int) SWIG_AsInt(obj1
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->SetPrintMode(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_FromInt((int)result
);
20171 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "mode", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 arg2
= (int) SWIG_AsInt(obj1
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 (arg1
)->SetAssertMode(arg2
);
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 Py_INCREF(Py_None
); resultobj
= Py_None
;
20200 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (int)(arg1
)->GetAssertMode();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_FromInt((int)result
);
20226 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20229 char *kwnames
[] = {
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20250 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20253 char *kwnames
[] = {
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_FromLong((long)result
);
20272 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20275 char *kwnames
[] = {
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_FromLong((long)result
);
20294 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20297 char *kwnames
[] = {
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (long)wxPyApp::GetMacExitMenuItemId();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_FromLong((long)result
);
20316 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20319 char *kwnames
[] = {
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= wxPyApp::GetMacHelpMenuTitleName();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20344 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20347 PyObject
* obj0
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "val", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20353 arg1
= (bool) SWIG_AsBool(obj0
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20369 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "val", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20378 arg1
= (long) SWIG_AsLong(obj0
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 wxPyApp::SetMacAboutMenuItemId(arg1
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20394 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20397 PyObject
* obj0
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "val", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20403 arg1
= (long) SWIG_AsLong(obj0
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "val", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20428 arg1
= (long) SWIG_AsLong(obj0
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 wxPyApp::SetMacExitMenuItemId(arg1
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 Py_INCREF(Py_None
); resultobj
= Py_None
;
20444 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxString
*arg1
= 0 ;
20447 bool temp1
= False
;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "val", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20455 arg1
= wxString_in_helper(obj0
);
20456 if (arg1
== NULL
) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 (arg1
)->_BootstrapApp();
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 Py_INCREF(Py_None
); resultobj
= Py_None
;
20506 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
;
20509 char *kwnames
[] = {
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (int)PyApp_GetComCtl32Version();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_FromInt((int)result
);
20528 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20531 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20533 return Py_BuildValue((char *)"");
20535 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 char *kwnames
[] = {
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20559 char *kwnames
[] = {
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (bool)wxYield();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20580 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20583 char *kwnames
[] = {
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)wxYieldIfNeeded();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20604 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxWindow
*arg1
= (wxWindow
*) NULL
;
20607 bool arg2
= (bool) False
;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "win",(char *) "onlyIfNeeded", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 arg2
= (bool) SWIG_AsBool(obj1
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)wxSafeYield(arg1
,arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 char *kwnames
[] = {
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20664 wxEvent
*arg2
= 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "dest",(char *) "event", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20677 if (arg2
== NULL
) {
20678 PyErr_SetString(PyExc_TypeError
,"null reference");
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 wxPostEvent(arg1
,*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 Py_INCREF(Py_None
); resultobj
= Py_None
;
20695 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 char *kwnames
[] = {
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20719 char *kwnames
[] = {
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 result
= (wxPyApp
*)wxGetApp();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= wxPyMake_wxObject(result
);
20740 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 int arg1
= (int) 0 ;
20743 int arg2
= (int) 0 ;
20744 int arg3
= (int) 0 ;
20745 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20746 wxAcceleratorEntry
*result
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 PyObject
* obj3
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20757 arg1
= (int) SWIG_AsInt(obj0
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20761 arg2
= (int) SWIG_AsInt(obj1
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 arg3
= (int) SWIG_AsInt(obj2
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20786 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20817 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 PyObject
* obj2
= 0 ;
20821 PyObject
* obj3
= 0 ;
20822 PyObject
* obj4
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 arg2
= (int) SWIG_AsInt(obj1
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20832 arg3
= (int) SWIG_AsInt(obj2
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20834 arg4
= (int) SWIG_AsInt(obj3
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 Py_INCREF(Py_None
); resultobj
= Py_None
;
20854 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20857 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self",(char *) "item", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 (arg1
)->SetMenuItem(arg2
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 Py_INCREF(Py_None
); resultobj
= Py_None
;
20883 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20886 wxMenuItem
*result
;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= wxPyMake_wxObject(result
);
20911 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (int)(arg1
)->GetFlags();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_FromInt((int)result
);
20937 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (int)(arg1
)->GetKeyCode();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_FromInt((int)result
);
20963 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (int)(arg1
)->GetCommand();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_FromInt((int)result
);
20989 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20992 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20994 return Py_BuildValue((char *)"");
20996 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20999 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21000 wxAcceleratorTable
*result
;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21008 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21009 if (arg2
) arg1
= PyList_Size(obj0
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21032 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 char *kwnames
[] = {
21037 (char *) "self", NULL
21040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 Py_INCREF(Py_None
); resultobj
= Py_None
;
21057 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21061 PyObject
* obj0
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21085 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21088 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21090 return Py_BuildValue((char *)"");
21092 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21093 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21098 static PyObject
*_wrap_NullAcceleratorTable_get() {
21101 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21106 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxString
*arg1
= 0 ;
21109 wxAcceleratorEntry
*result
;
21110 bool temp1
= False
;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "label", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21118 arg1
= wxString_in_helper(obj0
);
21119 if (arg1
== NULL
) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21144 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21145 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21150 static PyObject
*_wrap_PanelNameStr_get() {
21155 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21157 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21164 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxVisualAttributes
*result
;
21167 char *kwnames
[] = {
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21186 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21189 PyObject
* obj0
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 delete_wxVisualAttributes(arg1
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21214 wxFont
*arg2
= (wxFont
*) 0 ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self",(char *) "font", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 if (arg1
) (arg1
)->font
= *arg2
;
21228 Py_INCREF(Py_None
); resultobj
= Py_None
;
21235 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21247 result
= (wxFont
*)& ((arg1
)->font
);
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21256 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21259 wxColour
*arg2
= (wxColour
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "colFg", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21271 if (arg1
) (arg1
)->colFg
= *arg2
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 result
= (wxColour
*)& ((arg1
)->colFg
);
21294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21301 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21304 wxColour
*arg2
= (wxColour
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self",(char *) "colBg", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 if (arg1
) (arg1
)->colBg
= *arg2
;
21318 Py_INCREF(Py_None
); resultobj
= Py_None
;
21325 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21337 result
= (wxColour
*)& ((arg1
)->colBg
);
21339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21346 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21349 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21351 return Py_BuildValue((char *)"");
21353 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxWindow
*arg1
= (wxWindow
*) 0 ;
21356 int arg2
= (int) (int)-1 ;
21357 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21358 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21359 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21360 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21361 long arg5
= (long) 0 ;
21362 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21363 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21367 bool temp6
= False
;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 PyObject
* obj2
= 0 ;
21371 PyObject
* obj3
= 0 ;
21372 PyObject
* obj4
= 0 ;
21373 PyObject
* obj5
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 arg2
= (int const) SWIG_AsInt(obj1
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21394 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21398 arg5
= (long) SWIG_AsLong(obj4
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21403 arg6
= wxString_in_helper(obj5
);
21404 if (arg6
== NULL
) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= wxPyMake_wxObject(result
);
21432 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21435 char *kwnames
[] = {
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (wxWindow
*)new wxWindow();
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= wxPyMake_wxObject(result
);
21456 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxWindow
*arg1
= (wxWindow
*) 0 ;
21459 wxWindow
*arg2
= (wxWindow
*) 0 ;
21460 int arg3
= (int) (int)-1 ;
21461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21465 long arg6
= (long) 0 ;
21466 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21467 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21471 bool temp7
= False
;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 PyObject
* obj2
= 0 ;
21475 PyObject
* obj3
= 0 ;
21476 PyObject
* obj4
= 0 ;
21477 PyObject
* obj5
= 0 ;
21478 PyObject
* obj6
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 arg3
= (int const) SWIG_AsInt(obj2
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21495 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21501 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21505 arg6
= (long) SWIG_AsLong(obj5
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21510 arg7
= wxString_in_helper(obj6
);
21511 if (arg7
== NULL
) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21539 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxWindow
*arg1
= (wxWindow
*) 0 ;
21542 bool arg2
= (bool) False
;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "force", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 arg2
= (bool) SWIG_AsBool(obj1
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (bool)(arg1
)->Close(arg2
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21573 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (bool)(arg1
)->Destroy();
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21601 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxWindow
*arg1
= (wxWindow
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)(arg1
)->DestroyChildren();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21629 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxWindow
*arg1
= (wxWindow
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxWindow
*arg1
= (wxWindow
*) 0 ;
21660 wxString
*arg2
= 0 ;
21661 bool temp2
= False
;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "title", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 arg2
= wxString_in_helper(obj1
);
21673 if (arg2
== NULL
) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 (arg1
)->SetTitle((wxString
const &)*arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxWindow
*arg1
= (wxWindow
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= ((wxWindow
const *)arg1
)->GetTitle();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21730 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxWindow
*arg1
= (wxWindow
*) 0 ;
21733 wxString
*arg2
= 0 ;
21734 bool temp2
= False
;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "label", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21745 arg2
= wxString_in_helper(obj1
);
21746 if (arg2
== NULL
) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetLabel((wxString
const &)*arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxWindow
*arg1
= (wxWindow
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= ((wxWindow
const *)arg1
)->GetLabel();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21803 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxWindow
*arg1
= (wxWindow
*) 0 ;
21806 wxString
*arg2
= 0 ;
21807 bool temp2
= False
;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self",(char *) "name", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 arg2
= wxString_in_helper(obj1
);
21819 if (arg2
== NULL
) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->SetName((wxString
const &)*arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21844 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxWindow
*arg1
= (wxWindow
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= ((wxWindow
const *)arg1
)->GetName();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21876 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxWindow
*arg1
= (wxWindow
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "variant", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21889 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 Py_INCREF(Py_None
); resultobj
= Py_None
;
21905 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxWindow
*arg1
= (wxWindow
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_FromInt((int)result
);
21931 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxWindow
*arg1
= (wxWindow
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "winid", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 arg2
= (int) SWIG_AsInt(obj1
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 (arg1
)->SetId(arg2
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxWindow
*arg1
= (wxWindow
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (int)((wxWindow
const *)arg1
)->GetId();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_FromInt((int)result
);
21986 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21989 char *kwnames
[] = {
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (int)wxWindow::NewControlId();
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_FromInt((int)result
);
22008 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
;
22012 PyObject
* obj0
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "winid", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22018 arg1
= (int) SWIG_AsInt(obj0
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (int)wxWindow::NextControlId(arg1
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_FromInt((int)result
);
22034 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22038 PyObject
* obj0
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "winid", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22044 arg1
= (int) SWIG_AsInt(obj0
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (int)wxWindow::PrevControlId(arg1
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_FromInt((int)result
);
22060 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "size", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 (arg1
)->SetSize((wxSize
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxWindow
*arg1
= (wxWindow
*) 0 ;
22099 int arg6
= (int) wxSIZE_AUTO
;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 PyObject
* obj2
= 0 ;
22103 PyObject
* obj3
= 0 ;
22104 PyObject
* obj4
= 0 ;
22105 PyObject
* obj5
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 arg2
= (int) SWIG_AsInt(obj1
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22115 arg3
= (int) SWIG_AsInt(obj2
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22117 arg4
= (int) SWIG_AsInt(obj3
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22119 arg5
= (int) SWIG_AsInt(obj4
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 arg6
= (int) SWIG_AsInt(obj5
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22139 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxWindow
*arg1
= (wxWindow
*) 0 ;
22143 int arg3
= (int) wxSIZE_AUTO
;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22160 arg3
= (int) SWIG_AsInt(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 PyObject
* obj2
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "width",(char *) "height", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 arg2
= (int) SWIG_AsInt(obj1
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22194 arg3
= (int) SWIG_AsInt(obj2
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->SetSize(arg2
,arg3
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxWindow
*arg1
= (wxWindow
*) 0 ;
22213 wxPoint
*arg2
= 0 ;
22214 int arg3
= (int) wxSIZE_USE_EXISTING
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "pt",(char *) "flags", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22231 arg3
= (int) SWIG_AsInt(obj2
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 Py_INCREF(Py_None
); resultobj
= Py_None
;
22248 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxWindow
*arg1
= (wxWindow
*) 0 ;
22253 int arg4
= (int) wxSIZE_USE_EXISTING
;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 PyObject
* obj2
= 0 ;
22257 PyObject
* obj3
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 arg2
= (int) SWIG_AsInt(obj1
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22267 arg3
= (int) SWIG_AsInt(obj2
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 arg4
= (int) SWIG_AsInt(obj3
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 (arg1
)->Move(arg2
,arg3
,arg4
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 Py_INCREF(Py_None
); resultobj
= Py_None
;
22287 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxWindow
*arg1
= (wxWindow
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22312 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxWindow
*arg1
= (wxWindow
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxWindow
*arg1
= (wxWindow
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "size", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 Py_INCREF(Py_None
); resultobj
= Py_None
;
22369 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxWindow
*arg1
= (wxWindow
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "width",(char *) "height", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (int) SWIG_AsInt(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22386 arg3
= (int) SWIG_AsInt(obj2
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 (arg1
)->SetClientSize(arg2
,arg3
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 Py_INCREF(Py_None
); resultobj
= Py_None
;
22402 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "rect", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 Py_INCREF(Py_None
); resultobj
= Py_None
;
22434 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxWindow
*arg1
= (wxWindow
*) 0 ;
22438 PyObject
* obj0
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (arg1
)->GetPosition();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 wxPoint
* resultptr
;
22455 resultptr
= new wxPoint((wxPoint
&) result
);
22456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22464 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxWindow
*arg1
= (wxWindow
*) 0 ;
22467 int *arg2
= (int *) 0 ;
22468 int *arg3
= (int *) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->GetPosition(arg2
,arg3
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22490 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22491 resultobj
= t_output_helper(resultobj
,o
);
22494 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22495 resultobj
= t_output_helper(resultobj
,o
);
22503 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxWindow
*arg1
= (wxWindow
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= ((wxWindow
const *)arg1
)->GetSize();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22523 wxSize
* resultptr
;
22524 resultptr
= new wxSize((wxSize
&) result
);
22525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22533 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxWindow
*arg1
= (wxWindow
*) 0 ;
22536 int *arg2
= (int *) 0 ;
22537 int *arg3
= (int *) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22560 resultobj
= t_output_helper(resultobj
,o
);
22563 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22564 resultobj
= t_output_helper(resultobj
,o
);
22572 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= ((wxWindow
const *)arg1
)->GetRect();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 wxRect
* resultptr
;
22593 resultptr
= new wxRect((wxRect
&) result
);
22594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22602 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 wxSize
* resultptr
;
22623 resultptr
= new wxSize((wxSize
&) result
);
22624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22632 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxWindow
*arg1
= (wxWindow
*) 0 ;
22635 int *arg2
= (int *) 0 ;
22636 int *arg3
= (int *) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 Py_INCREF(Py_None
); resultobj
= Py_None
;
22658 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22659 resultobj
= t_output_helper(resultobj
,o
);
22662 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22663 resultobj
= t_output_helper(resultobj
,o
);
22671 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxWindow
*arg1
= (wxWindow
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 wxPoint
* resultptr
;
22692 resultptr
= new wxPoint((wxPoint
&) result
);
22693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22701 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxWindow
*arg1
= (wxWindow
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 wxRect
* resultptr
;
22722 resultptr
= new wxRect((wxRect
&) result
);
22723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22731 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxWindow
*arg1
= (wxWindow
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 wxSize
* resultptr
;
22752 resultptr
= new wxSize((wxSize
&) result
);
22753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22761 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxWindow
*arg1
= (wxWindow
*) 0 ;
22764 int *arg2
= (int *) 0 ;
22765 int *arg3
= (int *) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 Py_INCREF(Py_None
); resultobj
= Py_None
;
22787 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22788 resultobj
= t_output_helper(resultobj
,o
);
22791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22792 resultobj
= t_output_helper(resultobj
,o
);
22800 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 wxSize
* resultptr
;
22821 resultptr
= new wxSize((wxSize
&) result
);
22822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22830 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxWindow
*arg1
= (wxWindow
*) 0 ;
22833 int arg2
= (int) wxBOTH
;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "direction", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22844 arg2
= (int) SWIG_AsInt(obj1
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->Center(arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22864 int arg2
= (int) wxBOTH
;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "dir", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 arg2
= (int) SWIG_AsInt(obj1
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->CenterOnScreen(arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 Py_INCREF(Py_None
); resultobj
= Py_None
;
22892 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxWindow
*arg1
= (wxWindow
*) 0 ;
22895 int arg2
= (int) wxBOTH
;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self",(char *) "dir", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (int) SWIG_AsInt(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->CenterOnParent(arg2
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 Py_INCREF(Py_None
); resultobj
= Py_None
;
22923 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxWindow
*arg1
= (wxWindow
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 Py_INCREF(Py_None
); resultobj
= Py_None
;
22948 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxWindow
*arg1
= (wxWindow
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 (arg1
)->FitInside();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22974 PyObject
*resultobj
;
22975 wxWindow
*arg1
= (wxWindow
*) 0 ;
22978 int arg4
= (int) -1 ;
22979 int arg5
= (int) -1 ;
22980 int arg6
= (int) -1 ;
22981 int arg7
= (int) -1 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 PyObject
* obj3
= 0 ;
22986 PyObject
* obj4
= 0 ;
22987 PyObject
* obj5
= 0 ;
22988 PyObject
* obj6
= 0 ;
22990 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 arg2
= (int) SWIG_AsInt(obj1
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22995 arg3
= (int) SWIG_AsInt(obj2
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 arg4
= (int) SWIG_AsInt(obj3
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 arg5
= (int) SWIG_AsInt(obj4
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 arg6
= (int) SWIG_AsInt(obj5
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 arg7
= (int) SWIG_AsInt(obj6
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23027 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23028 PyObject
*resultobj
;
23029 wxWindow
*arg1
= (wxWindow
*) 0 ;
23031 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23032 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23033 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23034 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 PyObject
* obj2
= 0 ;
23041 PyObject
* obj3
= 0 ;
23043 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23053 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 Py_INCREF(Py_None
); resultobj
= Py_None
;
23076 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23081 argc
= PyObject_Length(args
);
23082 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23083 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23085 if ((argc
>= 2) && (argc
<= 4)) {
23089 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23098 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23102 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23105 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23109 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23112 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23115 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23121 if ((argc
>= 3) && (argc
<= 7)) {
23125 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23133 _v
= SWIG_CheckInt(argv
[1]);
23135 _v
= SWIG_CheckInt(argv
[2]);
23138 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23140 _v
= SWIG_CheckInt(argv
[3]);
23143 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23145 _v
= SWIG_CheckInt(argv
[4]);
23148 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23150 _v
= SWIG_CheckInt(argv
[5]);
23153 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23155 _v
= SWIG_CheckInt(argv
[6]);
23157 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23172 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23173 PyObject
*resultobj
;
23174 wxWindow
*arg1
= (wxWindow
*) 0 ;
23177 int arg4
= (int) -1 ;
23178 int arg5
= (int) -1 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 PyObject
* obj2
= 0 ;
23182 PyObject
* obj3
= 0 ;
23183 PyObject
* obj4
= 0 ;
23185 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 arg2
= (int) SWIG_AsInt(obj1
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23190 arg3
= (int) SWIG_AsInt(obj2
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 arg4
= (int) SWIG_AsInt(obj3
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 arg5
= (int) SWIG_AsInt(obj4
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23215 PyObject
*resultobj
;
23216 wxWindow
*arg1
= (wxWindow
*) 0 ;
23218 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23219 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 PyObject
* obj2
= 0 ;
23226 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23236 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 Py_INCREF(Py_None
); resultobj
= Py_None
;
23253 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23258 argc
= PyObject_Length(args
);
23259 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23260 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23262 if ((argc
>= 2) && (argc
<= 3)) {
23266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23275 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23279 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23282 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23285 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23290 if ((argc
>= 3) && (argc
<= 5)) {
23294 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23302 _v
= SWIG_CheckInt(argv
[1]);
23304 _v
= SWIG_CheckInt(argv
[2]);
23307 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23309 _v
= SWIG_CheckInt(argv
[3]);
23312 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23314 _v
= SWIG_CheckInt(argv
[4]);
23316 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23324 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23329 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxWindow
*arg1
= (wxWindow
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_FromInt((int)result
);
23355 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxWindow
*arg1
= (wxWindow
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_FromInt((int)result
);
23381 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxWindow
*arg1
= (wxWindow
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_FromInt((int)result
);
23407 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxWindow
*arg1
= (wxWindow
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_FromInt((int)result
);
23433 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 wxSize
* resultptr
;
23454 resultptr
= new wxSize((wxSize
&) result
);
23455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23463 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxWindow
*arg1
= (wxWindow
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 wxSize
* resultptr
;
23484 resultptr
= new wxSize((wxSize
&) result
);
23485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23493 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxWindow
*arg1
= (wxWindow
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "size", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 PyObject
* obj2
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self",(char *) "w",(char *) "h", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23540 arg2
= (int) SWIG_AsInt(obj1
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23542 arg3
= (int) SWIG_AsInt(obj2
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 (arg1
)->SetVirtualSize(arg2
,arg3
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 Py_INCREF(Py_None
); resultobj
= Py_None
;
23558 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxWindow
*arg1
= (wxWindow
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 wxSize
* resultptr
;
23579 resultptr
= new wxSize((wxSize
&) result
);
23580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23588 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxWindow
*arg1
= (wxWindow
*) 0 ;
23591 int *arg2
= (int *) 0 ;
23592 int *arg3
= (int *) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23614 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23615 resultobj
= t_output_helper(resultobj
,o
);
23618 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23619 resultobj
= t_output_helper(resultobj
,o
);
23627 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxWindow
*arg1
= (wxWindow
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 wxSize
* resultptr
;
23648 resultptr
= new wxSize((wxSize
&) result
);
23649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23657 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxWindow
*arg1
= (wxWindow
*) 0 ;
23660 bool arg2
= (bool) True
;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "show", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 arg2
= (bool) SWIG_AsBool(obj1
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (bool)(arg1
)->Show(arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23691 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (bool)(arg1
)->Hide();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23719 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxWindow
*arg1
= (wxWindow
*) 0 ;
23722 bool arg2
= (bool) True
;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "enable", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 arg2
= (bool) SWIG_AsBool(obj1
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (bool)(arg1
)->Enable(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23753 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (bool)(arg1
)->Disable();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23837 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "style", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg2
= (long) SWIG_AsLong(obj1
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->SetWindowStyleFlag(arg2
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 Py_INCREF(Py_None
); resultobj
= Py_None
;
23866 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23868 wxWindow
*arg1
= (wxWindow
*) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_FromLong((long)result
);
23892 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxWindow
*arg1
= (wxWindow
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 PyObject
* obj1
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self",(char *) "flag", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23906 arg2
= (int) SWIG_AsInt(obj1
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23924 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxWindow
*arg1
= (wxWindow
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "self", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23952 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxWindow
*arg1
= (wxWindow
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "exStyle", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 arg2
= (long) SWIG_AsLong(obj1
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 (arg1
)->SetExtraStyle(arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 Py_INCREF(Py_None
); resultobj
= Py_None
;
23981 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxWindow
*arg1
= (wxWindow
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_FromLong((long)result
);
24007 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxWindow
*arg1
= (wxWindow
*) 0 ;
24010 bool arg2
= (bool) True
;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "modal", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= (bool) SWIG_AsBool(obj1
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 (arg1
)->MakeModal(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 Py_INCREF(Py_None
); resultobj
= Py_None
;
24038 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxWindow
*arg1
= (wxWindow
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "enableTheme", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24051 arg2
= (bool) SWIG_AsBool(obj1
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 (arg1
)->SetThemeEnabled(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 Py_INCREF(Py_None
); resultobj
= Py_None
;
24067 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxWindow
*arg1
= (wxWindow
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxWindow
*arg1
= (wxWindow
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->SetFocus();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxWindow
*arg1
= (wxWindow
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->SetFocusFromKbd();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24148 char *kwnames
[] = {
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (wxWindow
*)wxWindow::FindFocus();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= wxPyMake_wxObject(result
);
24169 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxWindow
*arg1
= (wxWindow
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24197 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxWindow
*arg1
= (wxWindow
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24225 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxWindow
*arg1
= (wxWindow
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= wxPyMake_wxObject(result
);
24253 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxWindow
*arg1
= (wxWindow
*) 0 ;
24256 wxWindow
*arg2
= (wxWindow
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "child", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
);
24285 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxWindow
*arg1
= (wxWindow
*) 0 ;
24288 wxWindow
*arg2
= (wxWindow
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "win", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->SetTmpDefaultItem(arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxWindow
*arg1
= (wxWindow
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= result
;
24340 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxWindow
*arg1
= (wxWindow
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= wxPyMake_wxObject(result
);
24368 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxWindow
*arg1
= (wxWindow
*) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= wxPyMake_wxObject(result
);
24396 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxWindow
*arg1
= (wxWindow
*) 0 ;
24400 PyObject
* obj0
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24424 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxWindow
*arg1
= (wxWindow
*) 0 ;
24427 wxWindow
*arg2
= (wxWindow
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "newParent", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (bool)(arg1
)->Reparent(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24456 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxWindow
*arg1
= (wxWindow
*) 0 ;
24459 wxWindow
*arg2
= (wxWindow
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self",(char *) "child", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->AddChild(arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxWindow
*arg1
= (wxWindow
*) 0 ;
24488 wxWindow
*arg2
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "child", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 (arg1
)->RemoveChild(arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 Py_INCREF(Py_None
); resultobj
= Py_None
;
24514 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxWindow
*arg1
= (wxWindow
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "winid", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 arg2
= (long) SWIG_AsLong(obj1
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= wxPyMake_wxObject(result
);
24546 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxWindow
*arg1
= (wxWindow
*) 0 ;
24549 wxString
*arg2
= 0 ;
24551 bool temp2
= False
;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "name", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 arg2
= wxString_in_helper(obj1
);
24563 if (arg2
== NULL
) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= wxPyMake_wxObject(result
);
24590 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxWindow
*arg1
= (wxWindow
*) 0 ;
24593 wxEvtHandler
*result
;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= wxPyMake_wxObject(result
);
24618 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxWindow
*arg1
= (wxWindow
*) 0 ;
24621 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "handler", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetEventHandler(arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxWindow
*arg1
= (wxWindow
*) 0 ;
24650 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "handler", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->PushEventHandler(arg2
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 Py_INCREF(Py_None
); resultobj
= Py_None
;
24676 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxWindow
*arg1
= (wxWindow
*) 0 ;
24679 bool arg2
= (bool) False
;
24680 wxEvtHandler
*result
;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "deleteHandler", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24691 arg2
= (bool) SWIG_AsBool(obj1
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= wxPyMake_wxObject(result
);
24710 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxWindow
*arg1
= (wxWindow
*) 0 ;
24713 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "handler", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24742 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxWindow
*arg1
= (wxWindow
*) 0 ;
24745 wxValidator
*arg2
= 0 ;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "validator", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24758 if (arg2
== NULL
) {
24759 PyErr_SetString(PyExc_TypeError
,"null reference");
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxWindow
*arg1
= (wxWindow
*) 0 ;
24779 wxValidator
*result
;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (wxValidator
*)(arg1
)->GetValidator();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= wxPyMake_wxObject(result
);
24804 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (bool)(arg1
)->Validate();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->TransferDataToWindow();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxWindow
*arg1
= (wxWindow
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (bool)(arg1
)->TransferDataFromWindow();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24888 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxWindow
*arg1
= (wxWindow
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 (arg1
)->InitDialog();
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 Py_INCREF(Py_None
); resultobj
= Py_None
;
24913 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxWindow
*arg1
= (wxWindow
*) 0 ;
24916 wxAcceleratorTable
*arg2
= 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "accel", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24929 if (arg2
== NULL
) {
24930 PyErr_SetString(PyExc_TypeError
,"null reference");
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 Py_INCREF(Py_None
); resultobj
= Py_None
;
24947 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
;
24949 wxWindow
*arg1
= (wxWindow
*) 0 ;
24950 wxAcceleratorTable
*result
;
24951 PyObject
* obj0
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24973 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 PyObject
* obj2
= 0 ;
24983 PyObject
* obj3
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 arg2
= (int) SWIG_AsInt(obj1
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24993 arg3
= (int) SWIG_AsInt(obj2
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24995 arg4
= (int) SWIG_AsInt(obj3
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25013 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self",(char *) "hotkeyId", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25027 arg2
= (int) SWIG_AsInt(obj1
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25045 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxWindow
*arg1
= (wxWindow
*) 0 ;
25048 wxPoint
*arg2
= 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "pt", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 wxPoint
* resultptr
;
25073 resultptr
= new wxPoint((wxPoint
&) result
);
25074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25082 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "sz", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25109 wxSize
* resultptr
;
25110 resultptr
= new wxSize((wxSize
&) result
);
25111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25119 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
;
25121 wxWindow
*arg1
= (wxWindow
*) 0 ;
25122 wxPoint
*arg2
= 0 ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self",(char *) "pt", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 wxPoint
* resultptr
;
25147 resultptr
= new wxPoint((wxPoint
&) result
);
25148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25156 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 char *kwnames
[] = {
25165 (char *) "self",(char *) "sz", NULL
25168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 wxSize
* resultptr
;
25184 resultptr
= new wxSize((wxSize
&) result
);
25185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25193 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxWindow
*arg1
= (wxWindow
*) 0 ;
25196 wxPoint
*arg2
= 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "pt", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 wxPoint
* resultptr
;
25221 resultptr
= new wxPoint((wxPoint
&) result
);
25222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25230 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxWindow
*arg1
= (wxWindow
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "sz", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 wxSize
* resultptr
;
25258 resultptr
= new wxSize((wxSize
&) result
);
25259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25267 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 PyObject
* obj2
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "x",(char *) "y", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 arg2
= (int) SWIG_AsInt(obj1
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25284 arg3
= (int) SWIG_AsInt(obj2
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 (arg1
)->WarpPointer(arg2
,arg3
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 Py_INCREF(Py_None
); resultobj
= Py_None
;
25300 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxWindow
*arg1
= (wxWindow
*) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 (arg1
)->CaptureMouse();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 Py_INCREF(Py_None
); resultobj
= Py_None
;
25325 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxWindow
*arg1
= (wxWindow
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 char *kwnames
[] = {
25330 (char *) "self", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 (arg1
)->ReleaseMouse();
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 Py_INCREF(Py_None
); resultobj
= Py_None
;
25350 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25353 char *kwnames
[] = {
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (wxWindow
*)wxWindow::GetCapture();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= wxPyMake_wxObject(result
);
25374 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxWindow
*arg1
= (wxWindow
*) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25402 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25405 bool arg2
= (bool) True
;
25406 wxRect
*arg3
= (wxRect
*) NULL
;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25418 arg2
= (bool) SWIG_AsBool(obj1
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25422 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 Py_INCREF(Py_None
); resultobj
= Py_None
;
25439 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "rect", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxWindow
*arg1
= (wxWindow
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 Py_INCREF(Py_None
); resultobj
= Py_None
;
25496 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxWindow
*arg1
= (wxWindow
*) 0 ;
25499 PyObject
* obj0
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->ClearBackground();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxWindow
*arg1
= (wxWindow
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxWindow
*arg1
= (wxWindow
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 Py_INCREF(Py_None
); resultobj
= Py_None
;
25571 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxWindow
*arg1
= (wxWindow
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self",(char *) "dc", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25587 if (arg2
== NULL
) {
25588 PyErr_SetString(PyExc_TypeError
,"null reference");
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 (arg1
)->PrepareDC(*arg2
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 Py_INCREF(Py_None
); resultobj
= Py_None
;
25605 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxWindow
*arg1
= (wxWindow
*) 0 ;
25609 PyObject
* obj0
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25621 result
= (wxRegion
*) &_result_ref
;
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25634 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxWindow
*arg1
= (wxWindow
*) 0 ;
25638 PyObject
* obj0
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 wxRect
* resultptr
;
25655 resultptr
= new wxRect((wxRect
&) result
);
25656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25664 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxWindow
*arg1
= (wxWindow
*) 0 ;
25669 int arg4
= (int) 1 ;
25670 int arg5
= (int) 1 ;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 PyObject
* obj2
= 0 ;
25675 PyObject
* obj3
= 0 ;
25676 PyObject
* obj4
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 arg2
= (int) SWIG_AsInt(obj1
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25686 arg3
= (int) SWIG_AsInt(obj2
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 arg4
= (int) SWIG_AsInt(obj3
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 arg5
= (int) SWIG_AsInt(obj4
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25712 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 wxPoint
*arg2
= 0 ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 char *kwnames
[] = {
25721 (char *) "self",(char *) "pt", NULL
25724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxWindow
*arg1
= (wxWindow
*) 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self",(char *) "rect", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25782 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxWindow
*arg1
= (wxWindow
*) 0 ;
25785 wxVisualAttributes result
;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 wxVisualAttributes
* resultptr
;
25803 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25812 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25815 wxVisualAttributes result
;
25816 PyObject
* obj0
= 0 ;
25817 char *kwnames
[] = {
25818 (char *) "variant", NULL
25821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25823 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 wxVisualAttributes
* resultptr
;
25835 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25844 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 wxColour
*arg2
= 0 ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "colour", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25879 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
;
25881 wxWindow
*arg1
= (wxWindow
*) 0 ;
25882 wxColour
*arg2
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "colour", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25914 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxWindow
*arg1
= (wxWindow
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25934 wxColour
* resultptr
;
25935 resultptr
= new wxColour((wxColour
&) result
);
25936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25944 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxWindow
*arg1
= (wxWindow
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 wxColour
* resultptr
;
25965 resultptr
= new wxColour((wxColour
&) result
);
25966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25974 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxWindow
*arg1
= (wxWindow
*) 0 ;
25977 wxCursor
*arg2
= 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self",(char *) "cursor", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25991 if (arg2
== NULL
) {
25992 PyErr_SetString(PyExc_TypeError
,"null reference");
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26011 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
;
26013 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26027 result
= (wxCursor
*) &_result_ref
;
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 wxCursor
* resultptr
= new wxCursor(*result
);
26035 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26043 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "font", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26060 if (arg2
== NULL
) {
26061 PyErr_SetString(PyExc_TypeError
,"null reference");
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 wxFont
&_result_ref
= (arg1
)->GetFont();
26096 result
= (wxFont
*) &_result_ref
;
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26103 wxFont
* resultptr
= new wxFont(*result
);
26104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26112 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxWindow
*arg1
= (wxWindow
*) 0 ;
26115 wxCaret
*arg2
= (wxCaret
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "caret", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 (arg1
)->SetCaret(arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 Py_INCREF(Py_None
); resultobj
= Py_None
;
26141 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxWindow
*arg1
= (wxWindow
*) 0 ;
26145 PyObject
* obj0
= 0 ;
26146 char *kwnames
[] = {
26147 (char *) "self", NULL
26150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26167 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_FromInt((int)result
);
26193 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_FromInt((int)result
);
26219 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxWindow
*arg1
= (wxWindow
*) 0 ;
26222 wxString
*arg2
= 0 ;
26223 int *arg3
= (int *) 0 ;
26224 int *arg4
= (int *) 0 ;
26225 bool temp2
= False
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "string", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 arg2
= wxString_in_helper(obj1
);
26241 if (arg2
== NULL
) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26253 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26254 resultobj
= t_output_helper(resultobj
,o
);
26257 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26258 resultobj
= t_output_helper(resultobj
,o
);
26274 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26277 wxString
*arg2
= 0 ;
26278 int *arg3
= (int *) 0 ;
26279 int *arg4
= (int *) 0 ;
26280 int *arg5
= (int *) 0 ;
26281 int *arg6
= (int *) 0 ;
26282 wxFont
*arg7
= (wxFont
*) NULL
;
26283 bool temp2
= False
;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 PyObject
* obj2
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self",(char *) "string",(char *) "font", NULL
26299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 arg2
= wxString_in_helper(obj1
);
26304 if (arg2
== NULL
) SWIG_fail
;
26308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 Py_INCREF(Py_None
); resultobj
= Py_None
;
26320 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26321 resultobj
= t_output_helper(resultobj
,o
);
26324 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26325 resultobj
= t_output_helper(resultobj
,o
);
26328 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26329 resultobj
= t_output_helper(resultobj
,o
);
26332 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26333 resultobj
= t_output_helper(resultobj
,o
);
26349 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxWindow
*arg1
= (wxWindow
*) 0 ;
26352 int *arg2
= (int *) 0 ;
26353 int *arg3
= (int *) 0 ;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 PyObject
* obj2
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "x",(char *) "y", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 temp2
= PyInt_AsLong(obj1
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26372 temp3
= PyInt_AsLong(obj2
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 Py_INCREF(Py_None
); resultobj
= Py_None
;
26385 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26386 resultobj
= t_output_helper(resultobj
,o
);
26389 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26390 resultobj
= t_output_helper(resultobj
,o
);
26398 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxWindow
*arg1
= (wxWindow
*) 0 ;
26401 int *arg2
= (int *) 0 ;
26402 int *arg3
= (int *) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 PyObject
* obj2
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "x",(char *) "y", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26416 temp2
= PyInt_AsLong(obj1
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26421 temp3
= PyInt_AsLong(obj2
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26435 resultobj
= t_output_helper(resultobj
,o
);
26438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26439 resultobj
= t_output_helper(resultobj
,o
);
26447 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
;
26449 wxWindow
*arg1
= (wxWindow
*) 0 ;
26450 wxPoint
*arg2
= 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char *kwnames
[] = {
26456 (char *) "self",(char *) "pt", NULL
26459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26474 wxPoint
* resultptr
;
26475 resultptr
= new wxPoint((wxPoint
&) result
);
26476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26484 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxWindow
*arg1
= (wxWindow
*) 0 ;
26487 wxPoint
*arg2
= 0 ;
26490 PyObject
* obj0
= 0 ;
26491 PyObject
* obj1
= 0 ;
26492 char *kwnames
[] = {
26493 (char *) "self",(char *) "pt", NULL
26496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 wxPoint
* resultptr
;
26512 resultptr
= new wxPoint((wxPoint
&) result
);
26513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26521 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxWindow
*arg1
= (wxWindow
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 PyObject
* obj2
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self",(char *) "x",(char *) "y", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 arg2
= (int) SWIG_AsInt(obj1
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26539 arg3
= (int) SWIG_AsInt(obj2
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_FromInt((int)result
);
26555 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26558 wxPoint
*arg2
= 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "pt", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_FromInt((int)result
);
26588 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26589 PyObject
*resultobj
;
26590 wxWindow
*arg1
= (wxWindow
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26596 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 arg2
= (long) SWIG_AsLong(obj1
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_FromInt((int)result
);
26615 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26616 PyObject
*resultobj
;
26617 wxWindow
*arg1
= (wxWindow
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26621 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_FromInt((int)result
);
26638 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26643 argc
= PyObject_Length(args
);
26644 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26659 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26666 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26674 _v
= SWIG_CheckLong(argv
[1]);
26676 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26681 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26686 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxWindow
*arg1
= (wxWindow
*) 0 ;
26689 long arg2
= (long) wxUPDATE_UI_NONE
;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "flags", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26700 arg2
= (long) SWIG_AsLong(obj1
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->UpdateWindowUI(arg2
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxWindow
*arg1
= (wxWindow
*) 0 ;
26720 wxMenu
*arg2
= (wxMenu
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 PyObject
* obj3
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26737 arg3
= (int) SWIG_AsInt(obj2
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26739 arg4
= (int) SWIG_AsInt(obj3
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26757 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxWindow
*arg1
= (wxWindow
*) 0 ;
26760 wxMenu
*arg2
= (wxMenu
*) 0 ;
26761 wxPoint
*arg3
= 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 PyObject
* obj2
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self",(char *) "menu",(char *) "pos", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26796 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxWindow
*arg1
= (wxWindow
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (long)wxWindow_GetHandle(arg1
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_FromLong((long)result
);
26822 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxWindow
*arg1
= (wxWindow
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self",(char *) "orient", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26836 arg2
= (int) SWIG_AsInt(obj1
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26854 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxWindow
*arg1
= (wxWindow
*) 0 ;
26861 bool arg6
= (bool) True
;
26862 PyObject
* obj0
= 0 ;
26863 PyObject
* obj1
= 0 ;
26864 PyObject
* obj2
= 0 ;
26865 PyObject
* obj3
= 0 ;
26866 PyObject
* obj4
= 0 ;
26867 PyObject
* obj5
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26875 arg2
= (int) SWIG_AsInt(obj1
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26877 arg3
= (int) SWIG_AsInt(obj2
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26879 arg4
= (int) SWIG_AsInt(obj3
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26881 arg5
= (int) SWIG_AsInt(obj4
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 arg6
= (bool) SWIG_AsBool(obj5
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 Py_INCREF(Py_None
); resultobj
= Py_None
;
26901 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26906 bool arg4
= (bool) True
;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 PyObject
* obj2
= 0 ;
26910 PyObject
* obj3
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 arg2
= (int) SWIG_AsInt(obj1
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26920 arg3
= (int) SWIG_AsInt(obj2
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 arg4
= (bool) SWIG_AsBool(obj3
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxWindow
*arg1
= (wxWindow
*) 0 ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self",(char *) "orientation", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26954 arg2
= (int) SWIG_AsInt(obj1
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_FromInt((int)result
);
26970 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxWindow
*arg1
= (wxWindow
*) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "orientation", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 arg2
= (int) SWIG_AsInt(obj1
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_FromInt((int)result
);
27000 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self",(char *) "orientation", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 arg2
= (int) SWIG_AsInt(obj1
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_FromInt((int)result
);
27030 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxWindow
*arg1
= (wxWindow
*) 0 ;
27035 wxRect
*arg4
= (wxRect
*) NULL
;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 PyObject
* obj2
= 0 ;
27039 PyObject
* obj3
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27047 arg2
= (int) SWIG_AsInt(obj1
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27049 arg3
= (int) SWIG_AsInt(obj2
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxWindow
*arg1
= (wxWindow
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "lines", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 arg2
= (int) SWIG_AsInt(obj1
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (bool)(arg1
)->ScrollLines(arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "pages", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 arg2
= (int) SWIG_AsInt(obj1
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (bool)(arg1
)->ScrollPages(arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27133 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxWindow
*arg1
= (wxWindow
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "self", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (bool)(arg1
)->LineUp();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27161 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxWindow
*arg1
= (wxWindow
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (bool)(arg1
)->LineDown();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27189 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxWindow
*arg1
= (wxWindow
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (bool)(arg1
)->PageUp();
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27217 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= (bool)(arg1
)->PageDown();
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27245 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxWindow
*arg1
= (wxWindow
*) 0 ;
27248 wxString
*arg2
= 0 ;
27249 bool temp2
= False
;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self",(char *) "text", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 arg2
= wxString_in_helper(obj1
);
27261 if (arg2
== NULL
) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxWindow
*arg1
= (wxWindow
*) 0 ;
27289 wxString
*arg2
= 0 ;
27290 bool temp2
= False
;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "text", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27301 arg2
= wxString_in_helper(obj1
);
27302 if (arg2
== NULL
) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 Py_INCREF(Py_None
); resultobj
= Py_None
;
27327 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxWindow
*arg1
= (wxWindow
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27359 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxWindow
*arg1
= (wxWindow
*) 0 ;
27362 wxString
*arg2
= 0 ;
27363 bool temp2
= False
;
27364 PyObject
* obj0
= 0 ;
27365 PyObject
* obj1
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "tip", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 arg2
= wxString_in_helper(obj1
);
27375 if (arg2
== NULL
) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27400 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxWindow
*arg1
= (wxWindow
*) 0 ;
27403 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self",(char *) "tip", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 (arg1
)->SetToolTip(arg2
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 Py_INCREF(Py_None
); resultobj
= Py_None
;
27429 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxWindow
*arg1
= (wxWindow
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= wxPyMake_wxObject(result
);
27457 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxWindow
*arg1
= (wxWindow
*) 0 ;
27460 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 PyObject
* obj1
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self",(char *) "dropTarget", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27471 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 (arg1
)->SetDropTarget(arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 Py_INCREF(Py_None
); resultobj
= Py_None
;
27486 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 wxPyDropTarget
*result
;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27512 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxWindow
*arg1
= (wxWindow
*) 0 ;
27515 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "constraints", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 (arg1
)->SetConstraints(arg2
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 Py_INCREF(Py_None
); resultobj
= Py_None
;
27541 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxWindow
*arg1
= (wxWindow
*) 0 ;
27544 wxLayoutConstraints
*result
;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27567 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxWindow
*arg1
= (wxWindow
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "autoLayout", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 arg2
= (bool) SWIG_AsBool(obj1
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->SetAutoLayout(arg2
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 Py_INCREF(Py_None
); resultobj
= Py_None
;
27596 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxWindow
*arg1
= (wxWindow
*) 0 ;
27600 PyObject
* obj0
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27624 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxWindow
*arg1
= (wxWindow
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "self", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (bool)(arg1
)->Layout();
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27652 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 wxSizer
*arg2
= (wxSizer
*) 0 ;
27656 bool arg3
= (bool) True
;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 PyObject
* obj2
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 arg3
= (bool) SWIG_AsBool(obj2
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 (arg1
)->SetSizer(arg2
,arg3
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 Py_INCREF(Py_None
); resultobj
= Py_None
;
27687 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxWindow
*arg1
= (wxWindow
*) 0 ;
27690 wxSizer
*arg2
= (wxSizer
*) 0 ;
27691 bool arg3
= (bool) True
;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 PyObject
* obj2
= 0 ;
27695 char *kwnames
[] = {
27696 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27705 arg3
= (bool) SWIG_AsBool(obj2
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxWindow
*arg1
= (wxWindow
*) 0 ;
27726 PyObject
* obj0
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= wxPyMake_wxSizer(result
);
27750 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
;
27752 wxWindow
*arg1
= (wxWindow
*) 0 ;
27753 wxSizer
*arg2
= (wxSizer
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "self",(char *) "sizer", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 (arg1
)->SetContainingSizer(arg2
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 Py_INCREF(Py_None
); resultobj
= Py_None
;
27779 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxWindow
*arg1
= (wxWindow
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= wxPyMake_wxSizer(result
);
27807 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27810 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27812 return Py_BuildValue((char *)"");
27814 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27817 wxWindow
*arg2
= (wxWindow
*) NULL
;
27819 PyObject
* obj0
= 0 ;
27820 PyObject
* obj1
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "id",(char *) "parent", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27826 arg1
= (long) SWIG_AsLong(obj0
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= wxPyMake_wxObject(result
);
27848 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
;
27850 wxString
*arg1
= 0 ;
27851 wxWindow
*arg2
= (wxWindow
*) NULL
;
27853 bool temp1
= False
;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "name",(char *) "parent", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27862 arg1
= wxString_in_helper(obj0
);
27863 if (arg1
== NULL
) SWIG_fail
;
27867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= wxPyMake_wxObject(result
);
27894 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxString
*arg1
= 0 ;
27897 wxWindow
*arg2
= (wxWindow
*) NULL
;
27899 bool temp1
= False
;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "label",(char *) "parent", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27908 arg1
= wxString_in_helper(obj0
);
27909 if (arg1
== NULL
) SWIG_fail
;
27913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= wxPyMake_wxObject(result
);
27940 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxWindow
*arg1
= (wxWindow
*) 0 ;
27943 unsigned long arg2
;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "parent",(char *) "_hWnd", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= wxPyMake_wxObject(result
);
27972 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxValidator
*result
;
27975 char *kwnames
[] = {
27979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (wxValidator
*)new wxValidator();
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= wxPyMake_wxObject(result
);
27996 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxValidator
*arg1
= (wxValidator
*) 0 ;
27999 wxValidator
*result
;
28000 PyObject
* obj0
= 0 ;
28001 char *kwnames
[] = {
28002 (char *) "self", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (wxValidator
*)(arg1
)->Clone();
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= wxPyMake_wxObject(result
);
28024 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxValidator
*arg1
= (wxValidator
*) 0 ;
28027 wxWindow
*arg2
= (wxWindow
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "parent", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 result
= (bool)(arg1
)->Validate(arg2
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28056 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxValidator
*arg1
= (wxValidator
*) 0 ;
28060 PyObject
* obj0
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (bool)(arg1
)->TransferToWindow();
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28084 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxValidator
*arg1
= (wxValidator
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= (bool)(arg1
)->TransferFromWindow();
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28112 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
;
28114 wxValidator
*arg1
= (wxValidator
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (wxWindow
*)(arg1
)->GetWindow();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= wxPyMake_wxObject(result
);
28140 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxValidator
*arg1
= (wxValidator
*) 0 ;
28143 wxWindow
*arg2
= (wxWindow
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "window", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->SetWindow(arg2
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28172 char *kwnames
[] = {
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (bool)wxValidator::IsSilent();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28193 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 int arg1
= (int) True
;
28196 PyObject
* obj0
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "doIt", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28203 arg1
= (int) SWIG_AsInt(obj0
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 wxValidator::SetBellOnError(arg1
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 Py_INCREF(Py_None
); resultobj
= Py_None
;
28220 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28223 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28225 return Py_BuildValue((char *)"");
28227 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxPyValidator
*result
;
28230 char *kwnames
[] = {
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (wxPyValidator
*)new wxPyValidator();
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28249 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28252 PyObject
*arg2
= (PyObject
*) 0 ;
28253 PyObject
*arg3
= (PyObject
*) 0 ;
28254 int arg4
= (int) True
;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 PyObject
* obj2
= 0 ;
28258 PyObject
* obj3
= 0 ;
28259 char *kwnames
[] = {
28260 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 arg4
= (int) SWIG_AsInt(obj3
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28286 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28289 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28291 return Py_BuildValue((char *)"");
28293 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28294 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28299 static PyObject
*_wrap_DefaultValidator_get() {
28302 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28307 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28310 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28311 long arg2
= (long) 0 ;
28313 bool temp1
= False
;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "title",(char *) "style", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 arg1
= wxString_in_helper(obj0
);
28324 if (arg1
== NULL
) SWIG_fail
;
28329 arg2
= (long) SWIG_AsLong(obj1
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= wxPyMake_wxObject(result
);
28356 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxMenu
*arg1
= (wxMenu
*) 0 ;
28360 wxString
*arg3
= 0 ;
28361 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28362 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28363 int arg5
= (int) wxITEM_NORMAL
;
28364 wxMenuItem
*result
;
28365 bool temp3
= False
;
28366 bool temp4
= False
;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 PyObject
* obj3
= 0 ;
28371 PyObject
* obj4
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 arg2
= (int) SWIG_AsInt(obj1
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28382 arg3
= wxString_in_helper(obj2
);
28383 if (arg3
== NULL
) SWIG_fail
;
28388 arg4
= wxString_in_helper(obj3
);
28389 if (arg4
== NULL
) SWIG_fail
;
28394 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28405 resultobj
= wxPyMake_wxObject(result
);
28429 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxMenu
*arg1
= (wxMenu
*) 0 ;
28432 wxMenuItem
*result
;
28433 PyObject
* obj0
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= wxPyMake_wxObject(result
);
28457 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxMenu
*arg1
= (wxMenu
*) 0 ;
28461 wxString
*arg3
= 0 ;
28462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28464 wxMenuItem
*result
;
28465 bool temp3
= False
;
28466 bool temp4
= False
;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 PyObject
* obj2
= 0 ;
28470 PyObject
* obj3
= 0 ;
28471 char *kwnames
[] = {
28472 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28478 arg2
= (int) SWIG_AsInt(obj1
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 arg3
= wxString_in_helper(obj2
);
28482 if (arg3
== NULL
) SWIG_fail
;
28487 arg4
= wxString_in_helper(obj3
);
28488 if (arg4
== NULL
) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= wxPyMake_wxObject(result
);
28524 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxMenu
*arg1
= (wxMenu
*) 0 ;
28528 wxString
*arg3
= 0 ;
28529 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28530 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28531 wxMenuItem
*result
;
28532 bool temp3
= False
;
28533 bool temp4
= False
;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 PyObject
* obj2
= 0 ;
28537 PyObject
* obj3
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 arg2
= (int) SWIG_AsInt(obj1
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 arg3
= wxString_in_helper(obj2
);
28549 if (arg3
== NULL
) SWIG_fail
;
28554 arg4
= wxString_in_helper(obj3
);
28555 if (arg4
== NULL
) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= wxPyMake_wxObject(result
);
28591 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxMenu
*arg1
= (wxMenu
*) 0 ;
28595 wxString
*arg3
= 0 ;
28596 wxMenu
*arg4
= (wxMenu
*) 0 ;
28597 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28598 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28599 wxMenuItem
*result
;
28600 bool temp3
= False
;
28601 bool temp5
= False
;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 PyObject
* obj2
= 0 ;
28605 PyObject
* obj3
= 0 ;
28606 PyObject
* obj4
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 arg2
= (int) SWIG_AsInt(obj1
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 arg3
= wxString_in_helper(obj2
);
28618 if (arg3
== NULL
) SWIG_fail
;
28621 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28625 arg5
= wxString_in_helper(obj4
);
28626 if (arg5
== NULL
) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= wxPyMake_wxObject(result
);
28662 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxMenu
*arg1
= (wxMenu
*) 0 ;
28665 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28666 wxMenuItem
*result
;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "item", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= wxPyMake_wxObject(result
);
28694 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
;
28696 wxMenu
*arg1
= (wxMenu
*) 0 ;
28697 PyObject
* obj0
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "self", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 Py_INCREF(Py_None
); resultobj
= Py_None
;
28719 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxMenu
*arg1
= (wxMenu
*) 0 ;
28723 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28724 wxMenuItem
*result
;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self",(char *) "pos",(char *) "item", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28735 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= wxPyMake_wxObject(result
);
28755 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxMenu
*arg1
= (wxMenu
*) 0 ;
28760 wxString
*arg4
= 0 ;
28761 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28762 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28763 int arg6
= (int) wxITEM_NORMAL
;
28764 wxMenuItem
*result
;
28765 bool temp4
= False
;
28766 bool temp5
= False
;
28767 PyObject
* obj0
= 0 ;
28768 PyObject
* obj1
= 0 ;
28769 PyObject
* obj2
= 0 ;
28770 PyObject
* obj3
= 0 ;
28771 PyObject
* obj4
= 0 ;
28772 PyObject
* obj5
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28780 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28782 arg3
= (int) SWIG_AsInt(obj2
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 arg4
= wxString_in_helper(obj3
);
28786 if (arg4
== NULL
) SWIG_fail
;
28791 arg5
= wxString_in_helper(obj4
);
28792 if (arg5
== NULL
) SWIG_fail
;
28797 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= wxPyMake_wxObject(result
);
28832 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxMenu
*arg1
= (wxMenu
*) 0 ;
28836 wxMenuItem
*result
;
28837 PyObject
* obj0
= 0 ;
28838 PyObject
* obj1
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self",(char *) "pos", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28846 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= wxPyMake_wxObject(result
);
28864 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxMenu
*arg1
= (wxMenu
*) 0 ;
28869 wxString
*arg4
= 0 ;
28870 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28871 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28872 wxMenuItem
*result
;
28873 bool temp4
= False
;
28874 bool temp5
= False
;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 PyObject
* obj2
= 0 ;
28878 PyObject
* obj3
= 0 ;
28879 PyObject
* obj4
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28887 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28889 arg3
= (int) SWIG_AsInt(obj2
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 arg4
= wxString_in_helper(obj3
);
28893 if (arg4
== NULL
) SWIG_fail
;
28898 arg5
= wxString_in_helper(obj4
);
28899 if (arg5
== NULL
) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= wxPyMake_wxObject(result
);
28935 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxMenu
*arg1
= (wxMenu
*) 0 ;
28940 wxString
*arg4
= 0 ;
28941 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28942 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28943 wxMenuItem
*result
;
28944 bool temp4
= False
;
28945 bool temp5
= False
;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 PyObject
* obj2
= 0 ;
28949 PyObject
* obj3
= 0 ;
28950 PyObject
* obj4
= 0 ;
28951 char *kwnames
[] = {
28952 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28960 arg3
= (int) SWIG_AsInt(obj2
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 arg4
= wxString_in_helper(obj3
);
28964 if (arg4
== NULL
) SWIG_fail
;
28969 arg5
= wxString_in_helper(obj4
);
28970 if (arg5
== NULL
) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= wxPyMake_wxObject(result
);
29006 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxMenu
*arg1
= (wxMenu
*) 0 ;
29011 wxString
*arg4
= 0 ;
29012 wxMenu
*arg5
= (wxMenu
*) 0 ;
29013 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29014 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29015 wxMenuItem
*result
;
29016 bool temp4
= False
;
29017 bool temp6
= False
;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 PyObject
* obj2
= 0 ;
29021 PyObject
* obj3
= 0 ;
29022 PyObject
* obj4
= 0 ;
29023 PyObject
* obj5
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29031 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29033 arg3
= (int) SWIG_AsInt(obj2
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 arg4
= wxString_in_helper(obj3
);
29037 if (arg4
== NULL
) SWIG_fail
;
29040 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29044 arg6
= wxString_in_helper(obj5
);
29045 if (arg6
== NULL
) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= wxPyMake_wxObject(result
);
29081 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
;
29083 wxMenu
*arg1
= (wxMenu
*) 0 ;
29084 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29085 wxMenuItem
*result
;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self",(char *) "item", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= wxPyMake_wxObject(result
);
29113 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
;
29115 wxMenu
*arg1
= (wxMenu
*) 0 ;
29117 wxString
*arg3
= 0 ;
29118 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29120 int arg5
= (int) wxITEM_NORMAL
;
29121 wxMenuItem
*result
;
29122 bool temp3
= False
;
29123 bool temp4
= False
;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 PyObject
* obj2
= 0 ;
29127 PyObject
* obj3
= 0 ;
29128 PyObject
* obj4
= 0 ;
29129 char *kwnames
[] = {
29130 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29136 arg2
= (int) SWIG_AsInt(obj1
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 arg3
= wxString_in_helper(obj2
);
29140 if (arg3
== NULL
) SWIG_fail
;
29145 arg4
= wxString_in_helper(obj3
);
29146 if (arg4
== NULL
) SWIG_fail
;
29151 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= wxPyMake_wxObject(result
);
29186 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxMenu
*arg1
= (wxMenu
*) 0 ;
29189 wxMenuItem
*result
;
29190 PyObject
* obj0
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= wxPyMake_wxObject(result
);
29214 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 wxMenu
*arg1
= (wxMenu
*) 0 ;
29218 wxString
*arg3
= 0 ;
29219 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29220 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29221 wxMenuItem
*result
;
29222 bool temp3
= False
;
29223 bool temp4
= False
;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 PyObject
* obj2
= 0 ;
29227 PyObject
* obj3
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29235 arg2
= (int) SWIG_AsInt(obj1
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 arg3
= wxString_in_helper(obj2
);
29239 if (arg3
== NULL
) SWIG_fail
;
29244 arg4
= wxString_in_helper(obj3
);
29245 if (arg4
== NULL
) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29257 resultobj
= wxPyMake_wxObject(result
);
29281 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxMenu
*arg1
= (wxMenu
*) 0 ;
29285 wxString
*arg3
= 0 ;
29286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29288 wxMenuItem
*result
;
29289 bool temp3
= False
;
29290 bool temp4
= False
;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29302 arg2
= (int) SWIG_AsInt(obj1
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 arg3
= wxString_in_helper(obj2
);
29306 if (arg3
== NULL
) SWIG_fail
;
29311 arg4
= wxString_in_helper(obj3
);
29312 if (arg4
== NULL
) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= wxPyMake_wxObject(result
);
29348 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29350 wxMenu
*arg1
= (wxMenu
*) 0 ;
29352 wxString
*arg3
= 0 ;
29353 wxMenu
*arg4
= (wxMenu
*) 0 ;
29354 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29355 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29356 wxMenuItem
*result
;
29357 bool temp3
= False
;
29358 bool temp5
= False
;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 PyObject
* obj2
= 0 ;
29362 PyObject
* obj3
= 0 ;
29363 PyObject
* obj4
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29371 arg2
= (int) SWIG_AsInt(obj1
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 arg3
= wxString_in_helper(obj2
);
29375 if (arg3
== NULL
) SWIG_fail
;
29378 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29382 arg5
= wxString_in_helper(obj4
);
29383 if (arg5
== NULL
) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= wxPyMake_wxObject(result
);
29419 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29420 PyObject
*resultobj
;
29421 wxMenu
*arg1
= (wxMenu
*) 0 ;
29423 wxMenuItem
*result
;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 char *kwnames
[] = {
29427 (char *) "self",(char *) "id", NULL
29430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29433 arg2
= (int) SWIG_AsInt(obj1
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= wxPyMake_wxObject(result
);
29451 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxMenu
*arg1
= (wxMenu
*) 0 ;
29454 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29455 wxMenuItem
*result
;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self",(char *) "item", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= wxPyMake_wxObject(result
);
29483 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
;
29485 wxMenu
*arg1
= (wxMenu
*) 0 ;
29488 PyObject
* obj0
= 0 ;
29489 PyObject
* obj1
= 0 ;
29490 char *kwnames
[] = {
29491 (char *) "self",(char *) "id", NULL
29494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29497 arg2
= (int) SWIG_AsInt(obj1
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (bool)(arg1
)->Delete(arg2
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29515 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
;
29517 wxMenu
*arg1
= (wxMenu
*) 0 ;
29518 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self",(char *) "item", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)(arg1
)->Delete(arg2
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxMenu
*arg1
= (wxMenu
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "self", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 wxMenu_Destroy(arg1
);
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29565 Py_INCREF(Py_None
); resultobj
= Py_None
;
29572 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
;
29574 wxMenu
*arg1
= (wxMenu
*) 0 ;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 char *kwnames
[] = {
29580 (char *) "self",(char *) "id", NULL
29583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29586 arg2
= (int) SWIG_AsInt(obj1
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29590 result
= (bool)(arg1
)->Destroy(arg2
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29604 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxMenu
*arg1
= (wxMenu
*) 0 ;
29607 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self",(char *) "item", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)(arg1
)->Destroy(arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29636 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxMenu
*arg1
= (wxMenu
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29662 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29663 PyObject
*resultobj
;
29664 wxMenu
*arg1
= (wxMenu
*) 0 ;
29666 PyObject
* obj0
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= result
;
29688 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxMenu
*arg1
= (wxMenu
*) 0 ;
29691 wxString
*arg2
= 0 ;
29693 bool temp2
= False
;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "item", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29704 arg2
= wxString_in_helper(obj1
);
29705 if (arg2
== NULL
) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= SWIG_FromInt((int)result
);
29730 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 wxMenuItem
*result
;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self",(char *) "id", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 arg2
= (int) SWIG_AsInt(obj1
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= wxPyMake_wxObject(result
);
29762 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxMenu
*arg1
= (wxMenu
*) 0 ;
29766 wxMenuItem
*result
;
29767 PyObject
* obj0
= 0 ;
29768 PyObject
* obj1
= 0 ;
29769 char *kwnames
[] = {
29770 (char *) "self",(char *) "position", NULL
29773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= wxPyMake_wxObject(result
);
29794 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
;
29796 wxMenu
*arg1
= (wxMenu
*) 0 ;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 PyObject
* obj2
= 0 ;
29802 char *kwnames
[] = {
29803 (char *) "self",(char *) "id",(char *) "enable", NULL
29806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 arg2
= (int) SWIG_AsInt(obj1
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29811 arg3
= (bool) SWIG_AsBool(obj2
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 (arg1
)->Enable(arg2
,arg3
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 Py_INCREF(Py_None
); resultobj
= Py_None
;
29827 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxMenu
*arg1
= (wxMenu
*) 0 ;
29832 PyObject
* obj0
= 0 ;
29833 PyObject
* obj1
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self",(char *) "id", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29841 arg2
= (int) SWIG_AsInt(obj1
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29859 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxMenu
*arg1
= (wxMenu
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 PyObject
* obj2
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self",(char *) "id",(char *) "check", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29874 arg2
= (int) SWIG_AsInt(obj1
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29876 arg3
= (bool) SWIG_AsBool(obj2
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->Check(arg2
,arg3
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 Py_INCREF(Py_None
); resultobj
= Py_None
;
29892 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxMenu
*arg1
= (wxMenu
*) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 char *kwnames
[] = {
29900 (char *) "self",(char *) "id", NULL
29903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29906 arg2
= (int) SWIG_AsInt(obj1
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29924 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxMenu
*arg1
= (wxMenu
*) 0 ;
29928 wxString
*arg3
= 0 ;
29929 bool temp3
= False
;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 PyObject
* obj2
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self",(char *) "id",(char *) "label", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29940 arg2
= (int) SWIG_AsInt(obj1
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 arg3
= wxString_in_helper(obj2
);
29944 if (arg3
== NULL
) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 Py_INCREF(Py_None
); resultobj
= Py_None
;
29969 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxMenu
*arg1
= (wxMenu
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self",(char *) "id", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29983 arg2
= (int) SWIG_AsInt(obj1
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30005 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxMenu
*arg1
= (wxMenu
*) 0 ;
30009 wxString
*arg3
= 0 ;
30010 bool temp3
= False
;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 PyObject
* obj2
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "self",(char *) "id",(char *) "helpString", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30021 arg2
= (int) SWIG_AsInt(obj1
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 arg3
= wxString_in_helper(obj2
);
30025 if (arg3
== NULL
) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 Py_INCREF(Py_None
); resultobj
= Py_None
;
30050 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxMenu
*arg1
= (wxMenu
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "id", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 arg2
= (int) SWIG_AsInt(obj1
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30086 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxMenu
*arg1
= (wxMenu
*) 0 ;
30089 wxString
*arg2
= 0 ;
30090 bool temp2
= False
;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self",(char *) "title", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30101 arg2
= wxString_in_helper(obj1
);
30102 if (arg2
== NULL
) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 (arg1
)->SetTitle((wxString
const &)*arg2
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 Py_INCREF(Py_None
); resultobj
= Py_None
;
30127 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30128 PyObject
*resultobj
;
30129 wxMenu
*arg1
= (wxMenu
*) 0 ;
30131 PyObject
* obj0
= 0 ;
30132 char *kwnames
[] = {
30133 (char *) "self", NULL
30136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= ((wxMenu
const *)arg1
)->GetTitle();
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30159 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
;
30161 wxMenu
*arg1
= (wxMenu
*) 0 ;
30162 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 char *kwnames
[] = {
30166 (char *) "self",(char *) "handler", NULL
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 (arg1
)->SetEventHandler(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 Py_INCREF(Py_None
); resultobj
= Py_None
;
30188 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
;
30190 wxMenu
*arg1
= (wxMenu
*) 0 ;
30191 wxEvtHandler
*result
;
30192 PyObject
* obj0
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= wxPyMake_wxObject(result
);
30216 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
;
30218 wxMenu
*arg1
= (wxMenu
*) 0 ;
30219 wxWindow
*arg2
= (wxWindow
*) 0 ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 char *kwnames
[] = {
30223 (char *) "self",(char *) "win", NULL
30226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 (arg1
)->SetInvokingWindow(arg2
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 Py_INCREF(Py_None
); resultobj
= Py_None
;
30245 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxMenu
*arg1
= (wxMenu
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 char *kwnames
[] = {
30251 (char *) "self", NULL
30254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30265 resultobj
= wxPyMake_wxObject(result
);
30273 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
;
30275 wxMenu
*arg1
= (wxMenu
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= SWIG_FromLong((long)result
);
30299 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxMenu
*arg1
= (wxMenu
*) 0 ;
30302 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 char *kwnames
[] = {
30306 (char *) "self",(char *) "source", NULL
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->UpdateUI(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxMenu
*arg1
= (wxMenu
*) 0 ;
30334 PyObject
* obj0
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= wxPyMake_wxObject(result
);
30358 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
;
30360 wxMenu
*arg1
= (wxMenu
*) 0 ;
30361 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 char *kwnames
[] = {
30365 (char *) "self",(char *) "menubar", NULL
30368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 (arg1
)->Attach(arg2
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 Py_INCREF(Py_None
); resultobj
= Py_None
;
30387 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
;
30389 wxMenu
*arg1
= (wxMenu
*) 0 ;
30390 PyObject
* obj0
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 Py_INCREF(Py_None
); resultobj
= Py_None
;
30412 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
;
30414 wxMenu
*arg1
= (wxMenu
*) 0 ;
30416 PyObject
* obj0
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30440 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxMenu
*arg1
= (wxMenu
*) 0 ;
30443 wxMenu
*arg2
= (wxMenu
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "parent", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->SetParent(arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxMenu
*arg1
= (wxMenu
*) 0 ;
30473 PyObject
* obj0
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30489 resultobj
= wxPyMake_wxObject(result
);
30497 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30500 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30502 return Py_BuildValue((char *)"");
30504 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 long arg1
= (long) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "style", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30515 arg1
= (long) SWIG_AsLong(obj0
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= wxPyMake_wxObject(result
);
30534 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
;
30536 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30537 wxMenu
*arg2
= (wxMenu
*) 0 ;
30538 wxString
*arg3
= 0 ;
30540 bool temp3
= False
;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 PyObject
* obj2
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self",(char *) "menu",(char *) "title", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30554 arg3
= wxString_in_helper(obj2
);
30555 if (arg3
== NULL
) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30582 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30586 wxMenu
*arg3
= (wxMenu
*) 0 ;
30587 wxString
*arg4
= 0 ;
30589 bool temp4
= False
;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 PyObject
* obj2
= 0 ;
30593 PyObject
* obj3
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30601 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30603 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30606 arg4
= wxString_in_helper(obj3
);
30607 if (arg4
== NULL
) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30660 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self",(char *) "pos", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30674 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= wxPyMake_wxObject(result
);
30692 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30696 wxMenu
*arg3
= (wxMenu
*) 0 ;
30697 wxString
*arg4
= 0 ;
30699 bool temp4
= False
;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 PyObject
* obj2
= 0 ;
30703 PyObject
* obj3
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30711 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30716 arg4
= wxString_in_helper(obj3
);
30717 if (arg4
== NULL
) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= wxPyMake_wxObject(result
);
30744 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self",(char *) "pos", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30758 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30759 if (PyErr_Occurred()) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= wxPyMake_wxObject(result
);
30776 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 PyObject
* obj2
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "pos",(char *) "enable", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30793 arg3
= (bool) SWIG_AsBool(obj2
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 (arg1
)->EnableTop(arg2
,arg3
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30802 Py_INCREF(Py_None
); resultobj
= Py_None
;
30809 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
;
30811 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self",(char *) "pos", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30823 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30841 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30845 wxString
*arg3
= 0 ;
30846 bool temp3
= False
;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 PyObject
* obj2
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "self",(char *) "pos",(char *) "label", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30857 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 arg3
= wxString_in_helper(obj2
);
30861 if (arg3
== NULL
) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 Py_INCREF(Py_None
); resultobj
= Py_None
;
30886 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 char *kwnames
[] = {
30894 (char *) "self",(char *) "pos", NULL
30897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30900 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30922 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30925 wxString
*arg2
= 0 ;
30926 wxString
*arg3
= 0 ;
30928 bool temp2
= False
;
30929 bool temp3
= False
;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 PyObject
* obj2
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self",(char *) "menu",(char *) "item", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30941 arg2
= wxString_in_helper(obj1
);
30942 if (arg2
== NULL
) SWIG_fail
;
30946 arg3
= wxString_in_helper(obj2
);
30947 if (arg3
== NULL
) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= SWIG_FromInt((int)result
);
30980 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30984 wxMenuItem
*result
;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char *kwnames
[] = {
30988 (char *) "self",(char *) "id", NULL
30991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30994 arg2
= (int) SWIG_AsInt(obj1
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= wxPyMake_wxObject(result
);
31012 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31014 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31015 wxString
*arg2
= 0 ;
31017 bool temp2
= False
;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "title", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31028 arg2
= wxString_in_helper(obj1
);
31029 if (arg2
== NULL
) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 resultobj
= SWIG_FromInt((int)result
);
31054 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
;
31056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "id",(char *) "enable", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 arg2
= (int) SWIG_AsInt(obj1
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31071 arg3
= (bool) SWIG_AsBool(obj2
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->Enable(arg2
,arg3
);
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 Py_INCREF(Py_None
); resultobj
= Py_None
;
31087 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
;
31089 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 PyObject
* obj2
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self",(char *) "id",(char *) "check", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31102 arg2
= (int) SWIG_AsInt(obj1
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31104 arg3
= (bool) SWIG_AsBool(obj2
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 (arg1
)->Check(arg2
,arg3
);
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 Py_INCREF(Py_None
); resultobj
= Py_None
;
31120 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
;
31122 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 PyObject
* obj1
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self",(char *) "id", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31134 arg2
= (int) SWIG_AsInt(obj1
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31152 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
;
31154 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self",(char *) "id", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31166 arg2
= (int) SWIG_AsInt(obj1
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31184 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
;
31186 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31188 wxString
*arg3
= 0 ;
31189 bool temp3
= False
;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 char *kwnames
[] = {
31194 (char *) "self",(char *) "id",(char *) "label", NULL
31197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31200 arg2
= (int) SWIG_AsInt(obj1
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 arg3
= wxString_in_helper(obj2
);
31204 if (arg3
== NULL
) SWIG_fail
;
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 Py_INCREF(Py_None
); resultobj
= Py_None
;
31229 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
;
31231 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self",(char *) "id", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31243 arg2
= (int) SWIG_AsInt(obj1
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31265 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
;
31267 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31269 wxString
*arg3
= 0 ;
31270 bool temp3
= False
;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "id",(char *) "helpString", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 arg2
= (int) SWIG_AsInt(obj1
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31284 arg3
= wxString_in_helper(obj2
);
31285 if (arg3
== NULL
) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 Py_INCREF(Py_None
); resultobj
= Py_None
;
31310 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
;
31312 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self",(char *) "id", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31324 arg2
= (int) SWIG_AsInt(obj1
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31346 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31350 PyObject
* obj0
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= wxPyMake_wxObject(result
);
31374 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31378 PyObject
* obj0
= 0 ;
31379 char *kwnames
[] = {
31380 (char *) "self", NULL
31383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31402 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
;
31404 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31405 wxFrame
*arg2
= (wxFrame
*) 0 ;
31406 PyObject
* obj0
= 0 ;
31407 PyObject
* obj1
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self",(char *) "frame", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 (arg1
)->Attach(arg2
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 Py_INCREF(Py_None
); resultobj
= Py_None
;
31431 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 char *kwnames
[] = {
31436 (char *) "self", NULL
31439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 Py_INCREF(Py_None
); resultobj
= Py_None
;
31456 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31459 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31461 return Py_BuildValue((char *)"");
31463 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxMenu
*arg1
= (wxMenu
*) NULL
;
31466 int arg2
= (int) wxID_SEPARATOR
;
31467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31469 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31471 int arg5
= (int) wxITEM_NORMAL
;
31472 wxMenu
*arg6
= (wxMenu
*) NULL
;
31473 wxMenuItem
*result
;
31474 bool temp3
= False
;
31475 bool temp4
= False
;
31476 PyObject
* obj0
= 0 ;
31477 PyObject
* obj1
= 0 ;
31478 PyObject
* obj2
= 0 ;
31479 PyObject
* obj3
= 0 ;
31480 PyObject
* obj4
= 0 ;
31481 PyObject
* obj5
= 0 ;
31482 char *kwnames
[] = {
31483 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 arg2
= (int) SWIG_AsInt(obj1
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31497 arg3
= wxString_in_helper(obj2
);
31498 if (arg3
== NULL
) SWIG_fail
;
31504 arg4
= wxString_in_helper(obj3
);
31505 if (arg4
== NULL
) SWIG_fail
;
31510 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31514 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= wxPyMake_wxObject(result
);
31549 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
;
31551 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31553 PyObject
* obj0
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= wxPyMake_wxObject(result
);
31577 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31580 wxMenu
*arg2
= (wxMenu
*) 0 ;
31581 PyObject
* obj0
= 0 ;
31582 PyObject
* obj1
= 0 ;
31583 char *kwnames
[] = {
31584 (char *) "self",(char *) "menu", NULL
31587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 (arg1
)->SetMenu(arg2
);
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31599 Py_INCREF(Py_None
); resultobj
= Py_None
;
31606 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31607 PyObject
*resultobj
;
31608 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self",(char *) "id", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31619 arg2
= (int) SWIG_AsInt(obj1
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 (arg1
)->SetId(arg2
);
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31628 Py_INCREF(Py_None
); resultobj
= Py_None
;
31635 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31636 PyObject
*resultobj
;
31637 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31639 PyObject
* obj0
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_FromInt((int)result
);
31661 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31665 PyObject
* obj0
= 0 ;
31666 char *kwnames
[] = {
31667 (char *) "self", NULL
31670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31689 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
;
31691 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31692 wxString
*arg2
= 0 ;
31693 bool temp2
= False
;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "str", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31704 arg2
= wxString_in_helper(obj1
);
31705 if (arg2
== NULL
) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 (arg1
)->SetText((wxString
const &)*arg2
);
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31715 Py_INCREF(Py_None
); resultobj
= Py_None
;
31730 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31734 PyObject
* obj0
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31762 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31778 result
= (wxString
*) &_result_ref
;
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31797 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxString
*arg1
= 0 ;
31801 bool temp1
= False
;
31802 PyObject
* obj0
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "text", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31809 arg1
= wxString_in_helper(obj0
);
31810 if (arg1
== NULL
) SWIG_fail
;
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31841 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
;
31843 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31845 PyObject
* obj0
= 0 ;
31846 char *kwnames
[] = {
31847 (char *) "self", NULL
31850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= SWIG_FromInt((int)result
);
31867 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
;
31869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self",(char *) "checkable", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31880 arg2
= (bool) SWIG_AsBool(obj1
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 (arg1
)->SetCheckable(arg2
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 Py_INCREF(Py_None
); resultobj
= Py_None
;
31896 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31924 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31952 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31955 wxMenu
*arg2
= (wxMenu
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 PyObject
* obj1
= 0 ;
31958 char *kwnames
[] = {
31959 (char *) "self",(char *) "menu", NULL
31962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 (arg1
)->SetSubMenu(arg2
);
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 Py_INCREF(Py_None
); resultobj
= Py_None
;
31981 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= wxPyMake_wxObject(result
);
32009 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32012 bool arg2
= (bool) True
;
32013 PyObject
* obj0
= 0 ;
32014 PyObject
* obj1
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "enable", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32023 arg2
= (bool) SWIG_AsBool(obj1
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 (arg1
)->Enable(arg2
);
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 Py_INCREF(Py_None
); resultobj
= Py_None
;
32040 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
;
32042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32044 PyObject
* obj0
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32056 wxPyEndAllowThreads(__tstate
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32068 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
;
32070 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32071 bool arg2
= (bool) True
;
32072 PyObject
* obj0
= 0 ;
32073 PyObject
* obj1
= 0 ;
32074 char *kwnames
[] = {
32075 (char *) "self",(char *) "check", NULL
32078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32082 arg2
= (bool) SWIG_AsBool(obj1
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 (arg1
)->Check(arg2
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 Py_INCREF(Py_None
); resultobj
= Py_None
;
32099 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
;
32101 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "self", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32127 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
;
32129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32130 PyObject
* obj0
= 0 ;
32131 char *kwnames
[] = {
32132 (char *) "self", NULL
32135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 Py_INCREF(Py_None
); resultobj
= Py_None
;
32152 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32155 wxString
*arg2
= 0 ;
32156 bool temp2
= False
;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "self",(char *) "str", NULL
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32167 arg2
= wxString_in_helper(obj1
);
32168 if (arg2
== NULL
) SWIG_fail
;
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 (arg1
)->SetHelp((wxString
const &)*arg2
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 Py_INCREF(Py_None
); resultobj
= Py_None
;
32193 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32194 PyObject
*resultobj
;
32195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32197 PyObject
* obj0
= 0 ;
32198 char *kwnames
[] = {
32199 (char *) "self", NULL
32202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32209 result
= (wxString
*) &_result_ref
;
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32228 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
;
32230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32231 wxAcceleratorEntry
*result
;
32232 PyObject
* obj0
= 0 ;
32233 char *kwnames
[] = {
32234 (char *) "self", NULL
32237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32242 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32244 wxPyEndAllowThreads(__tstate
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32254 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
;
32256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32257 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32258 PyObject
* obj0
= 0 ;
32259 PyObject
* obj1
= 0 ;
32260 char *kwnames
[] = {
32261 (char *) "self",(char *) "accel", NULL
32264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 (arg1
)->SetAccel(arg2
);
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32276 Py_INCREF(Py_None
); resultobj
= Py_None
;
32283 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32284 PyObject
*resultobj
;
32286 char *kwnames
[] = {
32290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (int)MenuItem_GetDefaultMarginWidth();
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= SWIG_FromInt((int)result
);
32305 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32308 wxBitmap
*arg2
= 0 ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 char *kwnames
[] = {
32312 (char *) "self",(char *) "bitmap", NULL
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32321 if (arg2
== NULL
) {
32322 PyErr_SetString(PyExc_TypeError
,"null reference");
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32332 Py_INCREF(Py_None
); resultobj
= Py_None
;
32339 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
;
32341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32343 PyObject
* obj0
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32355 result
= (wxBitmap
*) &_result_ref
;
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32362 wxBitmap
* resultptr
= new wxBitmap(*result
);
32363 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32371 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32374 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32376 return Py_BuildValue((char *)"");
32378 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32379 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32384 static PyObject
*_wrap_ControlNameStr_get() {
32389 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32391 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32398 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxWindow
*arg1
= (wxWindow
*) 0 ;
32402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32404 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32405 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32406 long arg5
= (long) 0 ;
32407 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32408 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32409 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32414 bool temp7
= False
;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 PyObject
* obj2
= 0 ;
32418 PyObject
* obj3
= 0 ;
32419 PyObject
* obj4
= 0 ;
32420 PyObject
* obj5
= 0 ;
32421 PyObject
* obj6
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32429 arg2
= (int) SWIG_AsInt(obj1
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32444 arg5
= (long) SWIG_AsLong(obj4
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32448 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32451 if (arg6
== NULL
) {
32452 PyErr_SetString(PyExc_TypeError
,"null reference");
32458 arg7
= wxString_in_helper(obj6
);
32459 if (arg7
== NULL
) SWIG_fail
;
32464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= wxPyMake_wxObject(result
);
32487 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32490 char *kwnames
[] = {
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 result
= (wxControl
*)new wxControl();
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= wxPyMake_wxObject(result
);
32511 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxControl
*arg1
= (wxControl
*) 0 ;
32514 wxWindow
*arg2
= (wxWindow
*) 0 ;
32516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32520 long arg6
= (long) 0 ;
32521 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32522 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32523 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32524 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32528 bool temp8
= False
;
32529 PyObject
* obj0
= 0 ;
32530 PyObject
* obj1
= 0 ;
32531 PyObject
* obj2
= 0 ;
32532 PyObject
* obj3
= 0 ;
32533 PyObject
* obj4
= 0 ;
32534 PyObject
* obj5
= 0 ;
32535 PyObject
* obj6
= 0 ;
32536 PyObject
* obj7
= 0 ;
32537 char *kwnames
[] = {
32538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32546 arg3
= (int) SWIG_AsInt(obj2
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32551 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32557 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32561 arg6
= (long) SWIG_AsLong(obj5
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32565 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32568 if (arg7
== NULL
) {
32569 PyErr_SetString(PyExc_TypeError
,"null reference");
32575 arg8
= wxString_in_helper(obj7
);
32576 if (arg8
== NULL
) SWIG_fail
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32604 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
;
32606 wxControl
*arg1
= (wxControl
*) 0 ;
32607 wxCommandEvent
*arg2
= 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self",(char *) "event", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32620 if (arg2
== NULL
) {
32621 PyErr_SetString(PyExc_TypeError
,"null reference");
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 (arg1
)->Command(*arg2
);
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32631 Py_INCREF(Py_None
); resultobj
= Py_None
;
32638 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
;
32640 wxControl
*arg1
= (wxControl
*) 0 ;
32642 PyObject
* obj0
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "self", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= (arg1
)->GetLabel();
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32670 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
;
32672 wxControl
*arg1
= (wxControl
*) 0 ;
32673 wxString
*arg2
= 0 ;
32674 bool temp2
= False
;
32675 PyObject
* obj0
= 0 ;
32676 PyObject
* obj1
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self",(char *) "label", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32685 arg2
= wxString_in_helper(obj1
);
32686 if (arg2
== NULL
) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->SetLabel((wxString
const &)*arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 Py_INCREF(Py_None
); resultobj
= Py_None
;
32711 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32714 wxVisualAttributes result
;
32715 PyObject
* obj0
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "variant", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32722 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32733 wxVisualAttributes
* resultptr
;
32734 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32743 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32746 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32748 return Py_BuildValue((char *)"");
32750 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
;
32752 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32753 wxString
*arg2
= 0 ;
32754 PyObject
*arg3
= (PyObject
*) NULL
;
32756 bool temp2
= False
;
32757 PyObject
* obj0
= 0 ;
32758 PyObject
* obj1
= 0 ;
32759 PyObject
* obj2
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self",(char *) "item",(char *) "clientData", NULL
32764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32768 arg2
= wxString_in_helper(obj1
);
32769 if (arg2
== NULL
) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_FromInt((int)result
);
32797 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32800 wxArrayString
*arg2
= 0 ;
32801 bool temp2
= False
;
32802 PyObject
* obj0
= 0 ;
32803 PyObject
* obj1
= 0 ;
32804 char *kwnames
[] = {
32805 (char *) "self",(char *) "strings", NULL
32808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32812 if (! PySequence_Check(obj1
)) {
32813 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32816 arg2
= new wxArrayString
;
32818 int i
, len
=PySequence_Length(obj1
);
32819 for (i
=0; i
<len
; i
++) {
32820 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32822 PyObject
* str
= PyObject_Unicode(item
);
32824 PyObject
* str
= PyObject_Str(item
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32827 arg2
->Add(Py2wxString(str
));
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 (arg1
)->Append((wxArrayString
const &)*arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 Py_INCREF(Py_None
); resultobj
= Py_None
;
32841 if (temp2
) delete arg2
;
32846 if (temp2
) delete arg2
;
32852 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
;
32854 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32855 wxString
*arg2
= 0 ;
32857 PyObject
*arg4
= (PyObject
*) NULL
;
32859 bool temp2
= False
;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 char *kwnames
[] = {
32865 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32872 arg2
= wxString_in_helper(obj1
);
32873 if (arg2
== NULL
) SWIG_fail
;
32876 arg3
= (int) SWIG_AsInt(obj2
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 resultobj
= SWIG_FromInt((int)result
);
32903 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
;
32905 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32921 Py_INCREF(Py_None
); resultobj
= Py_None
;
32928 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32929 PyObject
*resultobj
;
32930 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32932 PyObject
* obj0
= 0 ;
32933 PyObject
* obj1
= 0 ;
32934 char *kwnames
[] = {
32935 (char *) "self",(char *) "n", NULL
32938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32941 arg2
= (int) SWIG_AsInt(obj1
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 (arg1
)->Delete(arg2
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 Py_INCREF(Py_None
); resultobj
= Py_None
;
32957 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 char *kwnames
[] = {
32963 (char *) "self", NULL
32966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_FromInt((int)result
);
32983 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
;
32985 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32987 PyObject
* obj0
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "self", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33011 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33016 PyObject
* obj0
= 0 ;
33017 PyObject
* obj1
= 0 ;
33018 char *kwnames
[] = {
33019 (char *) "self",(char *) "n", NULL
33022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33025 arg2
= (int) SWIG_AsInt(obj1
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33047 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
;
33049 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33050 wxArrayString result
;
33051 PyObject
* obj0
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= wxArrayString2PyList_helper(result
);
33075 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
;
33077 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33079 wxString
*arg3
= 0 ;
33080 bool temp3
= False
;
33081 PyObject
* obj0
= 0 ;
33082 PyObject
* obj1
= 0 ;
33083 PyObject
* obj2
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self",(char *) "n",(char *) "s", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33091 arg2
= (int) SWIG_AsInt(obj1
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 arg3
= wxString_in_helper(obj2
);
33095 if (arg3
== NULL
) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 Py_INCREF(Py_None
); resultobj
= Py_None
;
33120 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
;
33122 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33123 wxString
*arg2
= 0 ;
33125 bool temp2
= False
;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 char *kwnames
[] = {
33129 (char *) "self",(char *) "s", NULL
33132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33136 arg2
= wxString_in_helper(obj1
);
33137 if (arg2
== NULL
) SWIG_fail
;
33141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33142 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_FromInt((int)result
);
33162 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
;
33164 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 char *kwnames
[] = {
33169 (char *) "self",(char *) "n", NULL
33172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33175 arg2
= (int) SWIG_AsInt(obj1
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 (arg1
)->Select(arg2
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 Py_INCREF(Py_None
); resultobj
= Py_None
;
33191 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
;
33193 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33195 PyObject
* obj0
= 0 ;
33196 char *kwnames
[] = {
33197 (char *) "self", NULL
33200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_FromInt((int)result
);
33217 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
;
33219 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33221 PyObject
* obj0
= 0 ;
33222 char *kwnames
[] = {
33223 (char *) "self", NULL
33226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33249 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33250 PyObject
*resultobj
;
33251 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self",(char *) "n", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 arg2
= (int) SWIG_AsInt(obj1
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= result
;
33279 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33283 PyObject
*arg3
= (PyObject
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 PyObject
* obj2
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self",(char *) "n",(char *) "clientData", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33294 arg2
= (int) SWIG_AsInt(obj1
);
33295 if (PyErr_Occurred()) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 Py_INCREF(Py_None
); resultobj
= Py_None
;
33311 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33314 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33316 return Py_BuildValue((char *)"");
33318 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33321 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33323 return Py_BuildValue((char *)"");
33325 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
;
33327 wxSizerItem
*result
;
33328 char *kwnames
[] = {
33332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33335 result
= (wxSizerItem
*)new wxSizerItem();
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33347 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
;
33354 wxObject
*arg6
= (wxObject
*) 0 ;
33355 wxSizerItem
*result
;
33356 PyObject
* obj0
= 0 ;
33357 PyObject
* obj1
= 0 ;
33358 PyObject
* obj2
= 0 ;
33359 PyObject
* obj3
= 0 ;
33360 PyObject
* obj4
= 0 ;
33361 PyObject
* obj5
= 0 ;
33362 char *kwnames
[] = {
33363 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33367 arg1
= (int) SWIG_AsInt(obj0
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33369 arg2
= (int) SWIG_AsInt(obj1
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33371 arg3
= (int) SWIG_AsInt(obj2
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33373 arg4
= (int) SWIG_AsInt(obj3
);
33374 if (PyErr_Occurred()) SWIG_fail
;
33375 arg5
= (int) SWIG_AsInt(obj4
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33377 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33393 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33394 PyObject
*resultobj
;
33395 wxWindow
*arg1
= (wxWindow
*) 0 ;
33399 wxObject
*arg5
= (wxObject
*) 0 ;
33400 wxSizerItem
*result
;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 PyObject
* obj2
= 0 ;
33404 PyObject
* obj3
= 0 ;
33405 PyObject
* obj4
= 0 ;
33406 char *kwnames
[] = {
33407 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33413 arg2
= (int) SWIG_AsInt(obj1
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33415 arg3
= (int) SWIG_AsInt(obj2
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33417 arg4
= (int) SWIG_AsInt(obj3
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33419 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33435 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33436 PyObject
*resultobj
;
33437 wxSizer
*arg1
= (wxSizer
*) 0 ;
33441 wxObject
*arg5
= (wxObject
*) 0 ;
33442 wxSizerItem
*result
;
33443 PyObject
* obj0
= 0 ;
33444 PyObject
* obj1
= 0 ;
33445 PyObject
* obj2
= 0 ;
33446 PyObject
* obj3
= 0 ;
33447 PyObject
* obj4
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33455 arg2
= (int) SWIG_AsInt(obj1
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33457 arg3
= (int) SWIG_AsInt(obj2
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33459 arg4
= (int) SWIG_AsInt(obj3
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33461 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33467 wxPyEndAllowThreads(__tstate
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33477 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
;
33479 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33480 PyObject
* obj0
= 0 ;
33481 char *kwnames
[] = {
33482 (char *) "self", NULL
33485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 (arg1
)->DeleteWindows();
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33495 Py_INCREF(Py_None
); resultobj
= Py_None
;
33502 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33503 PyObject
*resultobj
;
33504 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33505 PyObject
* obj0
= 0 ;
33506 char *kwnames
[] = {
33507 (char *) "self", NULL
33510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 (arg1
)->DetachSizer();
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 Py_INCREF(Py_None
); resultobj
= Py_None
;
33527 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
;
33529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33531 PyObject
* obj0
= 0 ;
33532 char *kwnames
[] = {
33533 (char *) "self", NULL
33536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 result
= (arg1
)->GetSize();
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33547 wxSize
* resultptr
;
33548 resultptr
= new wxSize((wxSize
&) result
);
33549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33557 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
;
33559 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33561 PyObject
* obj0
= 0 ;
33562 char *kwnames
[] = {
33563 (char *) "self", NULL
33566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 result
= (arg1
)->CalcMin();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33577 wxSize
* resultptr
;
33578 resultptr
= new wxSize((wxSize
&) result
);
33579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33587 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33596 PyObject
* obj2
= 0 ;
33597 char *kwnames
[] = {
33598 (char *) "self",(char *) "pos",(char *) "size", NULL
33601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33604 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33605 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33607 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33608 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->SetDimension(arg2
,arg3
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 Py_INCREF(Py_None
); resultobj
= Py_None
;
33624 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
;
33626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33628 PyObject
* obj0
= 0 ;
33629 char *kwnames
[] = {
33630 (char *) "self", NULL
33633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (arg1
)->GetMinSize();
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33644 wxSize
* resultptr
;
33645 resultptr
= new wxSize((wxSize
&) result
);
33646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33654 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 PyObject
* obj2
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "x",(char *) "y", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33669 arg2
= (int) SWIG_AsInt(obj1
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33671 arg3
= (int) SWIG_AsInt(obj2
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 (arg1
)->SetInitSize(arg2
,arg3
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 Py_INCREF(Py_None
); resultobj
= Py_None
;
33687 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
;
33689 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 PyObject
* obj1
= 0 ;
33694 PyObject
* obj2
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "self",(char *) "width",(char *) "height", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33702 arg2
= (int) SWIG_AsInt(obj1
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33704 arg3
= (int) SWIG_AsInt(obj2
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 (arg1
)->SetRatio(arg2
,arg3
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 Py_INCREF(Py_None
); resultobj
= Py_None
;
33720 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
;
33722 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33725 PyObject
* obj0
= 0 ;
33726 PyObject
* obj1
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "self",(char *) "size", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33734 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33735 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33739 (arg1
)->SetRatio(arg2
);
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 Py_INCREF(Py_None
); resultobj
= Py_None
;
33751 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
;
33753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 char *kwnames
[] = {
33758 (char *) "self",(char *) "ratio", NULL
33761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33764 arg2
= (float) SWIG_AsFloat(obj1
);
33765 if (PyErr_Occurred()) SWIG_fail
;
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 (arg1
)->SetRatio(arg2
);
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 Py_INCREF(Py_None
); resultobj
= Py_None
;
33780 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 char *kwnames
[] = {
33786 (char *) "self", NULL
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (float)(arg1
)->GetRatio();
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= SWIG_FromFloat((float)result
);
33806 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
;
33808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 char *kwnames
[] = {
33812 (char *) "self", NULL
33815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (bool)(arg1
)->IsWindow();
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33834 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33835 PyObject
*resultobj
;
33836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33838 PyObject
* obj0
= 0 ;
33839 char *kwnames
[] = {
33840 (char *) "self", NULL
33843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (bool)(arg1
)->IsSizer();
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33862 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33863 PyObject
*resultobj
;
33864 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33866 PyObject
* obj0
= 0 ;
33867 char *kwnames
[] = {
33868 (char *) "self", NULL
33871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= (bool)(arg1
)->IsSpacer();
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33890 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
;
33892 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "proportion", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33903 arg2
= (int) SWIG_AsInt(obj1
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 (arg1
)->SetProportion(arg2
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 char *kwnames
[] = {
33925 (char *) "self", NULL
33928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= (int)(arg1
)->GetProportion();
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 resultobj
= SWIG_FromInt((int)result
);
33945 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33946 PyObject
*resultobj
;
33947 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33949 PyObject
* obj0
= 0 ;
33950 PyObject
* obj1
= 0 ;
33951 char *kwnames
[] = {
33952 (char *) "self",(char *) "flag", NULL
33955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33958 arg2
= (int) SWIG_AsInt(obj1
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 (arg1
)->SetFlag(arg2
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 Py_INCREF(Py_None
); resultobj
= Py_None
;
33974 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
;
33976 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33978 PyObject
* obj0
= 0 ;
33979 char *kwnames
[] = {
33980 (char *) "self", NULL
33983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 result
= (int)(arg1
)->GetFlag();
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33993 resultobj
= SWIG_FromInt((int)result
);
34000 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34004 PyObject
* obj0
= 0 ;
34005 PyObject
* obj1
= 0 ;
34006 char *kwnames
[] = {
34007 (char *) "self",(char *) "border", NULL
34010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34013 arg2
= (int) SWIG_AsInt(obj1
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 (arg1
)->SetBorder(arg2
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 Py_INCREF(Py_None
); resultobj
= Py_None
;
34029 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
;
34031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34033 PyObject
* obj0
= 0 ;
34034 char *kwnames
[] = {
34035 (char *) "self", NULL
34038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (int)(arg1
)->GetBorder();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= SWIG_FromInt((int)result
);
34055 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
;
34057 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34059 PyObject
* obj0
= 0 ;
34060 char *kwnames
[] = {
34061 (char *) "self", NULL
34064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 result
= (wxWindow
*)(arg1
)->GetWindow();
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= wxPyMake_wxObject(result
);
34083 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34086 wxWindow
*arg2
= (wxWindow
*) 0 ;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 char *kwnames
[] = {
34090 (char *) "self",(char *) "window", NULL
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 (arg1
)->SetWindow(arg2
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34105 Py_INCREF(Py_None
); resultobj
= Py_None
;
34112 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34113 PyObject
*resultobj
;
34114 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34116 PyObject
* obj0
= 0 ;
34117 char *kwnames
[] = {
34118 (char *) "self", NULL
34121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 result
= (wxSizer
*)(arg1
)->GetSizer();
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34132 resultobj
= wxPyMake_wxSizer(result
);
34140 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
;
34142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34143 wxSizer
*arg2
= (wxSizer
*) 0 ;
34144 PyObject
* obj0
= 0 ;
34145 PyObject
* obj1
= 0 ;
34146 char *kwnames
[] = {
34147 (char *) "self",(char *) "sizer", NULL
34150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 (arg1
)->SetSizer(arg2
);
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 Py_INCREF(Py_None
); resultobj
= Py_None
;
34169 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
;
34171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34185 result
= (wxSize
*) &_result_ref
;
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34198 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "self",(char *) "size", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 Py_INCREF(Py_None
); resultobj
= Py_None
;
34230 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
;
34232 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34236 char *kwnames
[] = {
34237 (char *) "self",(char *) "show", NULL
34240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34243 arg2
= (bool) SWIG_AsBool(obj1
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 (arg1
)->Show(arg2
);
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34252 Py_INCREF(Py_None
); resultobj
= Py_None
;
34259 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34260 PyObject
*resultobj
;
34261 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34263 PyObject
* obj0
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= (bool)(arg1
)->IsShown();
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34287 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (arg1
)->GetPosition();
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34307 wxPoint
* resultptr
;
34308 resultptr
= new wxPoint((wxPoint
&) result
);
34309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34317 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 char *kwnames
[] = {
34323 (char *) "self", NULL
34326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34333 wxPyEndAllowThreads(__tstate
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 resultobj
= result
;
34343 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34346 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34348 return Py_BuildValue((char *)"");
34350 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxSizer
*arg1
= (wxSizer
*) 0 ;
34353 PyObject
*arg2
= (PyObject
*) 0 ;
34354 PyObject
* obj0
= 0 ;
34355 PyObject
* obj1
= 0 ;
34356 char *kwnames
[] = {
34357 (char *) "self",(char *) "_self", NULL
34360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 wxSizer__setOORInfo(arg1
,arg2
);
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 Py_INCREF(Py_None
); resultobj
= Py_None
;
34378 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
;
34380 wxSizer
*arg1
= (wxSizer
*) 0 ;
34381 PyObject
*arg2
= (PyObject
*) 0 ;
34382 int arg3
= (int) 0 ;
34383 int arg4
= (int) 0 ;
34384 int arg5
= (int) 0 ;
34385 PyObject
*arg6
= (PyObject
*) NULL
;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 PyObject
* obj2
= 0 ;
34389 PyObject
* obj3
= 0 ;
34390 PyObject
* obj4
= 0 ;
34391 PyObject
* obj5
= 0 ;
34392 char *kwnames
[] = {
34393 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34401 arg3
= (int) SWIG_AsInt(obj2
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 arg4
= (int) SWIG_AsInt(obj3
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34409 arg5
= (int) SWIG_AsInt(obj4
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34422 Py_INCREF(Py_None
); resultobj
= Py_None
;
34429 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxSizer
*arg1
= (wxSizer
*) 0 ;
34433 PyObject
*arg3
= (PyObject
*) 0 ;
34434 int arg4
= (int) 0 ;
34435 int arg5
= (int) 0 ;
34436 int arg6
= (int) 0 ;
34437 PyObject
*arg7
= (PyObject
*) NULL
;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 PyObject
* obj2
= 0 ;
34441 PyObject
* obj3
= 0 ;
34442 PyObject
* obj4
= 0 ;
34443 PyObject
* obj5
= 0 ;
34444 PyObject
* obj6
= 0 ;
34445 char *kwnames
[] = {
34446 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34452 arg2
= (int) SWIG_AsInt(obj1
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34456 arg4
= (int) SWIG_AsInt(obj3
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34460 arg5
= (int) SWIG_AsInt(obj4
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34464 arg6
= (int) SWIG_AsInt(obj5
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 Py_INCREF(Py_None
); resultobj
= Py_None
;
34484 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
;
34486 wxSizer
*arg1
= (wxSizer
*) 0 ;
34487 PyObject
*arg2
= (PyObject
*) 0 ;
34488 int arg3
= (int) 0 ;
34489 int arg4
= (int) 0 ;
34490 int arg5
= (int) 0 ;
34491 PyObject
*arg6
= (PyObject
*) NULL
;
34492 PyObject
* obj0
= 0 ;
34493 PyObject
* obj1
= 0 ;
34494 PyObject
* obj2
= 0 ;
34495 PyObject
* obj3
= 0 ;
34496 PyObject
* obj4
= 0 ;
34497 PyObject
* obj5
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34507 arg3
= (int) SWIG_AsInt(obj2
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34511 arg4
= (int) SWIG_AsInt(obj3
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34515 arg5
= (int) SWIG_AsInt(obj4
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 Py_INCREF(Py_None
); resultobj
= Py_None
;
34535 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
;
34537 wxSizer
*arg1
= (wxSizer
*) 0 ;
34538 PyObject
*arg2
= (PyObject
*) 0 ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self",(char *) "item", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34552 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34554 wxPyEndAllowThreads(__tstate
);
34555 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34566 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxSizer
*arg1
= (wxSizer
*) 0 ;
34569 PyObject
*arg2
= (PyObject
*) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 PyObject
* obj2
= 0 ;
34575 char *kwnames
[] = {
34576 (char *) "self",(char *) "item",(char *) "size", NULL
34579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34585 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34594 Py_INCREF(Py_None
); resultobj
= Py_None
;
34601 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
;
34603 wxSizer
*arg1
= (wxSizer
*) 0 ;
34604 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 char *kwnames
[] = {
34608 (char *) "self",(char *) "item", NULL
34611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 Py_INCREF(Py_None
); resultobj
= Py_None
;
34630 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
;
34632 wxSizer
*arg1
= (wxSizer
*) 0 ;
34634 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 PyObject
* obj2
= 0 ;
34638 char *kwnames
[] = {
34639 (char *) "self",(char *) "index",(char *) "item", NULL
34642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34645 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34647 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 (arg1
)->Insert(arg2
,arg3
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 Py_INCREF(Py_None
); resultobj
= Py_None
;
34663 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
;
34665 wxSizer
*arg1
= (wxSizer
*) 0 ;
34666 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "item", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 (arg1
)->Prepend(arg2
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 Py_INCREF(Py_None
); resultobj
= Py_None
;
34692 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
;
34694 wxSizer
*arg1
= (wxSizer
*) 0 ;
34699 PyObject
* obj0
= 0 ;
34700 PyObject
* obj1
= 0 ;
34701 PyObject
* obj2
= 0 ;
34702 PyObject
* obj3
= 0 ;
34703 PyObject
* obj4
= 0 ;
34704 char *kwnames
[] = {
34705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34711 arg2
= (int) SWIG_AsInt(obj1
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34713 arg3
= (int) SWIG_AsInt(obj2
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34715 arg4
= (int) SWIG_AsInt(obj3
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34717 arg5
= (int) SWIG_AsInt(obj4
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34723 wxPyEndAllowThreads(__tstate
);
34724 if (PyErr_Occurred()) SWIG_fail
;
34726 Py_INCREF(Py_None
); resultobj
= Py_None
;
34733 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34734 PyObject
*resultobj
;
34735 wxSizer
*arg1
= (wxSizer
*) 0 ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 char *kwnames
[] = {
34741 (char *) "self",(char *) "size", NULL
34744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34753 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34758 Py_INCREF(Py_None
); resultobj
= Py_None
;
34765 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
;
34767 wxSizer
*arg1
= (wxSizer
*) 0 ;
34769 PyObject
* obj0
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 result
= (arg1
)->GetSize();
34781 wxPyEndAllowThreads(__tstate
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34785 wxSize
* resultptr
;
34786 resultptr
= new wxSize((wxSize
&) result
);
34787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34795 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxSizer
*arg1
= (wxSizer
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (arg1
)->GetPosition();
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34815 wxPoint
* resultptr
;
34816 resultptr
= new wxPoint((wxPoint
&) result
);
34817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34825 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
;
34827 wxSizer
*arg1
= (wxSizer
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "self", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 result
= (arg1
)->GetMinSize();
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34845 wxSize
* resultptr
;
34846 resultptr
= new wxSize((wxSize
&) result
);
34847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34855 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
;
34857 wxSizer
*arg1
= (wxSizer
*) 0 ;
34858 PyObject
* obj0
= 0 ;
34859 char *kwnames
[] = {
34860 (char *) "self", NULL
34863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34868 (arg1
)->RecalcSizes();
34870 wxPyEndAllowThreads(__tstate
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34873 Py_INCREF(Py_None
); resultobj
= Py_None
;
34880 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34881 PyObject
*resultobj
;
34882 wxSizer
*arg1
= (wxSizer
*) 0 ;
34884 PyObject
* obj0
= 0 ;
34885 char *kwnames
[] = {
34886 (char *) "self", NULL
34889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 result
= (arg1
)->CalcMin();
34896 wxPyEndAllowThreads(__tstate
);
34897 if (PyErr_Occurred()) SWIG_fail
;
34900 wxSize
* resultptr
;
34901 resultptr
= new wxSize((wxSize
&) result
);
34902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34910 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
;
34912 wxSizer
*arg1
= (wxSizer
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 char *kwnames
[] = {
34915 (char *) "self", NULL
34918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34928 Py_INCREF(Py_None
); resultobj
= Py_None
;
34935 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34936 PyObject
*resultobj
;
34937 wxSizer
*arg1
= (wxSizer
*) 0 ;
34938 wxWindow
*arg2
= (wxWindow
*) 0 ;
34940 PyObject
* obj0
= 0 ;
34941 PyObject
* obj1
= 0 ;
34942 char *kwnames
[] = {
34943 (char *) "self",(char *) "window", NULL
34946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 result
= (arg1
)->Fit(arg2
);
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34959 wxSize
* resultptr
;
34960 resultptr
= new wxSize((wxSize
&) result
);
34961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34969 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
;
34971 wxSizer
*arg1
= (wxSizer
*) 0 ;
34972 wxWindow
*arg2
= (wxWindow
*) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 PyObject
* obj1
= 0 ;
34975 char *kwnames
[] = {
34976 (char *) "self",(char *) "window", NULL
34979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 (arg1
)->FitInside(arg2
);
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 Py_INCREF(Py_None
); resultobj
= Py_None
;
34998 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxSizer
*arg1
= (wxSizer
*) 0 ;
35001 wxWindow
*arg2
= (wxWindow
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 char *kwnames
[] = {
35005 (char *) "self",(char *) "window", NULL
35008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 (arg1
)->SetSizeHints(arg2
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 Py_INCREF(Py_None
); resultobj
= Py_None
;
35027 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxSizer
*arg1
= (wxSizer
*) 0 ;
35030 wxWindow
*arg2
= (wxWindow
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 char *kwnames
[] = {
35034 (char *) "self",(char *) "window", NULL
35037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 (arg1
)->SetVirtualSizeHints(arg2
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 Py_INCREF(Py_None
); resultobj
= Py_None
;
35056 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxSizer
*arg1
= (wxSizer
*) 0 ;
35059 bool arg2
= (bool) False
;
35060 PyObject
* obj0
= 0 ;
35061 PyObject
* obj1
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self",(char *) "delete_windows", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35070 arg2
= (bool) SWIG_AsBool(obj1
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 (arg1
)->Clear(arg2
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 Py_INCREF(Py_None
); resultobj
= Py_None
;
35087 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
;
35089 wxSizer
*arg1
= (wxSizer
*) 0 ;
35090 PyObject
* obj0
= 0 ;
35091 char *kwnames
[] = {
35092 (char *) "self", NULL
35095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 (arg1
)->DeleteWindows();
35102 wxPyEndAllowThreads(__tstate
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35105 Py_INCREF(Py_None
); resultobj
= Py_None
;
35112 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxSizer
*arg1
= (wxSizer
*) 0 ;
35116 PyObject
* obj0
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35131 resultobj
= result
;
35138 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35139 PyObject
*resultobj
;
35140 wxSizer
*arg1
= (wxSizer
*) 0 ;
35141 PyObject
*arg2
= (PyObject
*) 0 ;
35142 bool arg3
= (bool) True
;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 PyObject
* obj2
= 0 ;
35146 char *kwnames
[] = {
35147 (char *) "self",(char *) "item",(char *) "show", NULL
35150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35155 arg3
= (bool) SWIG_AsBool(obj2
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 wxSizer_Show(arg1
,arg2
,arg3
);
35162 wxPyEndAllowThreads(__tstate
);
35163 if (PyErr_Occurred()) SWIG_fail
;
35165 Py_INCREF(Py_None
); resultobj
= Py_None
;
35172 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
;
35174 wxSizer
*arg1
= (wxSizer
*) 0 ;
35175 PyObject
*arg2
= (PyObject
*) 0 ;
35176 PyObject
* obj0
= 0 ;
35177 PyObject
* obj1
= 0 ;
35178 char *kwnames
[] = {
35179 (char *) "self",(char *) "item", NULL
35182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 wxSizer_Hide(arg1
,arg2
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 Py_INCREF(Py_None
); resultobj
= Py_None
;
35200 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
;
35202 wxSizer
*arg1
= (wxSizer
*) 0 ;
35203 PyObject
*arg2
= (PyObject
*) 0 ;
35205 PyObject
* obj0
= 0 ;
35206 PyObject
* obj1
= 0 ;
35207 char *kwnames
[] = {
35208 (char *) "self",(char *) "item", NULL
35211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35231 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
;
35233 wxSizer
*arg1
= (wxSizer
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self",(char *) "show", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35244 arg2
= (bool) SWIG_AsBool(obj1
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 (arg1
)->ShowItems(arg2
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 Py_INCREF(Py_None
); resultobj
= Py_None
;
35260 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35263 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35265 return Py_BuildValue((char *)"");
35267 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
;
35270 char *kwnames
[] = {
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 result
= (wxPySizer
*)new wxPySizer();
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35289 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
;
35291 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35292 PyObject
*arg2
= (PyObject
*) 0 ;
35293 PyObject
*arg3
= (PyObject
*) 0 ;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 PyObject
* obj2
= 0 ;
35297 char *kwnames
[] = {
35298 (char *) "self",(char *) "self",(char *) "_class", NULL
35301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 Py_INCREF(Py_None
); resultobj
= Py_None
;
35320 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35323 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35325 return Py_BuildValue((char *)"");
35327 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35328 PyObject
*resultobj
;
35329 int arg1
= (int) wxHORIZONTAL
;
35330 wxBoxSizer
*result
;
35331 PyObject
* obj0
= 0 ;
35332 char *kwnames
[] = {
35333 (char *) "orient", NULL
35336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35338 arg1
= (int) SWIG_AsInt(obj0
);
35339 if (PyErr_Occurred()) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35355 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 char *kwnames
[] = {
35361 (char *) "self", NULL
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 result
= (int)(arg1
)->GetOrientation();
35371 wxPyEndAllowThreads(__tstate
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35374 resultobj
= SWIG_FromInt((int)result
);
35381 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35382 PyObject
*resultobj
;
35383 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 char *kwnames
[] = {
35388 (char *) "self",(char *) "orient", NULL
35391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35394 arg2
= (int) SWIG_AsInt(obj1
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 (arg1
)->SetOrientation(arg2
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 Py_INCREF(Py_None
); resultobj
= Py_None
;
35410 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35411 PyObject
*resultobj
;
35412 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35413 PyObject
* obj0
= 0 ;
35414 char *kwnames
[] = {
35415 (char *) "self", NULL
35418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 (arg1
)->RecalcSizes();
35425 wxPyEndAllowThreads(__tstate
);
35426 if (PyErr_Occurred()) SWIG_fail
;
35428 Py_INCREF(Py_None
); resultobj
= Py_None
;
35435 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
;
35437 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35439 PyObject
* obj0
= 0 ;
35440 char *kwnames
[] = {
35441 (char *) "self", NULL
35444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= (arg1
)->CalcMin();
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35455 wxSize
* resultptr
;
35456 resultptr
= new wxSize((wxSize
&) result
);
35457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35465 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35468 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35470 return Py_BuildValue((char *)"");
35472 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35473 PyObject
*resultobj
;
35474 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35475 int arg2
= (int) wxHORIZONTAL
;
35476 wxStaticBoxSizer
*result
;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 char *kwnames
[] = {
35480 (char *) "box",(char *) "orient", NULL
35483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35487 arg2
= (int) SWIG_AsInt(obj1
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35504 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
;
35506 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35507 wxStaticBox
*result
;
35508 PyObject
* obj0
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35518 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35520 wxPyEndAllowThreads(__tstate
);
35521 if (PyErr_Occurred()) SWIG_fail
;
35524 resultobj
= wxPyMake_wxObject(result
);
35532 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35535 PyObject
* obj0
= 0 ;
35536 char *kwnames
[] = {
35537 (char *) "self", NULL
35540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 (arg1
)->RecalcSizes();
35547 wxPyEndAllowThreads(__tstate
);
35548 if (PyErr_Occurred()) SWIG_fail
;
35550 Py_INCREF(Py_None
); resultobj
= Py_None
;
35557 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35558 PyObject
*resultobj
;
35559 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35561 PyObject
* obj0
= 0 ;
35562 char *kwnames
[] = {
35563 (char *) "self", NULL
35566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 result
= (arg1
)->CalcMin();
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35577 wxSize
* resultptr
;
35578 resultptr
= new wxSize((wxSize
&) result
);
35579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35587 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35590 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35592 return Py_BuildValue((char *)"");
35594 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35595 PyObject
*resultobj
;
35596 int arg1
= (int) 1 ;
35597 int arg2
= (int) 0 ;
35598 int arg3
= (int) 0 ;
35599 int arg4
= (int) 0 ;
35600 wxGridSizer
*result
;
35601 PyObject
* obj0
= 0 ;
35602 PyObject
* obj1
= 0 ;
35603 PyObject
* obj2
= 0 ;
35604 PyObject
* obj3
= 0 ;
35605 char *kwnames
[] = {
35606 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35611 arg1
= (int) SWIG_AsInt(obj0
);
35612 if (PyErr_Occurred()) SWIG_fail
;
35615 arg2
= (int) SWIG_AsInt(obj1
);
35616 if (PyErr_Occurred()) SWIG_fail
;
35619 arg3
= (int) SWIG_AsInt(obj2
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35623 arg4
= (int) SWIG_AsInt(obj3
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35640 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 (arg1
)->RecalcSizes();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35658 Py_INCREF(Py_None
); resultobj
= Py_None
;
35665 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35666 PyObject
*resultobj
;
35667 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35669 PyObject
* obj0
= 0 ;
35670 char *kwnames
[] = {
35671 (char *) "self", NULL
35674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 result
= (arg1
)->CalcMin();
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35685 wxSize
* resultptr
;
35686 resultptr
= new wxSize((wxSize
&) result
);
35687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35695 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
;
35697 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35699 PyObject
* obj0
= 0 ;
35700 PyObject
* obj1
= 0 ;
35701 char *kwnames
[] = {
35702 (char *) "self",(char *) "cols", NULL
35705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35708 arg2
= (int) SWIG_AsInt(obj1
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 (arg1
)->SetCols(arg2
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 Py_INCREF(Py_None
); resultobj
= Py_None
;
35724 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
;
35726 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self",(char *) "rows", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35737 arg2
= (int) SWIG_AsInt(obj1
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 (arg1
)->SetRows(arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 char *kwnames
[] = {
35760 (char *) "self",(char *) "gap", NULL
35763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35766 arg2
= (int) SWIG_AsInt(obj1
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35770 (arg1
)->SetVGap(arg2
);
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35775 Py_INCREF(Py_None
); resultobj
= Py_None
;
35782 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
;
35784 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 char *kwnames
[] = {
35789 (char *) "self",(char *) "gap", NULL
35792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35795 arg2
= (int) SWIG_AsInt(obj1
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35799 (arg1
)->SetHGap(arg2
);
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 Py_INCREF(Py_None
); resultobj
= Py_None
;
35811 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35815 PyObject
* obj0
= 0 ;
35816 char *kwnames
[] = {
35817 (char *) "self", NULL
35820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= (int)(arg1
)->GetCols();
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= SWIG_FromInt((int)result
);
35837 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
;
35839 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35841 PyObject
* obj0
= 0 ;
35842 char *kwnames
[] = {
35843 (char *) "self", NULL
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (int)(arg1
)->GetRows();
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 resultobj
= SWIG_FromInt((int)result
);
35863 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
;
35865 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35867 PyObject
* obj0
= 0 ;
35868 char *kwnames
[] = {
35869 (char *) "self", NULL
35872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 result
= (int)(arg1
)->GetVGap();
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35882 resultobj
= SWIG_FromInt((int)result
);
35889 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35893 PyObject
* obj0
= 0 ;
35894 char *kwnames
[] = {
35895 (char *) "self", NULL
35898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 result
= (int)(arg1
)->GetHGap();
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_FromInt((int)result
);
35915 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35918 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35920 return Py_BuildValue((char *)"");
35922 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35923 PyObject
*resultobj
;
35924 int arg1
= (int) 1 ;
35925 int arg2
= (int) 0 ;
35926 int arg3
= (int) 0 ;
35927 int arg4
= (int) 0 ;
35928 wxFlexGridSizer
*result
;
35929 PyObject
* obj0
= 0 ;
35930 PyObject
* obj1
= 0 ;
35931 PyObject
* obj2
= 0 ;
35932 PyObject
* obj3
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35939 arg1
= (int) SWIG_AsInt(obj0
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35943 arg2
= (int) SWIG_AsInt(obj1
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35947 arg3
= (int) SWIG_AsInt(obj2
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35951 arg4
= (int) SWIG_AsInt(obj3
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35968 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
;
35970 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35971 PyObject
* obj0
= 0 ;
35972 char *kwnames
[] = {
35973 (char *) "self", NULL
35976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 (arg1
)->RecalcSizes();
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 Py_INCREF(Py_None
); resultobj
= Py_None
;
35993 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
;
35995 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35997 PyObject
* obj0
= 0 ;
35998 char *kwnames
[] = {
35999 (char *) "self", NULL
36002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= (arg1
)->CalcMin();
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36013 wxSize
* resultptr
;
36014 resultptr
= new wxSize((wxSize
&) result
);
36015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36023 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
;
36025 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36027 int arg3
= (int) 0 ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 PyObject
* obj2
= 0 ;
36031 char *kwnames
[] = {
36032 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36038 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 arg3
= (int) SWIG_AsInt(obj2
);
36042 if (PyErr_Occurred()) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 (arg1
)->AddGrowableRow(arg2
,arg3
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 Py_INCREF(Py_None
); resultobj
= Py_None
;
36058 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
;
36060 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 char *kwnames
[] = {
36065 (char *) "self",(char *) "idx", NULL
36068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36071 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 (arg1
)->RemoveGrowableRow(arg2
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 Py_INCREF(Py_None
); resultobj
= Py_None
;
36087 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
;
36089 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36091 int arg3
= (int) 0 ;
36092 PyObject
* obj0
= 0 ;
36093 PyObject
* obj1
= 0 ;
36094 PyObject
* obj2
= 0 ;
36095 char *kwnames
[] = {
36096 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36102 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 arg3
= (int) SWIG_AsInt(obj2
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->AddGrowableCol(arg2
,arg3
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 Py_INCREF(Py_None
); resultobj
= Py_None
;
36122 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
;
36124 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 char *kwnames
[] = {
36129 (char *) "self",(char *) "idx", NULL
36132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->RemoveGrowableCol(arg2
);
36141 wxPyEndAllowThreads(__tstate
);
36142 if (PyErr_Occurred()) SWIG_fail
;
36144 Py_INCREF(Py_None
); resultobj
= Py_None
;
36151 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36152 PyObject
*resultobj
;
36153 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36155 PyObject
* obj0
= 0 ;
36156 PyObject
* obj1
= 0 ;
36157 char *kwnames
[] = {
36158 (char *) "self",(char *) "direction", NULL
36161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36164 arg2
= (int) SWIG_AsInt(obj1
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 (arg1
)->SetFlexibleDirection(arg2
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 Py_INCREF(Py_None
); resultobj
= Py_None
;
36180 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
;
36182 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36184 PyObject
* obj0
= 0 ;
36185 char *kwnames
[] = {
36186 (char *) "self", NULL
36189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36194 result
= (int)(arg1
)->GetFlexibleDirection();
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_FromInt((int)result
);
36206 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
;
36208 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36210 PyObject
* obj0
= 0 ;
36211 PyObject
* obj1
= 0 ;
36212 char *kwnames
[] = {
36213 (char *) "self",(char *) "mode", NULL
36216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36219 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 Py_INCREF(Py_None
); resultobj
= Py_None
;
36235 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
;
36237 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36239 PyObject
* obj0
= 0 ;
36240 char *kwnames
[] = {
36241 (char *) "self", NULL
36244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36249 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36254 resultobj
= SWIG_FromInt((int)result
);
36261 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36262 PyObject
*resultobj
;
36263 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36264 wxArrayInt
*result
;
36265 PyObject
* obj0
= 0 ;
36266 char *kwnames
[] = {
36267 (char *) "self", NULL
36270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36276 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36277 result
= (wxArrayInt
*) &_result_ref
;
36280 wxPyEndAllowThreads(__tstate
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36284 resultobj
= PyList_New(0);
36286 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36287 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36288 PyList_Append(resultobj
, val
);
36298 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
;
36300 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36301 wxArrayInt
*result
;
36302 PyObject
* obj0
= 0 ;
36303 char *kwnames
[] = {
36304 (char *) "self", NULL
36307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36314 result
= (wxArrayInt
*) &_result_ref
;
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36321 resultobj
= PyList_New(0);
36323 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36324 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36325 PyList_Append(resultobj
, val
);
36335 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36338 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36340 return Py_BuildValue((char *)"");
36342 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36343 PyObject
*resultobj
;
36344 int arg1
= (int) 0 ;
36345 int arg2
= (int) 0 ;
36346 wxGBPosition
*result
;
36347 PyObject
* obj0
= 0 ;
36348 PyObject
* obj1
= 0 ;
36349 char *kwnames
[] = {
36350 (char *) "row",(char *) "col", NULL
36353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36355 arg1
= (int) SWIG_AsInt(obj0
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36359 arg2
= (int) SWIG_AsInt(obj1
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36376 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
;
36378 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36380 PyObject
* obj0
= 0 ;
36381 char *kwnames
[] = {
36382 (char *) "self", NULL
36385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36390 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_FromInt((int)result
);
36402 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
;
36404 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36406 PyObject
* obj0
= 0 ;
36407 char *kwnames
[] = {
36408 (char *) "self", NULL
36411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_FromInt((int)result
);
36428 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
;
36430 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36432 PyObject
* obj0
= 0 ;
36433 PyObject
* obj1
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self",(char *) "row", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36441 arg2
= (int) SWIG_AsInt(obj1
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 (arg1
)->SetRow(arg2
);
36447 wxPyEndAllowThreads(__tstate
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36450 Py_INCREF(Py_None
); resultobj
= Py_None
;
36457 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36458 PyObject
*resultobj
;
36459 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36461 PyObject
* obj0
= 0 ;
36462 PyObject
* obj1
= 0 ;
36463 char *kwnames
[] = {
36464 (char *) "self",(char *) "col", NULL
36467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36470 arg2
= (int) SWIG_AsInt(obj1
);
36471 if (PyErr_Occurred()) SWIG_fail
;
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->SetCol(arg2
);
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 Py_INCREF(Py_None
); resultobj
= Py_None
;
36486 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
;
36488 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36489 wxGBPosition
*arg2
= 0 ;
36491 wxGBPosition temp2
;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 char *kwnames
[] = {
36495 (char *) "self",(char *) "other", NULL
36498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36503 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36521 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36523 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36524 wxGBPosition
*arg2
= 0 ;
36526 wxGBPosition temp2
;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char *kwnames
[] = {
36530 (char *) "self",(char *) "other", NULL
36533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36538 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36556 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36557 PyObject
*resultobj
;
36558 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36559 int arg2
= (int) 0 ;
36560 int arg3
= (int) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 PyObject
* obj2
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self",(char *) "row",(char *) "col", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36572 arg2
= (int) SWIG_AsInt(obj1
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36576 arg3
= (int) SWIG_AsInt(obj2
);
36577 if (PyErr_Occurred()) SWIG_fail
;
36580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36581 wxGBPosition_Set(arg1
,arg2
,arg3
);
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 Py_INCREF(Py_None
); resultobj
= Py_None
;
36593 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36594 PyObject
*resultobj
;
36595 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36597 PyObject
* obj0
= 0 ;
36598 char *kwnames
[] = {
36599 (char *) "self", NULL
36602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= result
;
36619 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36622 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36624 return Py_BuildValue((char *)"");
36626 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36627 PyObject
*resultobj
;
36628 int arg1
= (int) 1 ;
36629 int arg2
= (int) 1 ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 char *kwnames
[] = {
36634 (char *) "rowspan",(char *) "colspan", NULL
36637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36639 arg1
= (int) SWIG_AsInt(obj0
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36643 arg2
= (int) SWIG_AsInt(obj1
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36660 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
;
36662 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36664 PyObject
* obj0
= 0 ;
36665 char *kwnames
[] = {
36666 (char *) "self", NULL
36669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= SWIG_FromInt((int)result
);
36686 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36687 PyObject
*resultobj
;
36688 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36690 PyObject
* obj0
= 0 ;
36691 char *kwnames
[] = {
36692 (char *) "self", NULL
36695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36700 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= SWIG_FromInt((int)result
);
36712 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
;
36714 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36716 PyObject
* obj0
= 0 ;
36717 PyObject
* obj1
= 0 ;
36718 char *kwnames
[] = {
36719 (char *) "self",(char *) "rowspan", NULL
36722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36725 arg2
= (int) SWIG_AsInt(obj1
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36729 (arg1
)->SetRowspan(arg2
);
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 Py_INCREF(Py_None
); resultobj
= Py_None
;
36741 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36742 PyObject
*resultobj
;
36743 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36745 PyObject
* obj0
= 0 ;
36746 PyObject
* obj1
= 0 ;
36747 char *kwnames
[] = {
36748 (char *) "self",(char *) "colspan", NULL
36751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36754 arg2
= (int) SWIG_AsInt(obj1
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 (arg1
)->SetColspan(arg2
);
36760 wxPyEndAllowThreads(__tstate
);
36761 if (PyErr_Occurred()) SWIG_fail
;
36763 Py_INCREF(Py_None
); resultobj
= Py_None
;
36770 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36771 PyObject
*resultobj
;
36772 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36773 wxGBSpan
*arg2
= 0 ;
36776 PyObject
* obj0
= 0 ;
36777 PyObject
* obj1
= 0 ;
36778 char *kwnames
[] = {
36779 (char *) "self",(char *) "other", NULL
36782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36787 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36805 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36806 PyObject
*resultobj
;
36807 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36808 wxGBSpan
*arg2
= 0 ;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 char *kwnames
[] = {
36814 (char *) "self",(char *) "other", NULL
36817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36822 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36840 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
;
36842 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36843 int arg2
= (int) 1 ;
36844 int arg3
= (int) 1 ;
36845 PyObject
* obj0
= 0 ;
36846 PyObject
* obj1
= 0 ;
36847 PyObject
* obj2
= 0 ;
36848 char *kwnames
[] = {
36849 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36856 arg2
= (int) SWIG_AsInt(obj1
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36860 arg3
= (int) SWIG_AsInt(obj2
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 wxGBSpan_Set(arg1
,arg2
,arg3
);
36867 wxPyEndAllowThreads(__tstate
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36870 Py_INCREF(Py_None
); resultobj
= Py_None
;
36877 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36878 PyObject
*resultobj
;
36879 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36881 PyObject
* obj0
= 0 ;
36882 char *kwnames
[] = {
36883 (char *) "self", NULL
36886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36891 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36893 wxPyEndAllowThreads(__tstate
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36896 resultobj
= result
;
36903 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
36905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36906 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36908 return Py_BuildValue((char *)"");
36910 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
36911 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36916 static PyObject
*_wrap_DefaultSpan_get() {
36919 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36924 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36925 PyObject
*resultobj
;
36926 wxGBSizerItem
*result
;
36927 char *kwnames
[] = {
36931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36946 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36947 PyObject
*resultobj
;
36948 wxWindow
*arg1
= (wxWindow
*) 0 ;
36949 wxGBPosition
*arg2
= 0 ;
36950 wxGBSpan
*arg3
= 0 ;
36953 wxObject
*arg6
= (wxObject
*) 0 ;
36954 wxGBSizerItem
*result
;
36955 wxGBPosition temp2
;
36957 PyObject
* obj0
= 0 ;
36958 PyObject
* obj1
= 0 ;
36959 PyObject
* obj2
= 0 ;
36960 PyObject
* obj3
= 0 ;
36961 PyObject
* obj4
= 0 ;
36962 PyObject
* obj5
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36972 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36976 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36978 arg4
= (int) SWIG_AsInt(obj3
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36980 arg5
= (int) SWIG_AsInt(obj4
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36982 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36998 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
;
37000 wxSizer
*arg1
= (wxSizer
*) 0 ;
37001 wxGBPosition
*arg2
= 0 ;
37002 wxGBSpan
*arg3
= 0 ;
37005 wxObject
*arg6
= (wxObject
*) 0 ;
37006 wxGBSizerItem
*result
;
37007 wxGBPosition temp2
;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 PyObject
* obj2
= 0 ;
37012 PyObject
* obj3
= 0 ;
37013 PyObject
* obj4
= 0 ;
37014 PyObject
* obj5
= 0 ;
37015 char *kwnames
[] = {
37016 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37024 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37028 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37030 arg4
= (int) SWIG_AsInt(obj3
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37032 arg5
= (int) SWIG_AsInt(obj4
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37034 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37040 wxPyEndAllowThreads(__tstate
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37050 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37051 PyObject
*resultobj
;
37054 wxGBPosition
*arg3
= 0 ;
37055 wxGBSpan
*arg4
= 0 ;
37058 wxObject
*arg7
= (wxObject
*) 0 ;
37059 wxGBSizerItem
*result
;
37060 wxGBPosition temp3
;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 PyObject
* obj2
= 0 ;
37065 PyObject
* obj3
= 0 ;
37066 PyObject
* obj4
= 0 ;
37067 PyObject
* obj5
= 0 ;
37068 PyObject
* obj6
= 0 ;
37069 char *kwnames
[] = {
37070 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37074 arg1
= (int) SWIG_AsInt(obj0
);
37075 if (PyErr_Occurred()) SWIG_fail
;
37076 arg2
= (int) SWIG_AsInt(obj1
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37080 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37084 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37086 arg5
= (int) SWIG_AsInt(obj4
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37088 arg6
= (int) SWIG_AsInt(obj5
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37090 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37096 wxPyEndAllowThreads(__tstate
);
37097 if (PyErr_Occurred()) SWIG_fail
;
37099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37106 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
;
37108 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37109 wxGBPosition result
;
37110 PyObject
* obj0
= 0 ;
37111 char *kwnames
[] = {
37112 (char *) "self", NULL
37115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37122 wxPyEndAllowThreads(__tstate
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37126 wxGBPosition
* resultptr
;
37127 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37136 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37137 PyObject
*resultobj
;
37138 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37140 PyObject
* obj0
= 0 ;
37141 char *kwnames
[] = {
37142 (char *) "self", NULL
37145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37150 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37156 wxGBSpan
* resultptr
;
37157 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37166 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37167 PyObject
*resultobj
;
37168 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37169 wxGBPosition
*arg2
= 0 ;
37171 wxGBPosition temp2
;
37172 PyObject
* obj0
= 0 ;
37173 PyObject
* obj1
= 0 ;
37174 char *kwnames
[] = {
37175 (char *) "self",(char *) "pos", NULL
37178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37183 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37201 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37202 PyObject
*resultobj
;
37203 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37204 wxGBSpan
*arg2
= 0 ;
37207 PyObject
* obj0
= 0 ;
37208 PyObject
* obj1
= 0 ;
37209 char *kwnames
[] = {
37210 (char *) "self",(char *) "span", NULL
37213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37218 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37222 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37236 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37237 PyObject
*resultobj
;
37238 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37239 wxGBSizerItem
*arg2
= 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37244 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37250 if (arg2
== NULL
) {
37251 PyErr_SetString(PyExc_TypeError
,"null reference");
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37270 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37271 PyObject
*resultobj
;
37272 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37273 wxGBPosition
*arg2
= 0 ;
37274 wxGBSpan
*arg3
= 0 ;
37276 wxGBPosition temp2
;
37278 PyObject
* obj0
= 0 ;
37279 PyObject
* obj1
= 0 ;
37280 PyObject
* obj2
= 0 ;
37282 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37287 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37291 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37297 wxPyEndAllowThreads(__tstate
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37309 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37314 argc
= PyObject_Length(args
);
37315 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37316 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37332 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37340 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37348 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37357 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37361 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37364 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37370 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37375 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37380 PyObject
* obj0
= 0 ;
37381 PyObject
* obj1
= 0 ;
37382 PyObject
* obj2
= 0 ;
37383 char *kwnames
[] = {
37384 (char *) "self",(char *) "row",(char *) "col", NULL
37387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37393 if (arg2
== NULL
) {
37394 PyErr_SetString(PyExc_TypeError
,"null reference");
37397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37400 if (arg3
== NULL
) {
37401 PyErr_SetString(PyExc_TypeError
,"null reference");
37405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37406 (arg1
)->GetEndPos(*arg2
,*arg3
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 Py_INCREF(Py_None
); resultobj
= Py_None
;
37418 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37419 PyObject
*resultobj
;
37420 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37421 wxGridBagSizer
*result
;
37422 PyObject
* obj0
= 0 ;
37423 char *kwnames
[] = {
37424 (char *) "self", NULL
37427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37434 wxPyEndAllowThreads(__tstate
);
37435 if (PyErr_Occurred()) SWIG_fail
;
37437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37444 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37445 PyObject
*resultobj
;
37446 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37447 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37448 PyObject
* obj0
= 0 ;
37449 PyObject
* obj1
= 0 ;
37450 char *kwnames
[] = {
37451 (char *) "self",(char *) "sizer", NULL
37454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 (arg1
)->SetGBSizer(arg2
);
37463 wxPyEndAllowThreads(__tstate
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 Py_INCREF(Py_None
); resultobj
= Py_None
;
37473 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37476 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37478 return Py_BuildValue((char *)"");
37480 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 int arg1
= (int) 0 ;
37483 int arg2
= (int) 0 ;
37484 wxGridBagSizer
*result
;
37485 PyObject
* obj0
= 0 ;
37486 PyObject
* obj1
= 0 ;
37487 char *kwnames
[] = {
37488 (char *) "vgap",(char *) "hgap", NULL
37491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37493 arg1
= (int) SWIG_AsInt(obj0
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37497 arg2
= (int) SWIG_AsInt(obj1
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37514 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37517 PyObject
*arg2
= (PyObject
*) 0 ;
37518 wxGBPosition
*arg3
= 0 ;
37519 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37520 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37521 int arg5
= (int) 0 ;
37522 int arg6
= (int) 0 ;
37523 PyObject
*arg7
= (PyObject
*) NULL
;
37525 wxGBPosition temp3
;
37527 PyObject
* obj0
= 0 ;
37528 PyObject
* obj1
= 0 ;
37529 PyObject
* obj2
= 0 ;
37530 PyObject
* obj3
= 0 ;
37531 PyObject
* obj4
= 0 ;
37532 PyObject
* obj5
= 0 ;
37533 PyObject
* obj6
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37544 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37549 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37553 arg5
= (int) SWIG_AsInt(obj4
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37557 arg6
= (int) SWIG_AsInt(obj5
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37579 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37580 PyObject
*resultobj
;
37581 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37582 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37584 PyObject
* obj0
= 0 ;
37585 PyObject
* obj1
= 0 ;
37586 char *kwnames
[] = {
37587 (char *) "self",(char *) "item", NULL
37590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37597 result
= (bool)(arg1
)->Add(arg2
);
37599 wxPyEndAllowThreads(__tstate
);
37600 if (PyErr_Occurred()) SWIG_fail
;
37603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37611 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37612 PyObject
*resultobj
;
37613 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37615 PyObject
* obj0
= 0 ;
37616 char *kwnames
[] = {
37617 (char *) "self", NULL
37620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37631 wxSize
* resultptr
;
37632 resultptr
= new wxSize((wxSize
&) result
);
37633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37641 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37642 PyObject
*resultobj
;
37643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37646 PyObject
* obj0
= 0 ;
37647 PyObject
* obj1
= 0 ;
37648 char *kwnames
[] = {
37649 (char *) "self",(char *) "sz", NULL
37652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37661 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37666 Py_INCREF(Py_None
); resultobj
= Py_None
;
37673 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37674 PyObject
*resultobj
;
37675 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37676 wxWindow
*arg2
= (wxWindow
*) 0 ;
37677 wxGBPosition result
;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37681 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37688 result
= (arg1
)->GetItemPosition(arg2
);
37690 wxPyEndAllowThreads(__tstate
);
37691 if (PyErr_Occurred()) SWIG_fail
;
37694 wxGBPosition
* resultptr
;
37695 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37704 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37705 PyObject
*resultobj
;
37706 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37707 wxSizer
*arg2
= (wxSizer
*) 0 ;
37708 wxGBPosition result
;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37712 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 result
= (arg1
)->GetItemPosition(arg2
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 wxGBPosition
* resultptr
;
37726 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37735 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37736 PyObject
*resultobj
;
37737 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37739 wxGBPosition result
;
37740 PyObject
* obj0
= 0 ;
37741 PyObject
* obj1
= 0 ;
37743 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37746 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37750 result
= (arg1
)->GetItemPosition(arg2
);
37752 wxPyEndAllowThreads(__tstate
);
37753 if (PyErr_Occurred()) SWIG_fail
;
37756 wxGBPosition
* resultptr
;
37757 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37766 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37771 argc
= PyObject_Length(args
);
37772 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37773 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37789 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37797 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37815 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37823 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37831 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37839 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37841 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37846 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37851 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37852 PyObject
*resultobj
;
37853 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37854 wxWindow
*arg2
= (wxWindow
*) 0 ;
37855 wxGBPosition
*arg3
= 0 ;
37857 wxGBPosition temp3
;
37858 PyObject
* obj0
= 0 ;
37859 PyObject
* obj1
= 0 ;
37860 PyObject
* obj2
= 0 ;
37862 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37869 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37873 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37875 wxPyEndAllowThreads(__tstate
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37887 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37888 PyObject
*resultobj
;
37889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37890 wxSizer
*arg2
= (wxSizer
*) 0 ;
37891 wxGBPosition
*arg3
= 0 ;
37893 wxGBPosition temp3
;
37894 PyObject
* obj0
= 0 ;
37895 PyObject
* obj1
= 0 ;
37896 PyObject
* obj2
= 0 ;
37898 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37905 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37923 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37924 PyObject
*resultobj
;
37925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37927 wxGBPosition
*arg3
= 0 ;
37929 wxGBPosition temp3
;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 PyObject
* obj2
= 0 ;
37934 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37937 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37945 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37959 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37964 argc
= PyObject_Length(args
);
37965 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37966 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37972 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37982 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37991 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37994 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38013 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38022 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38025 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38042 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38045 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38048 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38054 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38059 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38060 PyObject
*resultobj
;
38061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38062 wxWindow
*arg2
= (wxWindow
*) 0 ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38067 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 result
= (arg1
)->GetItemSpan(arg2
);
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38080 wxGBSpan
* resultptr
;
38081 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38090 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38091 PyObject
*resultobj
;
38092 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38093 wxSizer
*arg2
= (wxSizer
*) 0 ;
38095 PyObject
* obj0
= 0 ;
38096 PyObject
* obj1
= 0 ;
38098 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 result
= (arg1
)->GetItemSpan(arg2
);
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38111 wxGBSpan
* resultptr
;
38112 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38121 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38122 PyObject
*resultobj
;
38123 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38126 PyObject
* obj0
= 0 ;
38127 PyObject
* obj1
= 0 ;
38129 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38136 result
= (arg1
)->GetItemSpan(arg2
);
38138 wxPyEndAllowThreads(__tstate
);
38139 if (PyErr_Occurred()) SWIG_fail
;
38142 wxGBSpan
* resultptr
;
38143 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38152 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38157 argc
= PyObject_Length(args
);
38158 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38159 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38165 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38175 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38183 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38201 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38209 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38225 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38227 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38232 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38237 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38238 PyObject
*resultobj
;
38239 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38240 wxWindow
*arg2
= (wxWindow
*) 0 ;
38241 wxGBSpan
*arg3
= 0 ;
38244 PyObject
* obj0
= 0 ;
38245 PyObject
* obj1
= 0 ;
38246 PyObject
* obj2
= 0 ;
38248 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38255 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38273 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38274 PyObject
*resultobj
;
38275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38276 wxSizer
*arg2
= (wxSizer
*) 0 ;
38277 wxGBSpan
*arg3
= 0 ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 PyObject
* obj2
= 0 ;
38284 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38291 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38295 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38309 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38310 PyObject
*resultobj
;
38311 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38313 wxGBSpan
*arg3
= 0 ;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 PyObject
* obj2
= 0 ;
38320 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38323 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38327 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38345 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38350 argc
= PyObject_Length(args
);
38351 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38352 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38358 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38368 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38377 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38380 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38389 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38399 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38408 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38411 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38420 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38428 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38431 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38434 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38440 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38445 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38446 PyObject
*resultobj
;
38447 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38448 wxWindow
*arg2
= (wxWindow
*) 0 ;
38449 wxGBSizerItem
*result
;
38450 PyObject
* obj0
= 0 ;
38451 PyObject
* obj1
= 0 ;
38453 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38472 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38473 PyObject
*resultobj
;
38474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38475 wxSizer
*arg2
= (wxSizer
*) 0 ;
38476 wxGBSizerItem
*result
;
38477 PyObject
* obj0
= 0 ;
38478 PyObject
* obj1
= 0 ;
38480 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38499 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38504 argc
= PyObject_Length(args
);
38505 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38506 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38512 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38522 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38530 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38538 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38548 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38556 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38561 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38566 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38567 PyObject
*resultobj
;
38568 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38569 wxGBPosition
*arg2
= 0 ;
38570 wxGBSizerItem
*result
;
38571 wxGBPosition temp2
;
38572 PyObject
* obj0
= 0 ;
38573 PyObject
* obj1
= 0 ;
38574 char *kwnames
[] = {
38575 (char *) "self",(char *) "pos", NULL
38578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38583 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38587 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38589 wxPyEndAllowThreads(__tstate
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38599 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38600 PyObject
*resultobj
;
38601 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38602 wxPoint
*arg2
= 0 ;
38603 wxGBSizerItem
*result
;
38605 PyObject
* obj0
= 0 ;
38606 PyObject
* obj1
= 0 ;
38607 char *kwnames
[] = {
38608 (char *) "self",(char *) "pt", NULL
38611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38632 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
;
38634 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38635 wxObject
*arg2
= (wxObject
*) 0 ;
38636 wxGBSizerItem
*result
;
38637 PyObject
* obj0
= 0 ;
38638 PyObject
* obj1
= 0 ;
38639 char *kwnames
[] = {
38640 (char *) "self",(char *) "userData", NULL
38643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38652 wxPyEndAllowThreads(__tstate
);
38653 if (PyErr_Occurred()) SWIG_fail
;
38655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38662 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38663 PyObject
*resultobj
;
38664 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38665 PyObject
* obj0
= 0 ;
38666 char *kwnames
[] = {
38667 (char *) "self", NULL
38670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 (arg1
)->RecalcSizes();
38677 wxPyEndAllowThreads(__tstate
);
38678 if (PyErr_Occurred()) SWIG_fail
;
38680 Py_INCREF(Py_None
); resultobj
= Py_None
;
38687 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38688 PyObject
*resultobj
;
38689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38691 PyObject
* obj0
= 0 ;
38692 char *kwnames
[] = {
38693 (char *) "self", NULL
38696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38701 result
= (arg1
)->CalcMin();
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38707 wxSize
* resultptr
;
38708 resultptr
= new wxSize((wxSize
&) result
);
38709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38717 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38718 PyObject
*resultobj
;
38719 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38720 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38721 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 PyObject
* obj2
= 0 ;
38727 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38740 wxPyEndAllowThreads(__tstate
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38752 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38753 PyObject
*resultobj
;
38754 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38755 wxGBPosition
*arg2
= 0 ;
38756 wxGBSpan
*arg3
= 0 ;
38757 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38759 wxGBPosition temp2
;
38761 PyObject
* obj0
= 0 ;
38762 PyObject
* obj1
= 0 ;
38763 PyObject
* obj2
= 0 ;
38764 PyObject
* obj3
= 0 ;
38766 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38771 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38775 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38778 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38797 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38802 argc
= PyObject_Length(args
);
38803 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38804 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38806 if ((argc
>= 2) && (argc
<= 3)) {
38810 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38820 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38829 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38833 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38841 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38846 if ((argc
>= 3) && (argc
<= 4)) {
38850 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38859 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38863 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38867 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38871 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38879 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38886 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38891 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38894 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38896 return Py_BuildValue((char *)"");
38898 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38899 PyObject
*resultobj
;
38900 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38902 wxWindow
*arg3
= (wxWindow
*) 0 ;
38904 int arg5
= (int) 0 ;
38905 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38906 PyObject
* obj0
= 0 ;
38907 PyObject
* obj1
= 0 ;
38908 PyObject
* obj2
= 0 ;
38909 PyObject
* obj3
= 0 ;
38910 PyObject
* obj4
= 0 ;
38911 PyObject
* obj5
= 0 ;
38912 char *kwnames
[] = {
38913 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38919 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38920 if (PyErr_Occurred()) SWIG_fail
;
38921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38923 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 arg5
= (int) SWIG_AsInt(obj4
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38930 arg6
= (int) SWIG_AsInt(obj5
);
38931 if (PyErr_Occurred()) SWIG_fail
;
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38937 wxPyEndAllowThreads(__tstate
);
38938 if (PyErr_Occurred()) SWIG_fail
;
38940 Py_INCREF(Py_None
); resultobj
= Py_None
;
38947 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
;
38949 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38950 wxWindow
*arg2
= (wxWindow
*) 0 ;
38951 int arg3
= (int) 0 ;
38952 PyObject
* obj0
= 0 ;
38953 PyObject
* obj1
= 0 ;
38954 PyObject
* obj2
= 0 ;
38955 char *kwnames
[] = {
38956 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38965 arg3
= (int) SWIG_AsInt(obj2
);
38966 if (PyErr_Occurred()) SWIG_fail
;
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 (arg1
)->LeftOf(arg2
,arg3
);
38972 wxPyEndAllowThreads(__tstate
);
38973 if (PyErr_Occurred()) SWIG_fail
;
38975 Py_INCREF(Py_None
); resultobj
= Py_None
;
38982 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38983 PyObject
*resultobj
;
38984 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38985 wxWindow
*arg2
= (wxWindow
*) 0 ;
38986 int arg3
= (int) 0 ;
38987 PyObject
* obj0
= 0 ;
38988 PyObject
* obj1
= 0 ;
38989 PyObject
* obj2
= 0 ;
38990 char *kwnames
[] = {
38991 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39000 arg3
= (int) SWIG_AsInt(obj2
);
39001 if (PyErr_Occurred()) SWIG_fail
;
39004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39005 (arg1
)->RightOf(arg2
,arg3
);
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39010 Py_INCREF(Py_None
); resultobj
= Py_None
;
39017 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39018 PyObject
*resultobj
;
39019 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39020 wxWindow
*arg2
= (wxWindow
*) 0 ;
39021 int arg3
= (int) 0 ;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39024 PyObject
* obj2
= 0 ;
39025 char *kwnames
[] = {
39026 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39035 arg3
= (int) SWIG_AsInt(obj2
);
39036 if (PyErr_Occurred()) SWIG_fail
;
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39040 (arg1
)->Above(arg2
,arg3
);
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39045 Py_INCREF(Py_None
); resultobj
= Py_None
;
39052 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39053 PyObject
*resultobj
;
39054 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39055 wxWindow
*arg2
= (wxWindow
*) 0 ;
39056 int arg3
= (int) 0 ;
39057 PyObject
* obj0
= 0 ;
39058 PyObject
* obj1
= 0 ;
39059 PyObject
* obj2
= 0 ;
39060 char *kwnames
[] = {
39061 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39070 arg3
= (int) SWIG_AsInt(obj2
);
39071 if (PyErr_Occurred()) SWIG_fail
;
39074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39075 (arg1
)->Below(arg2
,arg3
);
39077 wxPyEndAllowThreads(__tstate
);
39078 if (PyErr_Occurred()) SWIG_fail
;
39080 Py_INCREF(Py_None
); resultobj
= Py_None
;
39087 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39088 PyObject
*resultobj
;
39089 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39090 wxWindow
*arg2
= (wxWindow
*) 0 ;
39092 int arg4
= (int) 0 ;
39093 PyObject
* obj0
= 0 ;
39094 PyObject
* obj1
= 0 ;
39095 PyObject
* obj2
= 0 ;
39096 PyObject
* obj3
= 0 ;
39097 char *kwnames
[] = {
39098 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39106 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39107 if (PyErr_Occurred()) SWIG_fail
;
39109 arg4
= (int) SWIG_AsInt(obj3
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39116 wxPyEndAllowThreads(__tstate
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39119 Py_INCREF(Py_None
); resultobj
= Py_None
;
39126 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39127 PyObject
*resultobj
;
39128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39129 wxWindow
*arg2
= (wxWindow
*) 0 ;
39132 PyObject
* obj0
= 0 ;
39133 PyObject
* obj1
= 0 ;
39134 PyObject
* obj2
= 0 ;
39135 PyObject
* obj3
= 0 ;
39136 char *kwnames
[] = {
39137 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39145 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39147 arg4
= (int) SWIG_AsInt(obj3
);
39148 if (PyErr_Occurred()) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 Py_INCREF(Py_None
); resultobj
= Py_None
;
39163 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39167 PyObject
* obj0
= 0 ;
39168 PyObject
* obj1
= 0 ;
39169 char *kwnames
[] = {
39170 (char *) "self",(char *) "val", NULL
39173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39176 arg2
= (int) SWIG_AsInt(obj1
);
39177 if (PyErr_Occurred()) SWIG_fail
;
39179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39180 (arg1
)->Absolute(arg2
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 Py_INCREF(Py_None
); resultobj
= Py_None
;
39192 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39193 PyObject
*resultobj
;
39194 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 (arg1
)->Unconstrained();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39210 Py_INCREF(Py_None
); resultobj
= Py_None
;
39217 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
;
39219 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39220 PyObject
* obj0
= 0 ;
39221 char *kwnames
[] = {
39222 (char *) "self", NULL
39225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39235 Py_INCREF(Py_None
); resultobj
= Py_None
;
39242 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39243 PyObject
*resultobj
;
39244 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39246 PyObject
* obj0
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39256 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39262 resultobj
= wxPyMake_wxObject(result
);
39270 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39271 PyObject
*resultobj
;
39272 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39274 PyObject
* obj0
= 0 ;
39275 char *kwnames
[] = {
39276 (char *) "self", NULL
39279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39284 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39286 wxPyEndAllowThreads(__tstate
);
39287 if (PyErr_Occurred()) SWIG_fail
;
39289 resultobj
= SWIG_FromInt((int)result
);
39296 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39297 PyObject
*resultobj
;
39298 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39300 PyObject
* obj0
= 0 ;
39301 PyObject
* obj1
= 0 ;
39302 char *kwnames
[] = {
39303 (char *) "self",(char *) "which", NULL
39306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39309 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39310 if (PyErr_Occurred()) SWIG_fail
;
39312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39313 (arg1
)->SetEdge((wxEdge
)arg2
);
39315 wxPyEndAllowThreads(__tstate
);
39316 if (PyErr_Occurred()) SWIG_fail
;
39318 Py_INCREF(Py_None
); resultobj
= Py_None
;
39325 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39326 PyObject
*resultobj
;
39327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39329 PyObject
* obj0
= 0 ;
39330 PyObject
* obj1
= 0 ;
39331 char *kwnames
[] = {
39332 (char *) "self",(char *) "v", NULL
39335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39338 arg2
= (int) SWIG_AsInt(obj1
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 (arg1
)->SetValue(arg2
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 Py_INCREF(Py_None
); resultobj
= Py_None
;
39354 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
;
39356 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39358 PyObject
* obj0
= 0 ;
39359 char *kwnames
[] = {
39360 (char *) "self", NULL
39363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39368 result
= (int)(arg1
)->GetMargin();
39370 wxPyEndAllowThreads(__tstate
);
39371 if (PyErr_Occurred()) SWIG_fail
;
39373 resultobj
= SWIG_FromInt((int)result
);
39380 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39381 PyObject
*resultobj
;
39382 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39384 PyObject
* obj0
= 0 ;
39385 PyObject
* obj1
= 0 ;
39386 char *kwnames
[] = {
39387 (char *) "self",(char *) "m", NULL
39390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39393 arg2
= (int) SWIG_AsInt(obj1
);
39394 if (PyErr_Occurred()) SWIG_fail
;
39396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39397 (arg1
)->SetMargin(arg2
);
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39402 Py_INCREF(Py_None
); resultobj
= Py_None
;
39409 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39410 PyObject
*resultobj
;
39411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39413 PyObject
* obj0
= 0 ;
39414 char *kwnames
[] = {
39415 (char *) "self", NULL
39418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39423 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39425 wxPyEndAllowThreads(__tstate
);
39426 if (PyErr_Occurred()) SWIG_fail
;
39428 resultobj
= SWIG_FromInt((int)result
);
39435 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39436 PyObject
*resultobj
;
39437 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39439 PyObject
* obj0
= 0 ;
39440 char *kwnames
[] = {
39441 (char *) "self", NULL
39444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_FromInt((int)result
);
39461 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39462 PyObject
*resultobj
;
39463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39465 PyObject
* obj0
= 0 ;
39466 char *kwnames
[] = {
39467 (char *) "self", NULL
39470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39475 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39477 wxPyEndAllowThreads(__tstate
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39480 resultobj
= SWIG_FromInt((int)result
);
39487 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39488 PyObject
*resultobj
;
39489 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39491 PyObject
* obj0
= 0 ;
39492 char *kwnames
[] = {
39493 (char *) "self", NULL
39496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39503 wxPyEndAllowThreads(__tstate
);
39504 if (PyErr_Occurred()) SWIG_fail
;
39507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39515 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39516 PyObject
*resultobj
;
39517 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39519 PyObject
* obj0
= 0 ;
39520 PyObject
* obj1
= 0 ;
39521 char *kwnames
[] = {
39522 (char *) "self",(char *) "d", NULL
39525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39528 arg2
= (bool) SWIG_AsBool(obj1
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 (arg1
)->SetDone(arg2
);
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 Py_INCREF(Py_None
); resultobj
= Py_None
;
39544 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39545 PyObject
*resultobj
;
39546 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39548 PyObject
* obj0
= 0 ;
39549 char *kwnames
[] = {
39550 (char *) "self", NULL
39553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39558 result
= (int)(arg1
)->GetRelationship();
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= SWIG_FromInt((int)result
);
39570 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
;
39572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39574 PyObject
* obj0
= 0 ;
39575 PyObject
* obj1
= 0 ;
39576 char *kwnames
[] = {
39577 (char *) "self",(char *) "r", NULL
39580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39583 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39584 if (PyErr_Occurred()) SWIG_fail
;
39586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39587 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39592 Py_INCREF(Py_None
); resultobj
= Py_None
;
39599 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39600 PyObject
*resultobj
;
39601 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39602 wxWindow
*arg2
= (wxWindow
*) 0 ;
39604 PyObject
* obj0
= 0 ;
39605 PyObject
* obj1
= 0 ;
39606 char *kwnames
[] = {
39607 (char *) "self",(char *) "otherW", NULL
39610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39617 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39631 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39632 PyObject
*resultobj
;
39633 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39634 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39635 wxWindow
*arg3
= (wxWindow
*) 0 ;
39637 PyObject
* obj0
= 0 ;
39638 PyObject
* obj1
= 0 ;
39639 PyObject
* obj2
= 0 ;
39640 char *kwnames
[] = {
39641 (char *) "self",(char *) "constraints",(char *) "win", NULL
39644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39649 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39667 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39668 PyObject
*resultobj
;
39669 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39671 wxWindow
*arg3
= (wxWindow
*) 0 ;
39672 wxWindow
*arg4
= (wxWindow
*) 0 ;
39674 PyObject
* obj0
= 0 ;
39675 PyObject
* obj1
= 0 ;
39676 PyObject
* obj2
= 0 ;
39677 PyObject
* obj3
= 0 ;
39678 char *kwnames
[] = {
39679 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39685 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39686 if (PyErr_Occurred()) SWIG_fail
;
39687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39689 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39693 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39695 wxPyEndAllowThreads(__tstate
);
39696 if (PyErr_Occurred()) SWIG_fail
;
39698 resultobj
= SWIG_FromInt((int)result
);
39705 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39708 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39710 return Py_BuildValue((char *)"");
39712 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39715 wxIndividualLayoutConstraint
*result
;
39716 PyObject
* obj0
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "self", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39724 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39733 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
;
39735 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39736 wxIndividualLayoutConstraint
*result
;
39737 PyObject
* obj0
= 0 ;
39738 char *kwnames
[] = {
39739 (char *) "self", NULL
39742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39745 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39754 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39755 PyObject
*resultobj
;
39756 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39757 wxIndividualLayoutConstraint
*result
;
39758 PyObject
* obj0
= 0 ;
39759 char *kwnames
[] = {
39760 (char *) "self", NULL
39763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39766 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39775 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39776 PyObject
*resultobj
;
39777 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39778 wxIndividualLayoutConstraint
*result
;
39779 PyObject
* obj0
= 0 ;
39780 char *kwnames
[] = {
39781 (char *) "self", NULL
39784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39787 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39796 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39797 PyObject
*resultobj
;
39798 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39799 wxIndividualLayoutConstraint
*result
;
39800 PyObject
* obj0
= 0 ;
39801 char *kwnames
[] = {
39802 (char *) "self", NULL
39805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39808 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39817 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39818 PyObject
*resultobj
;
39819 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39820 wxIndividualLayoutConstraint
*result
;
39821 PyObject
* obj0
= 0 ;
39822 char *kwnames
[] = {
39823 (char *) "self", NULL
39826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39829 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39838 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39839 PyObject
*resultobj
;
39840 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39841 wxIndividualLayoutConstraint
*result
;
39842 PyObject
* obj0
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39850 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39859 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39862 wxIndividualLayoutConstraint
*result
;
39863 PyObject
* obj0
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39880 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxLayoutConstraints
*result
;
39883 char *kwnames
[] = {
39887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39890 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39892 wxPyEndAllowThreads(__tstate
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39902 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39903 PyObject
*resultobj
;
39904 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39905 wxWindow
*arg2
= (wxWindow
*) 0 ;
39906 int *arg3
= (int *) 0 ;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 char *kwnames
[] = {
39912 (char *) "self",(char *) "win", NULL
39916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39923 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39932 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39933 resultobj
= t_output_helper(resultobj
,o
);
39941 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39942 PyObject
*resultobj
;
39943 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39945 PyObject
* obj0
= 0 ;
39946 char *kwnames
[] = {
39947 (char *) "self", NULL
39950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39969 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39972 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39974 return Py_BuildValue((char *)"");
39976 static PyMethodDef SwigMethods
[] = {
39977 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39978 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39979 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39982 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40003 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40016 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40031 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40082 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40110 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40128 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40130 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40138 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40139 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40151 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40162 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40167 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40173 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40183 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40193 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40197 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40267 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40270 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40272 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40274 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40276 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40278 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40280 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40282 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40284 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40286 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40288 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40290 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40304 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40322 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40325 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40328 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40340 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40345 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40351 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40357 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40419 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40426 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40461 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40471 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40481 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40483 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40485 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40488 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40492 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40495 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40498 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40500 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40505 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40513 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40517 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40520 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40522 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40526 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40543 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40545 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40548 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40550 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40554 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40558 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40566 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40569 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40572 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40576 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40583 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40588 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40593 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40637 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40654 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40658 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40668 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40717 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40718 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40822 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40858 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40872 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40875 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40930 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40957 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40986 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40994 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41011 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41012 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41047 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41076 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41079 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41085 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41090 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41102 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41116 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41126 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41136 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41145 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41149 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41155 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41156 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41157 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41158 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41159 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41165 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41166 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41193 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41209 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41211 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41212 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41214 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41215 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41217 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41218 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41220 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41221 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41223 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41224 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41226 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41227 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41229 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41230 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41232 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41233 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41235 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41238 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41239 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41241 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41242 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41244 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41245 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41247 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41248 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41250 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41251 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41253 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41254 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41256 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41259 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41260 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41262 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41263 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41265 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41266 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41268 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41271 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41272 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41274 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41275 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41277 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41278 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41280 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41281 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41283 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41284 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41286 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41287 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41289 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41290 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41292 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41293 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41295 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41298 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41299 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41301 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41302 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41304 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41305 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41307 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41308 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41310 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41311 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41313 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41314 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41316 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41319 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41320 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41322 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41323 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41325 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41328 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41331 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41332 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41334 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41335 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41337 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41338 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41340 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41341 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41343 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41344 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41346 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41347 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41349 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41350 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41352 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41353 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41355 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41356 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41358 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41359 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41361 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41364 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41365 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41367 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41368 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41370 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41371 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41373 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41376 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41377 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41379 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41380 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41382 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41383 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41385 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41386 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41388 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41389 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41391 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41392 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41394 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41395 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41397 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41398 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41400 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41401 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41403 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41404 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41406 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41407 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41409 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41410 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41412 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41413 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41415 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41416 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41418 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41419 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41421 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41422 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41424 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41425 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41427 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41428 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41430 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41431 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41433 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41434 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41436 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41437 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41439 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41440 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41442 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41443 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41445 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41446 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41448 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41451 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41452 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41454 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41455 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41457 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41458 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41460 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41461 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41463 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41466 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41469 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41470 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41472 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41473 return (void *)((wxObject
*) ((wxSizer
*) x
));
41475 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41476 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41478 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41479 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41481 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41482 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41484 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41485 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41487 static void *_p_wxImageTo_p_wxObject(void *x
) {
41488 return (void *)((wxObject
*) ((wxImage
*) x
));
41490 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41493 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41496 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41497 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41499 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41500 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41502 static void *_p_wxControlTo_p_wxObject(void *x
) {
41503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41505 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41506 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41508 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41509 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41511 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41514 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41517 static void *_p_wxEventTo_p_wxObject(void *x
) {
41518 return (void *)((wxObject
*) ((wxEvent
*) x
));
41520 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41521 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41523 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41524 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41526 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41527 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41529 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41530 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41532 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41533 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41535 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41536 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41538 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41541 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41542 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41544 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41547 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41548 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41550 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41553 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41554 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41556 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41559 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41560 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41562 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41565 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41568 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41571 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41574 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41577 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41580 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41583 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41586 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41587 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41589 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41590 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41592 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41595 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41596 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41598 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41599 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41601 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41602 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41604 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41605 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41607 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41608 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41610 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41611 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41613 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41616 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41617 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41619 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41620 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41622 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41623 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41625 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41626 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41628 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41629 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41631 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41632 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41634 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41635 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41637 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41640 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41641 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41643 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41644 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41646 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41649 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41650 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41652 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41653 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41655 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41656 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41658 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41659 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41661 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41662 return (void *)((wxWindow
*) ((wxControl
*) x
));
41664 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41665 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41667 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41668 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41670 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41671 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41673 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41674 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41676 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41677 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41679 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41680 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41682 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41683 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41685 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41686 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41688 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41689 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41691 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41692 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41694 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41695 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41697 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41698 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41699 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41700 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41701 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41702 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41703 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41704 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41705 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41706 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41707 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41708 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41709 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41710 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41711 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41712 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41713 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41714 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41715 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41716 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41717 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41718 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41719 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41720 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41721 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41722 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41723 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41724 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41725 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41726 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41727 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41728 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41729 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41730 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41731 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41732 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41733 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41734 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41735 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41736 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41737 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41738 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41739 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41740 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41741 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41742 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41743 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41744 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41745 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41746 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41747 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41748 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41749 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41750 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41751 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41752 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41753 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41754 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41755 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41756 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41757 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41758 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41759 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41760 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41761 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41762 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41763 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41764 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41765 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41766 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41767 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41768 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41769 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41770 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41771 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41772 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41773 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41774 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41775 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41776 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41777 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41778 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41779 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41780 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41781 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41782 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41783 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41784 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41785 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41786 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41787 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41788 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41789 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41790 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41791 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41792 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41793 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41794 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41795 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41796 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41797 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41798 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41799 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41800 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41801 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41802 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41803 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41804 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41805 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41806 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41807 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41808 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41809 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41810 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41811 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41813 static swig_type_info
*swig_types_initial
[] = {
41814 _swigt__p_wxLayoutConstraints
,
41815 _swigt__p_wxRealPoint
,
41816 _swigt__p_wxSizerItem
,
41817 _swigt__p_wxGBSizerItem
,
41818 _swigt__p_wxScrollEvent
,
41819 _swigt__p_wxIndividualLayoutConstraint
,
41821 _swigt__p_wxBoxSizer
,
41822 _swigt__p_wxStaticBoxSizer
,
41823 _swigt__p_wxGridBagSizer
,
41824 _swigt__p_wxAcceleratorEntry
,
41825 _swigt__p_wxUpdateUIEvent
,
41828 _swigt__p_wxGridSizer
,
41829 _swigt__p_wxFlexGridSizer
,
41830 _swigt__p_wxInitDialogEvent
,
41831 _swigt__p_wxItemContainer
,
41832 _swigt__p_wxNcPaintEvent
,
41833 _swigt__p_wxPaintEvent
,
41834 _swigt__p_wxSysColourChangedEvent
,
41835 _swigt__p_wxMouseCaptureChangedEvent
,
41836 _swigt__p_wxDisplayChangedEvent
,
41837 _swigt__p_wxPaletteChangedEvent
,
41838 _swigt__p_wxControl
,
41840 _swigt__p_wxMenuBarBase
,
41841 _swigt__p_wxSetCursorEvent
,
41842 _swigt__p_wxFSFile
,
41844 _swigt__p_wxRegion
,
41845 _swigt__p_wxPoint2D
,
41849 _swigt__p_wxPySizer
,
41850 _swigt__p_wxVisualAttributes
,
41851 _swigt__p_wxNotifyEvent
,
41852 _swigt__p_wxPyEvent
,
41853 _swigt__p_wxPropagationDisabler
,
41854 _swigt__p_wxAppTraits
,
41855 _swigt__p_wxArrayString
,
41856 _swigt__p_wxShowEvent
,
41857 _swigt__p_wxToolTip
,
41858 _swigt__p_wxMaximizeEvent
,
41859 _swigt__p_wxIconizeEvent
,
41860 _swigt__p_wxActivateEvent
,
41861 _swigt__p_wxMoveEvent
,
41862 _swigt__p_wxSizeEvent
,
41863 _swigt__p_wxQueryNewPaletteEvent
,
41864 _swigt__p_wxWindowCreateEvent
,
41865 _swigt__p_wxIdleEvent
,
41866 _swigt__p_wxMenuItem
,
41867 _swigt__p_wxStaticBox
,
41869 _swigt__p_wxTIFFHandler
,
41870 _swigt__p_wxXPMHandler
,
41871 _swigt__p_wxPNMHandler
,
41872 _swigt__p_wxJPEGHandler
,
41873 _swigt__p_wxPCXHandler
,
41874 _swigt__p_wxGIFHandler
,
41875 _swigt__p_wxPNGHandler
,
41876 _swigt__p_wxANIHandler
,
41877 _swigt__p_wxMemoryFSHandler
,
41878 _swigt__p_wxEvtHandler
,
41879 _swigt__p_wxCURHandler
,
41880 _swigt__p_wxICOHandler
,
41881 _swigt__p_wxBMPHandler
,
41882 _swigt__p_wxImageHandler
,
41883 _swigt__p_wxFileSystemHandler
,
41884 _swigt__p_wxPyFileSystemHandler
,
41885 _swigt__p_wxInternetFSHandler
,
41886 _swigt__p_wxZipFSHandler
,
41888 _swigt__p_wxGBSpan
,
41889 _swigt__p_wxPropagateOnce
,
41890 _swigt__p_wxAcceleratorTable
,
41892 _swigt__p_wxGBPosition
,
41895 _swigt__p_wxScrollWinEvent
,
41896 _swigt__p_wxImageHistogram
,
41899 _swigt__p_wxCursor
,
41900 _swigt__p_wxObject
,
41901 _swigt__p_wxPyInputStream
,
41902 _swigt__p_wxOutputStream
,
41903 _swigt__p_wxInputStream
,
41904 _swigt__p_wxDateTime
,
41905 _swigt__p_wxKeyEvent
,
41906 _swigt__p_wxNavigationKeyEvent
,
41907 _swigt__p_wxWindowDestroyEvent
,
41908 _swigt__p_wxWindow
,
41909 _swigt__p_wxMenuBar
,
41910 _swigt__p_wxFileSystem
,
41911 _swigt__p_wxBitmap
,
41912 _swigt__p_wxMenuEvent
,
41913 _swigt__p_wxContextMenuEvent
,
41914 _swigt__p_unsigned_char
,
41915 _swigt__p_wxCloseEvent
,
41916 _swigt__p_wxEraseEvent
,
41917 _swigt__p_wxMouseEvent
,
41919 _swigt__p_wxCommandEvent
,
41920 _swigt__p_wxPyCommandEvent
,
41921 _swigt__p_wxPyDropTarget
,
41922 _swigt__p_wxChildFocusEvent
,
41923 _swigt__p_wxFocusEvent
,
41924 _swigt__p_wxDropFilesEvent
,
41925 _swigt__p_wxControlWithItems
,
41926 _swigt__p_wxColour
,
41927 _swigt__p_wxValidator
,
41928 _swigt__p_wxPyValidator
,
41933 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41935 static swig_const_info swig_const_table
[] = {
41945 SWIGEXPORT(void) SWIG_init(void) {
41946 static PyObject
*SWIG_globals
= 0;
41947 static int typeinit
= 0;
41950 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41951 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41952 d
= PyModule_GetDict(m
);
41955 for (i
= 0; swig_types_initial
[i
]; i
++) {
41956 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41960 SWIG_InstallConstants(d
,swig_const_table
);
41963 #ifndef wxPyUSE_EXPORT
41964 // Make our API structure a CObject so other modules can import it
41965 // from this module.
41966 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41967 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41971 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41972 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41973 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41974 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41975 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41976 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41977 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41978 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41979 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41980 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41981 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41982 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41983 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41984 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41985 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41986 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41987 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41988 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41989 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41990 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41991 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41992 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41993 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41994 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41995 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41996 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41997 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41998 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41999 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
42000 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
42001 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
42002 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
42003 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
42004 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
42005 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
42006 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
42007 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
42008 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
42009 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
42010 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
42011 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
42012 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
42013 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
42014 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42015 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42016 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42017 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42018 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42019 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42020 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42021 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42022 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42023 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42024 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42025 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42026 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42027 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42028 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42029 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42030 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42031 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42032 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42033 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42034 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42035 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42036 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42037 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42038 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42039 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42040 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42041 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42042 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42043 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42044 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42045 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42046 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42047 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42048 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42049 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42050 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42051 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42052 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42053 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42054 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42055 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42056 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42057 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42058 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42059 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42060 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42061 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42062 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42063 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42064 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42065 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42066 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42067 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42068 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42069 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42070 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42071 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42072 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42073 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42074 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42075 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42076 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42077 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42078 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42079 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42080 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42081 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42082 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42083 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42084 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42085 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42086 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42087 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42088 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42089 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42090 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42091 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42092 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42093 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42094 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42095 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42096 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42097 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42098 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42099 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42100 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42101 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42102 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42103 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42104 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42105 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42106 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42107 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42108 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42109 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42110 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42111 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42112 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42113 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42114 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42115 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42116 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42117 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42118 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42119 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42120 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42121 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42122 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42123 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42124 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42125 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42126 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42127 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42128 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42129 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42130 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42131 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42132 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42133 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42134 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42135 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42136 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42137 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42138 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42139 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42140 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42141 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42142 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42143 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42144 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42145 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42146 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42147 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42148 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42149 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42150 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42151 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42152 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42153 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42154 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42155 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42156 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42157 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42158 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42159 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42160 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42161 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42162 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42163 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42164 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42165 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42166 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42167 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42168 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42169 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42170 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42171 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42172 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42173 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42174 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42175 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42176 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42177 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42178 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42179 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42180 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42181 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42182 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42183 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42184 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42185 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42186 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42187 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42188 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42189 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42190 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42191 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42192 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42193 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42194 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42195 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42196 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42197 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42198 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42199 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42200 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42201 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42202 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42203 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42204 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42205 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42206 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42207 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42208 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42209 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42210 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42211 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42212 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42213 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42214 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42215 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42216 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42217 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42218 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42219 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42220 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42221 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42222 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42223 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42224 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42225 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42226 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42227 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42228 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42229 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42230 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42231 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42232 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42233 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42234 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42235 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42236 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42237 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42238 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42239 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42240 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42241 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42242 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42243 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42244 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42245 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42246 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42247 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42248 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42249 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42250 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42251 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42252 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42253 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42254 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42255 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42256 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42257 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42258 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42259 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42260 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42261 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42262 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42263 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42264 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42265 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42266 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42267 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42268 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42269 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42270 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42271 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42272 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42273 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42274 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42275 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42276 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42277 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42278 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42279 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42280 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42281 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42282 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42283 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42284 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42285 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42286 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42287 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42288 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42289 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42290 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42291 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42292 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42293 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42294 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42295 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42296 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42297 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42298 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42299 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42300 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42301 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42302 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42303 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42304 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42305 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42306 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42307 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42308 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42309 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42310 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42311 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42312 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42313 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42314 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42315 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42316 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42317 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42318 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42319 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42320 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42321 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42322 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42323 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42324 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42325 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42326 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42327 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42328 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42329 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42330 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42331 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42332 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42333 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42334 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42335 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42336 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42337 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42338 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42339 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42340 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42341 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42342 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42343 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42344 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42345 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42346 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42347 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42348 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42349 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42350 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42351 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42352 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42353 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42354 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42355 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42356 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42357 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42358 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42359 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42360 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42361 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42362 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42363 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42364 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42365 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42366 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42367 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42368 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42369 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42370 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42371 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42372 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42373 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42374 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42375 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42376 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42377 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42378 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42379 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42380 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42381 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42382 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42383 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42384 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42385 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42386 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42387 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42388 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42389 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42390 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42391 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42392 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42393 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42394 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42395 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42396 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42397 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42398 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42399 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42400 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42401 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42402 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42403 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42404 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42405 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42406 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42407 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42408 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42409 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42410 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42411 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42412 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42413 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42414 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42415 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42416 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42417 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42418 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42419 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42420 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42421 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42422 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42423 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42424 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42425 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42426 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42427 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42428 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42429 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42430 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42431 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42432 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42433 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42434 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42435 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42436 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42437 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42438 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42439 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42440 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42441 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42442 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42443 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42444 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42445 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42446 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42447 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42448 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42449 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42450 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42451 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42452 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42453 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42454 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42455 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42456 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42457 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42458 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42459 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42460 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42461 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42462 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42463 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42464 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42465 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42466 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42467 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42468 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42469 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42470 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42471 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42472 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42473 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42474 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42475 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42476 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42477 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42478 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42479 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42480 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42481 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42482 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42483 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42484 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42485 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42486 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42487 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42488 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42489 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42490 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42491 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42492 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42493 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42494 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42495 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42496 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42497 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42498 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42499 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42500 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42501 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42502 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42503 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42504 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42505 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42506 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42507 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42508 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42509 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42510 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42511 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42512 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42513 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42514 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42515 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42516 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42517 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42518 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42519 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42520 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42521 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42522 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42523 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42524 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42525 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42526 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42527 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42528 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42529 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42530 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42531 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42532 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42533 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42534 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42535 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42536 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42537 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42538 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42539 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42540 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42541 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42542 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42543 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42544 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42545 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42546 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42547 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42548 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42549 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42550 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42551 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42552 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42553 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42554 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42555 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42556 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42557 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42558 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42559 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42560 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42561 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42562 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42563 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42564 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42565 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42566 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42567 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42569 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42572 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42574 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42575 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42576 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42577 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42578 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42579 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42580 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42581 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42582 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42583 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42584 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42585 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42586 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42587 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42588 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42589 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42590 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42591 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42592 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42593 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42594 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42595 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42596 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42597 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42598 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42599 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42600 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42601 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42602 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42604 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42605 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42606 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42607 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42608 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42609 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42610 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42611 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42612 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42613 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42614 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42615 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42616 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42617 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42618 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42619 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42620 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42621 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42622 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42623 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42624 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42625 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42626 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42627 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42628 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42629 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42630 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42631 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42632 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42633 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42634 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42635 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42636 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42637 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42638 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42639 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42640 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42641 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42642 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42643 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42644 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42645 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42646 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42647 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42648 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42649 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42650 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42651 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42652 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42653 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42654 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42655 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42656 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42657 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42658 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42659 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42660 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42661 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42662 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42663 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42664 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42665 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42666 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42667 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42668 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42669 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42670 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42671 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42672 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42673 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42674 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42675 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42676 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42677 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42678 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42679 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42680 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42681 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42682 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42683 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42684 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42685 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42686 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42687 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42688 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42689 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42690 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42691 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42692 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42693 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42694 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42695 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42696 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42697 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42698 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42699 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42702 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42703 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42704 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42705 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42706 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42707 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42708 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42709 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42710 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42711 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42712 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42713 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42714 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42715 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42716 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42717 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42718 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42719 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42720 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42721 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42722 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42723 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42724 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42725 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42726 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42727 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42728 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42729 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42730 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42731 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42732 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42733 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42734 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42735 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42736 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42737 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42738 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42739 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42740 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42741 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42742 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42743 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42744 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42745 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42746 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42747 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42748 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42749 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42750 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42751 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42752 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42753 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42755 // Initialize threading, some globals and such
42759 // Although these are defined in __version__ they need to be here too so
42760 // that an assert can be done to ensure that the wxPython and the wxWindows
42762 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42763 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42764 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));