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 /*-----------------------------------------------
330 @(target):= _core_.so
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,
497 // even if 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__SWIG_0(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage__SWIG_1(wxSize
const &size
,bool clear
){
1104 return new wxImage(size
.x
, size
.y
, clear
);
1106 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1107 return new wxImage(bitmap
.ConvertToImage());
1109 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1116 memcpy(copy
, data
, width
*height
*3);
1117 return new wxImage(width
, height
, copy
, False
);
1119 wxSize
wxImage_GetSize(wxImage
*self
){
1120 wxSize
size(self
->GetWidth(), self
->GetHeight());
1123 PyObject
*wxImage_GetData(wxImage
*self
){
1124 unsigned char* data
= self
->GetData();
1125 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1127 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1130 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1131 unsigned char* dataPtr
;
1133 if (! PyString_Check(data
)) {
1134 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1138 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1139 dataPtr
= (unsigned char*) malloc(len
);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1141 self
->SetData(dataPtr
);
1142 // wxImage takes ownership of dataPtr...
1144 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1145 unsigned char* data
= self
->GetData();
1146 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1148 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1151 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1152 unsigned char* buffer
;
1155 bool blocked
= wxPyBeginBlockThreads();
1156 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1159 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1163 self
->SetData(buffer
);
1165 wxPyEndBlockThreads(blocked
);
1167 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1168 unsigned char* data
= self
->GetAlpha();
1172 int len
= self
->GetWidth() * self
->GetHeight();
1174 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1178 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1179 unsigned char* dataPtr
;
1181 if (! PyString_Check(data
)) {
1182 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1186 size_t len
= self
->GetWidth() * self
->GetHeight();
1187 dataPtr
= (unsigned char*) malloc(len
);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1189 self
->SetAlpha(dataPtr
);
1190 // wxImage takes ownership of dataPtr...
1192 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1193 unsigned char* data
= self
->GetAlpha();
1194 int len
= self
->GetWidth() * self
->GetHeight();
1196 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1199 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1200 unsigned char* buffer
;
1203 bool blocked
= wxPyBeginBlockThreads();
1204 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1207 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1211 self
->SetAlpha(buffer
);
1213 wxPyEndBlockThreads(blocked
);
1216 SWIGSTATICINLINE(int)
1217 SWIG_CheckUnsignedLong(PyObject
* obj
)
1219 SWIG_AsUnsignedLong(obj
);
1220 if (PyErr_Occurred()) {
1228 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1229 wxBitmap
bitmap(*self
);
1232 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1233 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1234 wxBitmap
bitmap( mono
, 1 );
1237 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1239 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1241 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1242 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1243 if (PyCallable_Check(func
)) {
1244 self
->Connect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1246 new wxPyCallback(func
));
1248 else if (func
== Py_None
) {
1249 self
->Disconnect(id
, lastId
, eventType
,
1250 (wxObjectEventFunction
)
1251 &wxPyCallback::EventThunker
);
1255 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1258 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1259 return self
->Disconnect(id
, lastId
, eventType
,
1260 (wxObjectEventFunction
)
1261 &wxPyCallback::EventThunker
);
1263 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1264 if (_self
&& _self
!= Py_None
) {
1265 self
->SetClientObject(new wxPyOORClientData(_self
));
1268 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1270 self
->SetClientObject(NULL
); // This will delete it too
1274 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1276 return self
->m_uniChar
;
1282 #if UINT_MAX < LONG_MAX
1283 #define SWIG_FromUnsignedInt SWIG_FromLong
1285 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1289 #if UINT_MAX != ULONG_MAX
1290 SWIGSTATICINLINE(unsigned int)
1291 SWIG_AsUnsignedInt(PyObject
*obj
)
1293 return swig_numeric_cast(unsigned int,
1294 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1295 "unsigned int", UINT_MAX
));
1298 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1302 SWIGSTATICINLINE(int)
1303 SWIG_CheckUnsignedInt(PyObject
* obj
)
1305 SWIG_AsUnsignedInt(obj
);
1306 if (PyErr_Occurred()) {
1314 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1315 self
->m_size
= size
;
1317 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1320 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1321 int count
= self
->GetNumberOfFiles();
1322 wxString
* files
= self
->GetFiles();
1323 PyObject
* list
= PyList_New(count
);
1326 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1330 for (int i
=0; i
<count
; i
++) {
1331 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1337 wxPyApp
*new_wxPyApp(){
1338 wxPythonApp
= new wxPyApp();
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxGetApp() {
1348 return (wxPyApp
*)wxTheApp
;
1353 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1354 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1355 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1356 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1357 wxWindowList
& list
= self
->GetChildren();
1358 return wxPy_ConvertList(&list
);
1360 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1362 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1367 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1374 long wxWindow_GetHandle(wxWindow
*self
){
1375 return wxPyGetWinHandle(self
);
1378 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1379 return wxWindow::FindWindowById(id
, parent
);
1382 wxWindow
* wxFindWindowByName( const wxString
& name
,
1383 const wxWindow
*parent
= NULL
) {
1384 return wxWindow::FindWindowByName(name
, parent
);
1387 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1388 const wxWindow
*parent
= NULL
) {
1389 return wxWindow::FindWindowByLabel(label
, parent
);
1394 #include <wx/msw/private.h> // to get wxGetWindowId
1398 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1400 WXHWND hWnd
= (WXHWND
)_hWnd
;
1401 long id
= wxGetWindowId(hWnd
);
1402 wxWindow
* win
= new wxWindow
;
1403 parent
->AddChild(win
);
1404 win
->SetEventHandler(win
);
1407 win
->SubclassWin(hWnd
);
1408 win
->AdoptAttributesFromHWND();
1409 win
->SetupColours();
1412 wxPyRaiseNotImplemented();
1418 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1419 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1420 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1422 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1424 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1425 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1426 wxMenuItemList
& list
= self
->GetMenuItems();
1427 return wxPy_ConvertList(&list
);
1429 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1430 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1432 wxPyClientData
* data
= new wxPyClientData(clientData
);
1433 return self
->Append(item
, data
);
1435 return self
->Append(item
);
1437 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1439 wxPyClientData
* data
= new wxPyClientData(clientData
);
1440 return self
->Insert(item
, pos
, data
);
1442 return self
->Insert(item
, pos
);
1444 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1445 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1447 Py_INCREF(data
->m_obj
);
1454 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1455 wxPyClientData
* data
= new wxPyClientData(clientData
);
1456 self
->SetClientObject(n
, data
);
1464 SWIG_FloatCast(double value
)
1467 if (!PyErr_Occurred()) {
1468 if (value
< FLT_MIN
) {
1470 PyString_FromFormat("value %g is less than float minimum %g",
1472 PyErr_SetObject(PyExc_OverflowError
, err
);
1474 } else if (value
> FLT_MAX
) {
1476 PyString_FromFormat("value %g is greater than float maximum %g",
1478 PyErr_SetObject(PyExc_OverflowError
, err
);
1481 f
= swig_numeric_cast(float, value
);
1488 SWIGSTATICINLINE(float)
1489 SWIG_AsFloat(PyObject
*obj
)
1491 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1495 SWIGSTATICINLINE(int)
1496 SWIG_CheckFloat(PyObject
* obj
)
1499 if (PyErr_Occurred()) {
1507 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1508 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1510 Py_INCREF(data
->m_obj
);
1518 // Figure out the type of the sizer item
1520 struct wxPySizerItemInfo
{
1522 : window(NULL
), sizer(NULL
), gotSize(False
),
1523 size(wxDefaultSize
), gotPos(False
), pos(-1)
1534 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1536 wxPySizerItemInfo info
;
1538 wxSize
* sizePtr
= &size
;
1540 // Find out what the type of the item is
1542 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1547 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1551 // try wxSize or (w,h)
1552 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1553 info
.size
= *sizePtr
;
1554 info
.gotSize
= True
;
1558 if (checkIdx
&& PyInt_Check(item
)) {
1559 info
.pos
= PyInt_AsLong(item
);
1565 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1566 // no expected type, figure out what kind of error message to generate
1567 if ( !checkSize
&& !checkIdx
)
1568 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1569 else if ( checkSize
&& !checkIdx
)
1570 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1571 else if ( !checkSize
&& checkIdx
)
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1574 // can this one happen?
1575 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1581 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1582 self
->SetClientObject(new wxPyOORClientData(_self
));
1584 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1586 wxPyUserData
* data
= NULL
;
1587 bool blocked
= wxPyBeginBlockThreads();
1588 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1589 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1590 data
= new wxPyUserData(userData
);
1591 wxPyEndBlockThreads(blocked
);
1593 // Now call the real Add method if a valid item type was found
1595 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1596 else if ( info
.sizer
)
1597 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1598 else if (info
.gotSize
)
1599 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1600 proportion
, flag
, border
, data
);
1602 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1604 wxPyUserData
* data
= NULL
;
1605 bool blocked
= wxPyBeginBlockThreads();
1606 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1607 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1608 data
= new wxPyUserData(userData
);
1609 wxPyEndBlockThreads(blocked
);
1611 // Now call the real Insert method if a valid item type was found
1613 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1614 else if ( info
.sizer
)
1615 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1616 else if (info
.gotSize
)
1617 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1618 proportion
, flag
, border
, data
);
1620 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1622 wxPyUserData
* data
= NULL
;
1623 bool blocked
= wxPyBeginBlockThreads();
1624 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1625 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1626 data
= new wxPyUserData(userData
);
1627 wxPyEndBlockThreads(blocked
);
1629 // Now call the real Prepend method if a valid item type was found
1631 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1632 else if ( info
.sizer
)
1633 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1634 else if (info
.gotSize
)
1635 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1636 proportion
, flag
, border
, data
);
1638 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1639 bool blocked
= wxPyBeginBlockThreads();
1640 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1641 wxPyEndBlockThreads(blocked
);
1643 return self
->Remove(info
.window
);
1644 else if ( info
.sizer
)
1645 return self
->Remove(info
.sizer
);
1646 else if ( info
.gotPos
)
1647 return self
->Remove(info
.pos
);
1651 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1652 bool blocked
= wxPyBeginBlockThreads();
1653 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1654 wxPyEndBlockThreads(blocked
);
1656 self
->SetItemMinSize(info
.window
, size
);
1657 else if ( info
.sizer
)
1658 self
->SetItemMinSize(info
.sizer
, size
);
1659 else if ( info
.gotPos
)
1660 self
->SetItemMinSize(info
.pos
, size
);
1662 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1663 wxSizerItemList
& list
= self
->GetChildren();
1664 return wxPy_ConvertList(&list
);
1666 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1667 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1669 self
->Show(info
.window
, show
);
1670 else if ( info
.sizer
)
1671 self
->Show(info
.sizer
, show
);
1673 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1674 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1676 self
->Hide(info
.window
);
1677 else if ( info
.sizer
)
1678 self
->Hide(info
.sizer
);
1680 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1681 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1683 return self
->IsShown(info
.window
);
1684 else if ( info
.sizer
)
1685 return self
->IsShown(info
.sizer
);
1691 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1692 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1693 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1698 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1700 if (source
== Py_None
) {
1701 **obj
= wxGBPosition(-1,-1);
1704 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1707 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1709 if (source
== Py_None
) {
1710 **obj
= wxGBSpan(-1,-1);
1713 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1717 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1721 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1722 bool blocked
= wxPyBeginBlockThreads();
1723 PyObject
* tup
= PyTuple_New(2);
1724 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1725 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1726 wxPyEndBlockThreads(blocked
);
1729 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1730 self
->SetRowspan(rowspan
);
1731 self
->SetColspan(colspan
);
1733 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1734 bool blocked
= wxPyBeginBlockThreads();
1735 PyObject
* tup
= PyTuple_New(2);
1736 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1737 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1738 wxPyEndBlockThreads(blocked
);
1741 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1743 wxPyUserData
* data
= NULL
;
1744 bool blocked
= wxPyBeginBlockThreads();
1745 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1746 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1747 data
= new wxPyUserData(userData
);
1748 wxPyEndBlockThreads(blocked
);
1750 // Now call the real Add method if a valid item type was found
1752 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1753 else if ( info
.sizer
)
1754 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1755 else if (info
.gotSize
)
1756 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1757 pos
, span
, flag
, border
, data
);
1765 static int _wrap_EmptyString_set(PyObject
*_val
) {
1766 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1771 static PyObject
*_wrap_EmptyString_get() {
1776 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1778 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1785 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxObject
*arg1
= (wxObject
*) 0 ;
1789 PyObject
* obj0
= 0 ;
1791 (char *) "self", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 result
= wxObject_GetClassName(arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1817 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxObject
*arg1
= (wxObject
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1822 (char *) "self", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 wxObject_Destroy(arg1
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1845 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1847 return Py_BuildValue((char *)"");
1849 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxSize
*arg1
= (wxSize
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1854 PyObject
* obj1
= 0 ;
1856 (char *) "self",(char *) "x", NULL
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 arg2
= (int) SWIG_AsInt(obj1
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1864 if (arg1
) (arg1
)->x
= arg2
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxSize
*arg1
= (wxSize
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 result
= (int) ((arg1
)->x
);
1887 resultobj
= SWIG_FromInt((int)result
);
1894 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxSize
*arg1
= (wxSize
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1901 (char *) "self",(char *) "y", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1907 arg2
= (int) SWIG_AsInt(obj1
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1909 if (arg1
) (arg1
)->y
= arg2
;
1911 Py_INCREF(Py_None
); resultobj
= Py_None
;
1918 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
*resultobj
;
1920 wxSize
*arg1
= (wxSize
*) 0 ;
1922 PyObject
* obj0
= 0 ;
1924 (char *) "self", NULL
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1930 result
= (int) ((arg1
)->y
);
1932 resultobj
= SWIG_FromInt((int)result
);
1939 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 int arg1
= (int) 0 ;
1942 int arg2
= (int) 0 ;
1944 PyObject
* obj0
= 0 ;
1945 PyObject
* obj1
= 0 ;
1947 (char *) "w",(char *) "h", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1952 arg1
= (int) SWIG_AsInt(obj0
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1956 arg2
= (int) SWIG_AsInt(obj1
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1973 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxSize
*arg1
= (wxSize
*) 0 ;
1976 PyObject
* obj0
= 0 ;
1978 (char *) "self", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 Py_INCREF(Py_None
); resultobj
= Py_None
;
1998 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxSize
*arg1
= (wxSize
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "sz", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2033 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxSize
*arg1
= (wxSize
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2040 PyObject
* obj1
= 0 ;
2042 (char *) "self",(char *) "sz", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2068 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxSize
*arg1
= (wxSize
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "sz", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2096 resultptr
= new wxSize((wxSize
&) result
);
2097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2105 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxSize
*arg1
= (wxSize
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 (char *) "self",(char *) "sz", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2133 resultptr
= new wxSize((wxSize
&) result
);
2134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2142 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxSize
*arg1
= (wxSize
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2148 PyObject
* obj1
= 0 ;
2150 (char *) "self",(char *) "sz", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 (arg1
)->IncTo((wxSize
const &)*arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxSize
*arg1
= (wxSize
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2180 PyObject
* obj1
= 0 ;
2182 (char *) "self",(char *) "sz", NULL
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 (arg1
)->DecTo((wxSize
const &)*arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxSize
*arg1
= (wxSize
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2213 PyObject
* obj2
= 0 ;
2215 (char *) "self",(char *) "w",(char *) "h", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 arg2
= (int) SWIG_AsInt(obj1
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2223 arg3
= (int) SWIG_AsInt(obj2
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->Set(arg2
,arg3
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxSize
*arg1
= (wxSize
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2244 PyObject
* obj1
= 0 ;
2246 (char *) "self",(char *) "w", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 arg2
= (int) SWIG_AsInt(obj1
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 (arg1
)->SetWidth(arg2
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 Py_INCREF(Py_None
); resultobj
= Py_None
;
2268 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxSize
*arg1
= (wxSize
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 (char *) "self",(char *) "h", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 arg2
= (int) SWIG_AsInt(obj1
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->SetHeight(arg2
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxSize
*arg1
= (wxSize
*) 0 ;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "self", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= SWIG_FromInt((int)result
);
2323 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxSize
*arg1
= (wxSize
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_FromInt((int)result
);
2349 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxSize
*arg1
= (wxSize
*) 0 ;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "self", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2377 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxSize
*arg1
= (wxSize
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "size", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 Py_INCREF(Py_None
); resultobj
= Py_None
;
2409 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxSize
*arg1
= (wxSize
*) 0 ;
2413 PyObject
* obj0
= 0 ;
2415 (char *) "self", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (PyObject
*)wxSize_Get(arg1
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2435 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2438 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2440 return Py_BuildValue((char *)"");
2442 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2446 PyObject
* obj0
= 0 ;
2447 PyObject
* obj1
= 0 ;
2449 (char *) "self",(char *) "x", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2455 arg2
= (double) SWIG_AsDouble(obj1
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2457 if (arg1
) (arg1
)->x
= arg2
;
2459 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2468 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2478 result
= (double) ((arg1
)->x
);
2480 resultobj
= SWIG_FromDouble((double)result
);
2487 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "y", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2500 arg2
= (double) SWIG_AsDouble(obj1
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2502 if (arg1
) (arg1
)->y
= arg2
;
2504 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "self", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 result
= (double) ((arg1
)->y
);
2525 resultobj
= SWIG_FromDouble((double)result
);
2532 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 double arg1
= (double) 0.0 ;
2535 double arg2
= (double) 0.0 ;
2536 wxRealPoint
*result
;
2537 PyObject
* obj0
= 0 ;
2538 PyObject
* obj1
= 0 ;
2540 (char *) "x",(char *) "y", NULL
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2545 arg1
= (double) SWIG_AsDouble(obj0
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 arg2
= (double) SWIG_AsDouble(obj1
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2566 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2569 PyObject
* obj0
= 0 ;
2571 (char *) "self", NULL
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2594 wxRealPoint
*arg2
= 0 ;
2597 PyObject
* obj0
= 0 ;
2598 PyObject
* obj1
= 0 ;
2600 (char *) "self",(char *) "pt", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2626 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
*resultobj
;
2628 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2629 wxRealPoint
*arg2
= 0 ;
2632 PyObject
* obj0
= 0 ;
2633 PyObject
* obj1
= 0 ;
2635 (char *) "self",(char *) "pt", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2643 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2661 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2664 wxRealPoint
*arg2
= 0 ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 (char *) "self",(char *) "pt", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2678 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 wxRealPoint
* resultptr
;
2689 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2698 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2701 wxRealPoint
*arg2
= 0 ;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "self",(char *) "pt", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2725 wxRealPoint
* resultptr
;
2726 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2735 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2742 PyObject
* obj2
= 0 ;
2744 (char *) "self",(char *) "x",(char *) "y", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 arg2
= (double) SWIG_AsDouble(obj1
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2752 arg3
= (double) SWIG_AsDouble(obj2
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxRealPoint_Set(arg1
,arg2
,arg3
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 Py_INCREF(Py_None
); resultobj
= Py_None
;
2768 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "self", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2794 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2799 return Py_BuildValue((char *)"");
2801 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxPoint
*arg1
= (wxPoint
*) 0 ;
2805 PyObject
* obj0
= 0 ;
2806 PyObject
* obj1
= 0 ;
2808 (char *) "self",(char *) "x", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2814 arg2
= (int) SWIG_AsInt(obj1
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2816 if (arg1
) (arg1
)->x
= arg2
;
2818 Py_INCREF(Py_None
); resultobj
= Py_None
;
2825 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2827 wxPoint
*arg1
= (wxPoint
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2837 result
= (int) ((arg1
)->x
);
2839 resultobj
= SWIG_FromInt((int)result
);
2846 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxPoint
*arg1
= (wxPoint
*) 0 ;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2853 (char *) "self",(char *) "y", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2859 arg2
= (int) SWIG_AsInt(obj1
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2861 if (arg1
) (arg1
)->y
= arg2
;
2863 Py_INCREF(Py_None
); resultobj
= Py_None
;
2870 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxPoint
*arg1
= (wxPoint
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "self", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 result
= (int) ((arg1
)->y
);
2884 resultobj
= SWIG_FromInt((int)result
);
2891 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 int arg1
= (int) 0 ;
2894 int arg2
= (int) 0 ;
2896 PyObject
* obj0
= 0 ;
2897 PyObject
* obj1
= 0 ;
2899 (char *) "x",(char *) "y", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2904 arg1
= (int) SWIG_AsInt(obj0
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2908 arg2
= (int) SWIG_AsInt(obj1
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2925 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxPoint
*arg1
= (wxPoint
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxPoint
*arg1
= (wxPoint
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2959 (char *) "self",(char *) "pt", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2985 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxPoint
*arg1
= (wxPoint
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2994 (char *) "self",(char *) "pt", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3020 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxPoint
*arg1
= (wxPoint
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3029 (char *) "self",(char *) "pt", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3047 wxPoint
* resultptr
;
3048 resultptr
= new wxPoint((wxPoint
&) result
);
3049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3057 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxPoint
*arg1
= (wxPoint
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "self",(char *) "pt", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3084 wxPoint
* resultptr
;
3085 resultptr
= new wxPoint((wxPoint
&) result
);
3086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3094 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxPoint
*arg1
= (wxPoint
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3103 (char *) "self",(char *) "pt", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3117 result
= (wxPoint
*) &_result_ref
;
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3130 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxPoint
*arg1
= (wxPoint
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3139 (char *) "self",(char *) "pt", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3153 result
= (wxPoint
*) &_result_ref
;
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3166 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxPoint
*arg1
= (wxPoint
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3173 PyObject
* obj2
= 0 ;
3175 (char *) "self",(char *) "x",(char *) "y", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 arg2
= (long) SWIG_AsLong(obj1
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3183 arg3
= (long) SWIG_AsLong(obj2
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxPoint_Set(arg1
,arg2
,arg3
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxPoint
*arg1
= (wxPoint
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (PyObject
*)wxPoint_Get(arg1
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3225 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3228 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3230 return Py_BuildValue((char *)"");
3232 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 int arg1
= (int) 0 ;
3235 int arg2
= (int) 0 ;
3236 int arg3
= (int) 0 ;
3237 int arg4
= (int) 0 ;
3239 PyObject
* obj0
= 0 ;
3240 PyObject
* obj1
= 0 ;
3241 PyObject
* obj2
= 0 ;
3242 PyObject
* obj3
= 0 ;
3244 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3249 arg1
= (int) SWIG_AsInt(obj0
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 arg2
= (int) SWIG_AsInt(obj1
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 arg3
= (int) SWIG_AsInt(obj2
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 arg4
= (int) SWIG_AsInt(obj3
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3278 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 (char *) "topLeft",(char *) "bottomRight", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3294 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3314 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "pos",(char *) "size", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3350 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxRect
*arg1
= (wxRect
*) 0 ;
3353 PyObject
* obj0
= 0 ;
3355 (char *) "self", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 Py_INCREF(Py_None
); resultobj
= Py_None
;
3375 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxRect
*arg1
= (wxRect
*) 0 ;
3379 PyObject
* obj0
= 0 ;
3381 (char *) "self", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= (int)((wxRect
const *)arg1
)->GetX();
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_FromInt((int)result
);
3401 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxRect
*arg1
= (wxRect
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "self",(char *) "x", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 arg2
= (int) SWIG_AsInt(obj1
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 Py_INCREF(Py_None
); resultobj
= Py_None
;
3430 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxRect
*arg1
= (wxRect
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3436 (char *) "self", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 result
= (int)(arg1
)->GetY();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= SWIG_FromInt((int)result
);
3456 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxRect
*arg1
= (wxRect
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3461 PyObject
* obj1
= 0 ;
3463 (char *) "self",(char *) "y", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 arg2
= (int) SWIG_AsInt(obj1
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxRect
*arg1
= (wxRect
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3491 (char *) "self", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_FromInt((int)result
);
3511 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxRect
*arg1
= (wxRect
*) 0 ;
3515 PyObject
* obj0
= 0 ;
3516 PyObject
* obj1
= 0 ;
3518 (char *) "self",(char *) "w", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3524 arg2
= (int) SWIG_AsInt(obj1
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 (arg1
)->SetWidth(arg2
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 Py_INCREF(Py_None
); resultobj
= Py_None
;
3540 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxRect
*arg1
= (wxRect
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3546 (char *) "self", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= SWIG_FromInt((int)result
);
3566 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxRect
*arg1
= (wxRect
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3573 (char *) "self",(char *) "h", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3579 arg2
= (int) SWIG_AsInt(obj1
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 (arg1
)->SetHeight(arg2
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxRect
*arg1
= (wxRect
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= ((wxRect
const *)arg1
)->GetPosition();
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 wxPoint
* resultptr
;
3616 resultptr
= new wxPoint((wxPoint
&) result
);
3617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3625 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 wxRect
*arg1
= (wxRect
*) 0 ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3633 (char *) "self",(char *) "p", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxRect
*arg1
= (wxRect
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= ((wxRect
const *)arg1
)->GetSize();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3678 resultptr
= new wxSize((wxSize
&) result
);
3679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3687 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxRect
*arg1
= (wxRect
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3695 (char *) "self",(char *) "s", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 (arg1
)->SetSize((wxSize
const &)*arg2
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3719 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxRect
*arg1
= (wxRect
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3725 (char *) "self", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 wxPoint
* resultptr
;
3740 resultptr
= new wxPoint((wxPoint
&) result
);
3741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3749 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxRect
*arg1
= (wxRect
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "p", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxRect
*arg1
= (wxRect
*) 0 ;
3785 PyObject
* obj0
= 0 ;
3787 (char *) "self", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3801 wxPoint
* resultptr
;
3802 resultptr
= new wxPoint((wxPoint
&) result
);
3803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3811 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxRect
*arg1
= (wxRect
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "p", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 Py_INCREF(Py_None
); resultobj
= Py_None
;
3843 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxRect
*arg1
= (wxRect
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_FromInt((int)result
);
3869 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxRect
*arg1
= (wxRect
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3875 (char *) "self", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (int)((wxRect
const *)arg1
)->GetTop();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 resultobj
= SWIG_FromInt((int)result
);
3895 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxRect
*arg1
= (wxRect
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "self", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_FromInt((int)result
);
3921 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxRect
*arg1
= (wxRect
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "self", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (int)((wxRect
const *)arg1
)->GetRight();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_FromInt((int)result
);
3947 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxRect
*arg1
= (wxRect
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3952 PyObject
* obj1
= 0 ;
3954 (char *) "self",(char *) "left", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3960 arg2
= (int) SWIG_AsInt(obj1
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 (arg1
)->SetLeft(arg2
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 Py_INCREF(Py_None
); resultobj
= Py_None
;
3976 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxRect
*arg1
= (wxRect
*) 0 ;
3980 PyObject
* obj0
= 0 ;
3981 PyObject
* obj1
= 0 ;
3983 (char *) "self",(char *) "right", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 arg2
= (int) SWIG_AsInt(obj1
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 (arg1
)->SetRight(arg2
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxRect
*arg1
= (wxRect
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4012 (char *) "self",(char *) "top", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 arg2
= (int) SWIG_AsInt(obj1
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 (arg1
)->SetTop(arg2
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 Py_INCREF(Py_None
); resultobj
= Py_None
;
4034 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxRect
*arg1
= (wxRect
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "self",(char *) "bottom", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 arg2
= (int) SWIG_AsInt(obj1
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 (arg1
)->SetBottom(arg2
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 Py_INCREF(Py_None
); resultobj
= Py_None
;
4063 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
;
4065 wxRect
*arg1
= (wxRect
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4071 PyObject
* obj2
= 0 ;
4073 (char *) "self",(char *) "dx",(char *) "dy", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4079 arg2
= (int) SWIG_AsInt(obj1
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4081 arg3
= (int) SWIG_AsInt(obj2
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4087 result
= (wxRect
*) &_result_ref
;
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4100 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxRect
*arg1
= (wxRect
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4108 PyObject
* obj2
= 0 ;
4110 (char *) "self",(char *) "dx",(char *) "dy", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 arg2
= (int) SWIG_AsInt(obj1
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4118 arg3
= (int) SWIG_AsInt(obj2
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4124 result
= (wxRect
*) &_result_ref
;
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4137 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxRect
*arg1
= (wxRect
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 PyObject
* obj2
= 0 ;
4146 (char *) "self",(char *) "dx",(char *) "dy", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 arg2
= (int) SWIG_AsInt(obj1
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4154 arg3
= (int) SWIG_AsInt(obj2
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 (arg1
)->Offset(arg2
,arg3
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4170 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxRect
*arg1
= (wxRect
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4178 (char *) "self",(char *) "pt", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 (arg1
)->Offset((wxPoint
const &)*arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 Py_INCREF(Py_None
); resultobj
= Py_None
;
4202 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxRect
*arg1
= (wxRect
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4211 (char *) "self",(char *) "rect", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4225 result
= (wxRect
*) &_result_ref
;
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4238 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxRect
*arg1
= (wxRect
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "rect", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4266 resultptr
= new wxRect((wxRect
&) result
);
4267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4275 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRect
*arg1
= (wxRect
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "rect", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4298 result
= (wxRect
*) &_result_ref
;
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4311 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxRect
*arg1
= (wxRect
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 (char *) "self",(char *) "rect", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4346 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxRect
*arg1
= (wxRect
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4355 (char *) "self",(char *) "rect", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4381 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4389 PyObject
* obj2
= 0 ;
4391 (char *) "self",(char *) "x",(char *) "y", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 arg2
= (int) SWIG_AsInt(obj1
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4399 arg3
= (int) SWIG_AsInt(obj2
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxRect
*arg1
= (wxRect
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "pt", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4452 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 (char *) "self",(char *) "rect", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxRect
*arg1
= (wxRect
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4494 (char *) "self",(char *) "x", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 arg2
= (int) SWIG_AsInt(obj1
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4502 if (arg1
) (arg1
)->x
= arg2
;
4504 Py_INCREF(Py_None
); resultobj
= Py_None
;
4511 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxRect
*arg1
= (wxRect
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4523 result
= (int) ((arg1
)->x
);
4525 resultobj
= SWIG_FromInt((int)result
);
4532 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxRect
*arg1
= (wxRect
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "y", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 arg2
= (int) SWIG_AsInt(obj1
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4547 if (arg1
) (arg1
)->y
= arg2
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxRect
*arg1
= (wxRect
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4562 (char *) "self", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 result
= (int) ((arg1
)->y
);
4570 resultobj
= SWIG_FromInt((int)result
);
4577 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxRect
*arg1
= (wxRect
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "width", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4590 arg2
= (int) SWIG_AsInt(obj1
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4592 if (arg1
) (arg1
)->width
= arg2
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxRect
*arg1
= (wxRect
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 result
= (int) ((arg1
)->width
);
4615 resultobj
= SWIG_FromInt((int)result
);
4622 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxRect
*arg1
= (wxRect
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4629 (char *) "self",(char *) "height", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4635 arg2
= (int) SWIG_AsInt(obj1
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4637 if (arg1
) (arg1
)->height
= arg2
;
4639 Py_INCREF(Py_None
); resultobj
= Py_None
;
4646 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxRect
*arg1
= (wxRect
*) 0 ;
4650 PyObject
* obj0
= 0 ;
4652 (char *) "self", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4658 result
= (int) ((arg1
)->height
);
4660 resultobj
= SWIG_FromInt((int)result
);
4667 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxRect
*arg1
= (wxRect
*) 0 ;
4670 int arg2
= (int) 0 ;
4671 int arg3
= (int) 0 ;
4672 int arg4
= (int) 0 ;
4673 int arg5
= (int) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 PyObject
* obj2
= 0 ;
4677 PyObject
* obj3
= 0 ;
4678 PyObject
* obj4
= 0 ;
4680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 arg2
= (int) SWIG_AsInt(obj1
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 arg3
= (int) SWIG_AsInt(obj2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 arg4
= (int) SWIG_AsInt(obj3
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 arg5
= (int) SWIG_AsInt(obj4
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxRect
*arg1
= (wxRect
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (PyObject
*)wxRect_Get(arg1
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4742 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4747 return Py_BuildValue((char *)"");
4749 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxRect
*arg1
= (wxRect
*) 0 ;
4752 wxRect
*arg2
= (wxRect
*) 0 ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4757 (char *) "r1",(char *) "r2", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4779 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 double arg1
= (double) 0.0 ;
4782 double arg2
= (double) 0.0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "x",(char *) "y", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4792 arg1
= (double) SWIG_AsDouble(obj0
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 arg2
= (double) SWIG_AsDouble(obj1
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4813 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxPoint2D
*arg1
= 0 ;
4818 PyObject
* obj0
= 0 ;
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4826 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4842 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4847 PyObject
* obj0
= 0 ;
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4855 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4871 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4874 int *arg2
= (int *) 0 ;
4875 int *arg3
= (int *) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4897 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4898 resultobj
= t_output_helper(resultobj
,o
);
4901 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4902 resultobj
= t_output_helper(resultobj
,o
);
4910 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4913 int *arg2
= (int *) 0 ;
4914 int *arg3
= (int *) 0 ;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4937 resultobj
= t_output_helper(resultobj
,o
);
4940 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4941 resultobj
= t_output_helper(resultobj
,o
);
4949 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_FromDouble((double)result
);
4975 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4981 (char *) "self", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= SWIG_FromDouble((double)result
);
5001 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5008 (char *) "self",(char *) "length", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 arg2
= (double) SWIG_AsDouble(obj1
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 (arg1
)->SetVectorLength(arg2
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 Py_INCREF(Py_None
); resultobj
= Py_None
;
5030 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5037 (char *) "self",(char *) "degrees", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 arg2
= (double) SWIG_AsDouble(obj1
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 (arg1
)->SetVectorAngle(arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5062 wxPoint2D
*arg2
= 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "self",(char *) "pt", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_FromDouble((double)result
);
5092 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5095 wxPoint2D
*arg2
= 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "pt", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_FromDouble((double)result
);
5125 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5128 wxPoint2D
*arg2
= 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "vec", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5142 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_FromDouble((double)result
);
5158 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5161 wxPoint2D
*arg2
= 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5167 (char *) "self",(char *) "vec", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_FromDouble((double)result
);
5191 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (arg1
)->operator -();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 wxPoint2D
* resultptr
;
5212 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5221 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5224 wxPoint2D
*arg2
= 0 ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5230 (char *) "self",(char *) "pt", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5244 result
= (wxPoint2D
*) &_result_ref
;
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5257 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5260 wxPoint2D
*arg2
= 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "pt", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5280 result
= (wxPoint2D
*) &_result_ref
;
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5293 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5296 wxPoint2D
*arg2
= 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "pt", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5316 result
= (wxPoint2D
*) &_result_ref
;
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5329 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5332 wxPoint2D
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "pt", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5352 result
= (wxPoint2D
*) &_result_ref
;
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5365 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5368 wxPoint2D
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5374 (char *) "self",(char *) "pt", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5400 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5403 wxPoint2D
*arg2
= 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "pt", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5435 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "m_x", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 arg2
= (double) SWIG_AsDouble(obj1
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5450 if (arg1
) (arg1
)->m_x
= arg2
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5465 (char *) "self", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 result
= (double) ((arg1
)->m_x
);
5473 resultobj
= SWIG_FromDouble((double)result
);
5480 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5487 (char *) "self",(char *) "m_y", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5493 arg2
= (double) SWIG_AsDouble(obj1
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5495 if (arg1
) (arg1
)->m_y
= arg2
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 result
= (double) ((arg1
)->m_y
);
5518 resultobj
= SWIG_FromDouble((double)result
);
5525 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5528 double arg2
= (double) 0 ;
5529 double arg3
= (double) 0 ;
5530 PyObject
* obj0
= 0 ;
5531 PyObject
* obj1
= 0 ;
5532 PyObject
* obj2
= 0 ;
5534 (char *) "self",(char *) "x",(char *) "y", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 arg2
= (double) SWIG_AsDouble(obj1
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5545 arg3
= (double) SWIG_AsDouble(obj2
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 wxPoint2D_Set(arg1
,arg2
,arg3
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5562 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5588 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5591 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5593 return Py_BuildValue((char *)"");
5595 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5596 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5601 static PyObject
*_wrap_DefaultPosition_get() {
5604 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5609 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5615 static PyObject
*_wrap_DefaultSize_get() {
5618 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5623 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 PyObject
*arg1
= (PyObject
*) 0 ;
5626 wxPyInputStream
*result
;
5627 PyObject
* obj0
= 0 ;
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5648 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "self", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5704 (char *) "self", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (bool)(arg1
)->eof();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5729 int arg2
= (int) -1 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "size", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5741 arg2
= (int) SWIG_AsInt(obj1
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (PyObject
*)(arg1
)->read(arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5758 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5761 int arg2
= (int) -1 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "size", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 arg2
= (int) SWIG_AsInt(obj1
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (PyObject
*)(arg1
)->readline(arg2
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5790 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5793 int arg2
= (int) -1 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5798 (char *) "self",(char *) "sizehint", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 arg2
= (int) SWIG_AsInt(obj1
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5822 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5826 int arg3
= (int) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 PyObject
* obj2
= 0 ;
5831 (char *) "self",(char *) "offset",(char *) "whence", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5837 arg2
= (int) SWIG_AsInt(obj1
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 arg3
= (int) SWIG_AsInt(obj2
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->seek(arg2
,arg3
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5863 (char *) "self", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (int)(arg1
)->tell();
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_FromInt((int)result
);
5883 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (char)(arg1
)->Peek();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_FromChar((char)result
);
5909 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (char)(arg1
)->GetC();
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_FromChar((char)result
);
5935 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (size_t)(arg1
)->LastRead();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5961 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->CanRead();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5995 (char *) "self", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (bool)(arg1
)->Eof();
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6017 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6025 (char *) "self",(char *) "c", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 arg2
= (char) SWIG_AsChar(obj1
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)(arg1
)->Ungetch(arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6053 int arg3
= (int) wxFromStart
;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6057 PyObject
* obj2
= 0 ;
6059 (char *) "self",(char *) "pos",(char *) "mode", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 arg2
= (long) SWIG_AsLong(obj1
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_FromLong((long)result
);
6085 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (long)(arg1
)->TellI();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_FromLong((long)result
);
6111 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6114 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6116 return Py_BuildValue((char *)"");
6118 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6121 PyObject
*arg2
= (PyObject
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6125 (char *) "self",(char *) "obj", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 wxOutputStream_write(arg1
,arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 Py_INCREF(Py_None
); resultobj
= Py_None
;
6146 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6149 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6151 return Py_BuildValue((char *)"");
6153 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6156 wxString
*arg2
= 0 ;
6157 wxString
*arg3
= 0 ;
6158 wxString
*arg4
= 0 ;
6161 wxPyInputStream
*temp1
;
6163 bool temp2
= False
;
6164 bool temp3
= False
;
6165 bool temp4
= False
;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6170 PyObject
* obj3
= 0 ;
6171 PyObject
* obj4
= 0 ;
6173 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6178 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6179 arg1
= temp1
->m_wxis
;
6182 PyErr_Clear(); // clear the failure of the wxPyConvert above
6183 arg1
= wxPyCBInputStream_create(obj0
, False
);
6185 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6192 arg2
= wxString_in_helper(obj1
);
6193 if (arg2
== NULL
) SWIG_fail
;
6197 arg3
= wxString_in_helper(obj2
);
6198 if (arg3
== NULL
) SWIG_fail
;
6202 arg4
= wxString_in_helper(obj3
);
6203 if (arg4
== NULL
) SWIG_fail
;
6206 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6207 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= wxPyMake_wxObject(result
);
6257 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6285 wxInputStream
*result
;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (wxInputStream
*)(arg1
)->GetStream();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6302 wxPyInputStream
* _ptr
= NULL
;
6305 _ptr
= new wxPyInputStream(result
);
6307 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6315 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6331 result
= (wxString
*) &_result_ref
;
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6350 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6356 (char *) "self", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxString
const &_result_ref
= (arg1
)->GetLocation();
6366 result
= (wxString
*) &_result_ref
;
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6385 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6401 result
= (wxString
*) &_result_ref
;
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6420 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (arg1
)->GetModificationTime();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 wxDateTime
* resultptr
;
6441 resultptr
= new wxDateTime((wxDateTime
&) result
);
6442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6450 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6455 return Py_BuildValue((char *)"");
6457 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6462 return Py_BuildValue((char *)"");
6464 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxPyFileSystemHandler
*result
;
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6486 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6489 PyObject
*arg2
= (PyObject
*) 0 ;
6490 PyObject
*arg3
= (PyObject
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6495 (char *) "self",(char *) "self",(char *) "_class", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 Py_INCREF(Py_None
); resultobj
= Py_None
;
6517 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6520 wxString
*arg2
= 0 ;
6522 bool temp2
= False
;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6526 (char *) "self",(char *) "location", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 arg2
= wxString_in_helper(obj1
);
6534 if (arg2
== NULL
) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6561 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6564 wxFileSystem
*arg2
= 0 ;
6565 wxString
*arg3
= 0 ;
6567 bool temp3
= False
;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 PyObject
* obj2
= 0 ;
6572 (char *) "self",(char *) "fs",(char *) "location", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6582 PyErr_SetString(PyExc_TypeError
,"null reference");
6586 arg3
= wxString_in_helper(obj2
);
6587 if (arg3
== NULL
) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= wxPyMake_wxObject(result
);
6614 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6617 wxString
*arg2
= 0 ;
6618 int arg3
= (int) 0 ;
6620 bool temp2
= False
;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6623 PyObject
* obj2
= 0 ;
6625 (char *) "self",(char *) "spec",(char *) "flags", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 arg2
= wxString_in_helper(obj1
);
6633 if (arg2
== NULL
) SWIG_fail
;
6637 arg3
= (int) SWIG_AsInt(obj2
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6668 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6674 (char *) "self", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (arg1
)->FindNext();
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6700 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6703 wxString
*arg2
= 0 ;
6705 bool temp2
= False
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6709 (char *) "self",(char *) "location", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= wxString_in_helper(obj1
);
6717 if (arg2
== NULL
) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6748 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6751 wxString
*arg2
= 0 ;
6753 bool temp2
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "location", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 arg2
= wxString_in_helper(obj1
);
6765 if (arg2
== NULL
) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6796 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6799 wxString
*arg2
= 0 ;
6801 bool temp2
= False
;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "location", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg2
= wxString_in_helper(obj1
);
6813 if (arg2
== NULL
) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6844 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6847 wxString
*arg2
= 0 ;
6849 bool temp2
= False
;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "location", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= wxString_in_helper(obj1
);
6861 if (arg2
== NULL
) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6892 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6895 wxString
*arg2
= 0 ;
6897 bool temp2
= False
;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "location", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 arg2
= wxString_in_helper(obj1
);
6909 if (arg2
== NULL
) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6940 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6943 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6945 return Py_BuildValue((char *)"");
6947 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxFileSystem
*result
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (wxFileSystem
*)new wxFileSystem();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= wxPyMake_wxObject(result
);
6971 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 Py_INCREF(Py_None
); resultobj
= Py_None
;
6996 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6999 wxString
*arg2
= 0 ;
7000 bool arg3
= (bool) False
;
7001 bool temp2
= False
;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7006 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 arg2
= wxString_in_helper(obj1
);
7014 if (arg2
== NULL
) SWIG_fail
;
7018 arg3
= (bool) SWIG_AsBool(obj2
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7043 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (arg1
)->GetPath();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7075 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7078 wxString
*arg2
= 0 ;
7080 bool temp2
= False
;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "location", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= wxString_in_helper(obj1
);
7092 if (arg2
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= wxPyMake_wxObject(result
);
7119 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7122 wxString
*arg2
= 0 ;
7123 int arg3
= (int) 0 ;
7125 bool temp2
= False
;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7130 (char *) "self",(char *) "spec",(char *) "flags", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7137 arg2
= wxString_in_helper(obj1
);
7138 if (arg2
== NULL
) SWIG_fail
;
7142 arg3
= (int) SWIG_AsInt(obj2
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7173 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "self", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (arg1
)->FindNext();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7205 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7210 (char *) "handler", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 wxFileSystem::AddHandler(arg1
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 Py_INCREF(Py_None
); resultobj
= Py_None
;
7230 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxFileSystem::CleanUpHandlers();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxString
*arg1
= 0 ;
7255 bool temp1
= False
;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "filename", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7263 arg1
= wxString_in_helper(obj0
);
7264 if (arg1
== NULL
) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7295 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7298 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7300 return Py_BuildValue((char *)"");
7302 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxString
*arg1
= 0 ;
7306 bool temp1
= False
;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "url", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7314 arg1
= wxString_in_helper(obj0
);
7315 if (arg1
== NULL
) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7346 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxInternetFSHandler
*result
;
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7368 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7371 wxString
*arg2
= 0 ;
7373 bool temp2
= False
;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7377 (char *) "self",(char *) "location", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 arg2
= wxString_in_helper(obj1
);
7385 if (arg2
== NULL
) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7412 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7415 wxFileSystem
*arg2
= 0 ;
7416 wxString
*arg3
= 0 ;
7418 bool temp3
= False
;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7421 PyObject
* obj2
= 0 ;
7423 (char *) "self",(char *) "fs",(char *) "location", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7433 PyErr_SetString(PyExc_TypeError
,"null reference");
7437 arg3
= wxString_in_helper(obj2
);
7438 if (arg3
== NULL
) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= wxPyMake_wxObject(result
);
7465 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7468 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7470 return Py_BuildValue((char *)"");
7472 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxZipFSHandler
*result
;
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7494 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7497 wxString
*arg2
= 0 ;
7499 bool temp2
= False
;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7503 (char *) "self",(char *) "location", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 arg2
= wxString_in_helper(obj1
);
7511 if (arg2
== NULL
) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7538 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7541 wxFileSystem
*arg2
= 0 ;
7542 wxString
*arg3
= 0 ;
7544 bool temp3
= False
;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7547 PyObject
* obj2
= 0 ;
7549 (char *) "self",(char *) "fs",(char *) "location", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7559 PyErr_SetString(PyExc_TypeError
,"null reference");
7563 arg3
= wxString_in_helper(obj2
);
7564 if (arg3
== NULL
) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= wxPyMake_wxObject(result
);
7591 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7594 wxString
*arg2
= 0 ;
7595 int arg3
= (int) 0 ;
7597 bool temp2
= False
;
7598 PyObject
* obj0
= 0 ;
7599 PyObject
* obj1
= 0 ;
7600 PyObject
* obj2
= 0 ;
7602 (char *) "self",(char *) "spec",(char *) "flags", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7609 arg2
= wxString_in_helper(obj1
);
7610 if (arg2
== NULL
) SWIG_fail
;
7614 arg3
= (int) SWIG_AsInt(obj2
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7645 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7651 (char *) "self", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (arg1
)->FindNext();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7677 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7680 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7682 return Py_BuildValue((char *)"");
7684 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxString
*arg1
= 0 ;
7689 bool temp1
= False
;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7694 (char *) "filename",(char *) "image",(char *) "type", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7699 arg1
= wxString_in_helper(obj0
);
7700 if (arg1
== NULL
) SWIG_fail
;
7703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7707 PyErr_SetString(PyExc_TypeError
,"null reference");
7710 arg3
= (long) SWIG_AsLong(obj2
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7734 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxString
*arg1
= 0 ;
7737 wxBitmap
*arg2
= 0 ;
7739 bool temp1
= False
;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7742 PyObject
* obj2
= 0 ;
7744 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7749 arg1
= wxString_in_helper(obj0
);
7750 if (arg1
== NULL
) SWIG_fail
;
7753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7757 PyErr_SetString(PyExc_TypeError
,"null reference");
7760 arg3
= (long) SWIG_AsLong(obj2
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxString
*arg1
= 0 ;
7787 PyObject
*arg2
= (PyObject
*) 0 ;
7788 bool temp1
= False
;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "filename",(char *) "data", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7797 arg1
= wxString_in_helper(obj0
);
7798 if (arg1
== NULL
) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxMemoryFSHandler
*result
;
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7846 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxString
*arg1
= 0 ;
7849 bool temp1
= False
;
7850 PyObject
* obj0
= 0 ;
7852 (char *) "filename", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7857 arg1
= wxString_in_helper(obj0
);
7858 if (arg1
== NULL
) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7883 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7886 wxString
*arg2
= 0 ;
7888 bool temp2
= False
;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "location", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 arg2
= wxString_in_helper(obj1
);
7900 if (arg2
== NULL
) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7930 wxFileSystem
*arg2
= 0 ;
7931 wxString
*arg3
= 0 ;
7933 bool temp3
= False
;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7936 PyObject
* obj2
= 0 ;
7938 (char *) "self",(char *) "fs",(char *) "location", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7948 PyErr_SetString(PyExc_TypeError
,"null reference");
7952 arg3
= wxString_in_helper(obj2
);
7953 if (arg3
== NULL
) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= wxPyMake_wxObject(result
);
7980 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7983 wxString
*arg2
= 0 ;
7984 int arg3
= (int) 0 ;
7986 bool temp2
= False
;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 PyObject
* obj2
= 0 ;
7991 (char *) "self",(char *) "spec",(char *) "flags", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 arg2
= wxString_in_helper(obj1
);
7999 if (arg2
== NULL
) SWIG_fail
;
8003 arg3
= (int) SWIG_AsInt(obj2
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8034 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (arg1
)->FindNext();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8066 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8069 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8071 return Py_BuildValue((char *)"");
8073 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (arg1
)->GetName();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8105 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (arg1
)->GetExtension();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8137 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (long)(arg1
)->GetType();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_FromLong((long)result
);
8163 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8169 (char *) "self", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (arg1
)->GetMimeType();
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8195 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8198 wxString
*arg2
= 0 ;
8200 bool temp2
= False
;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "name", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 arg2
= wxString_in_helper(obj1
);
8212 if (arg2
== NULL
) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8239 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8242 wxString
*arg2
= 0 ;
8243 bool temp2
= False
;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8247 (char *) "self",(char *) "name", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 arg2
= wxString_in_helper(obj1
);
8255 if (arg2
== NULL
) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->SetName((wxString
const &)*arg2
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8283 wxString
*arg2
= 0 ;
8284 bool temp2
= False
;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8288 (char *) "self",(char *) "extension", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 arg2
= wxString_in_helper(obj1
);
8296 if (arg2
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->SetExtension((wxString
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8328 (char *) "self",(char *) "type", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 arg2
= (long) SWIG_AsLong(obj1
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 (arg1
)->SetType(arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8350 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8353 wxString
*arg2
= 0 ;
8354 bool temp2
= False
;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "mimetype", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 arg2
= wxString_in_helper(obj1
);
8366 if (arg2
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8394 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8396 return Py_BuildValue((char *)"");
8398 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxImageHistogram
*result
;
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxImageHistogram
*)new wxImageHistogram();
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8420 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 unsigned char arg1
;
8423 unsigned char arg2
;
8424 unsigned char arg3
;
8425 unsigned long result
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8430 (char *) "r",(char *) "g",(char *) "b", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8434 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8436 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8438 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8454 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8457 unsigned char *arg2
= (unsigned char *) 0 ;
8458 unsigned char *arg3
= (unsigned char *) 0 ;
8459 unsigned char *arg4
= (unsigned char *) 0 ;
8460 unsigned char arg5
= (unsigned char) 1 ;
8461 unsigned char arg6
= (unsigned char) 0 ;
8462 unsigned char arg7
= (unsigned char) 0 ;
8464 unsigned char temp2
;
8465 unsigned char temp3
;
8466 unsigned char temp4
;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8472 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8504 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8505 resultobj
= t_output_helper(resultobj
,o
);
8508 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8509 resultobj
= t_output_helper(resultobj
,o
);
8512 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8513 resultobj
= t_output_helper(resultobj
,o
);
8521 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8524 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8526 return Py_BuildValue((char *)"");
8528 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxString
*arg1
= 0 ;
8531 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8532 int arg3
= (int) -1 ;
8534 bool temp1
= False
;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8539 (char *) "name",(char *) "type",(char *) "index", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 arg2
= (long) SWIG_AsLong(obj1
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8553 arg3
= (int) SWIG_AsInt(obj2
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8578 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxImage
*arg1
= (wxImage
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8603 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxString
*arg1
= 0 ;
8606 wxString
*arg2
= 0 ;
8607 int arg3
= (int) -1 ;
8609 bool temp1
= False
;
8610 bool temp2
= False
;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 PyObject
* obj2
= 0 ;
8615 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8620 arg1
= wxString_in_helper(obj0
);
8621 if (arg1
== NULL
) SWIG_fail
;
8625 arg2
= wxString_in_helper(obj1
);
8626 if (arg2
== NULL
) SWIG_fail
;
8630 arg3
= (int) SWIG_AsInt(obj2
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8663 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxInputStream
*arg1
= 0 ;
8666 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8667 int arg3
= (int) -1 ;
8669 wxPyInputStream
*temp1
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8673 PyObject
* obj2
= 0 ;
8675 (char *) "stream",(char *) "type",(char *) "index", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8680 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8681 arg1
= temp1
->m_wxis
;
8684 PyErr_Clear(); // clear the failure of the wxPyConvert above
8685 arg1
= wxPyCBInputStream_create(obj0
, False
);
8687 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8694 arg2
= (long) SWIG_AsLong(obj1
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8698 arg3
= (int) SWIG_AsInt(obj2
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8723 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxInputStream
*arg1
= 0 ;
8726 wxString
*arg2
= 0 ;
8727 int arg3
= (int) -1 ;
8729 wxPyInputStream
*temp1
;
8731 bool temp2
= False
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8736 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8741 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8742 arg1
= temp1
->m_wxis
;
8745 PyErr_Clear(); // clear the failure of the wxPyConvert above
8746 arg1
= wxPyCBInputStream_create(obj0
, False
);
8748 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8755 arg2
= wxString_in_helper(obj1
);
8756 if (arg2
== NULL
) SWIG_fail
;
8760 arg3
= (int) SWIG_AsInt(obj2
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8793 static PyObject
*_wrap_new_EmptyImage__SWIG_0(PyObject
*self
, PyObject
*args
) {
8794 PyObject
*resultobj
;
8795 int arg1
= (int) 0 ;
8796 int arg2
= (int) 0 ;
8797 bool arg3
= (bool) True
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 if(!PyArg_ParseTuple(args
,(char *)"|OOO:new_EmptyImage",&obj0
,&obj1
,&obj2
)) goto fail
;
8805 arg1
= (int) SWIG_AsInt(obj0
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8809 arg2
= (int) SWIG_AsInt(obj1
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8813 arg3
= (bool) SWIG_AsBool(obj2
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (wxImage
*)new_wxImage__SWIG_0(arg1
,arg2
,arg3
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8830 static PyObject
*_wrap_new_EmptyImage__SWIG_1(PyObject
*self
, PyObject
*args
) {
8831 PyObject
*resultobj
;
8833 bool arg2
= (bool) True
;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyImage",&obj0
,&obj1
)) goto fail
;
8842 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8845 arg2
= (bool) SWIG_AsBool(obj1
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxImage
*)new_wxImage__SWIG_1((wxSize
const &)*arg1
,arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8862 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
) {
8867 argc
= PyObject_Length(args
);
8868 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8869 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8871 if ((argc
>= 0) && (argc
<= 3)) {
8874 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8876 _v
= SWIG_CheckInt(argv
[0]);
8879 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8881 _v
= SWIG_CheckInt(argv
[1]);
8884 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8886 _v
= SWIG_CheckBool(argv
[2]);
8888 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8893 if ((argc
>= 1) && (argc
<= 2)) {
8896 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
8900 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8902 _v
= SWIG_CheckBool(argv
[1]);
8904 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8909 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyImage'");
8914 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxBitmap
*arg1
= 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "bitmap", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8928 PyErr_SetString(PyExc_TypeError
,"null reference");
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8945 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8949 unsigned char *arg3
= (unsigned char *) 0 ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8955 (char *) "width",(char *) "height",(char *) "data", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8959 arg1
= (int) SWIG_AsInt(obj0
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8961 arg2
= (int) SWIG_AsInt(obj1
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8963 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8979 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxImage
*arg1
= (wxImage
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8986 PyObject
* obj2
= 0 ;
8988 (char *) "self",(char *) "width",(char *) "height", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8994 arg2
= (int) SWIG_AsInt(obj1
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8996 arg3
= (int) SWIG_AsInt(obj2
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->Create(arg2
,arg3
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxImage
*arg1
= (wxImage
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxImage
*arg1
= (wxImage
*) 0 ;
9042 SwigValueWrapper
< wxImage
> result
;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 PyObject
* obj2
= 0 ;
9047 (char *) "self",(char *) "width",(char *) "height", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 arg2
= (int) SWIG_AsInt(obj1
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int) SWIG_AsInt(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (arg1
)->Scale(arg2
,arg3
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 wxImage
* resultptr
;
9066 resultptr
= new wxImage((wxImage
&) result
);
9067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9075 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxImage
*arg1
= (wxImage
*) 0 ;
9080 SwigValueWrapper
< wxImage
> result
;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 PyObject
* obj2
= 0 ;
9085 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 arg2
= (int) SWIG_AsInt(obj1
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9093 arg3
= (int) SWIG_AsInt(obj2
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 wxImage
* resultptr
;
9104 resultptr
= new wxImage((wxImage
&) result
);
9105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9113 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxImage
*arg1
= (wxImage
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9123 (char *) "self",(char *) "width",(char *) "height", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 arg2
= (int) SWIG_AsInt(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9131 arg3
= (int) SWIG_AsInt(obj2
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9137 result
= (wxImage
*) &_result_ref
;
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9150 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxImage
*arg1
= (wxImage
*) 0 ;
9155 unsigned char arg4
;
9156 unsigned char arg5
;
9157 unsigned char arg6
;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9161 PyObject
* obj3
= 0 ;
9162 PyObject
* obj4
= 0 ;
9163 PyObject
* obj5
= 0 ;
9165 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9171 arg2
= (int) SWIG_AsInt(obj1
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9173 arg3
= (int) SWIG_AsInt(obj2
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9175 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9177 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9179 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxImage
*arg1
= (wxImage
*) 0 ;
9200 unsigned char result
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 PyObject
* obj2
= 0 ;
9205 (char *) "self",(char *) "x",(char *) "y", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9211 arg2
= (int) SWIG_AsInt(obj1
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9213 arg3
= (int) SWIG_AsInt(obj2
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9229 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxImage
*arg1
= (wxImage
*) 0 ;
9234 unsigned char result
;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 PyObject
* obj2
= 0 ;
9239 (char *) "self",(char *) "x",(char *) "y", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9245 arg2
= (int) SWIG_AsInt(obj1
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9247 arg3
= (int) SWIG_AsInt(obj2
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9263 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxImage
*arg1
= (wxImage
*) 0 ;
9268 unsigned char result
;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9273 (char *) "self",(char *) "x",(char *) "y", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 arg2
= (int) SWIG_AsInt(obj1
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9281 arg3
= (int) SWIG_AsInt(obj2
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9297 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxImage
*arg1
= (wxImage
*) 0 ;
9302 unsigned char arg4
;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9305 PyObject
* obj2
= 0 ;
9306 PyObject
* obj3
= 0 ;
9308 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 arg2
= (int) SWIG_AsInt(obj1
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9316 arg3
= (int) SWIG_AsInt(obj2
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9318 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxImage
*arg1
= (wxImage
*) 0 ;
9339 unsigned char result
;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9344 (char *) "self",(char *) "x",(char *) "y", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 arg2
= (int) SWIG_AsInt(obj1
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9352 arg3
= (int) SWIG_AsInt(obj2
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9368 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxImage
*arg1
= (wxImage
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "self", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (bool)(arg1
)->HasAlpha();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9396 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxImage
*arg1
= (wxImage
*) 0 ;
9399 byte
*arg2
= (byte
*) 0 ;
9400 byte
*arg3
= (byte
*) 0 ;
9401 byte
*arg4
= (byte
*) 0 ;
9402 byte arg5
= (byte
) 0 ;
9403 byte arg6
= (byte
) 0 ;
9404 byte arg7
= (byte
) 0 ;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9411 PyObject
* obj2
= 0 ;
9412 PyObject
* obj3
= 0 ;
9414 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9446 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9447 resultobj
= t_output_helper(resultobj
,o
);
9450 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9451 resultobj
= t_output_helper(resultobj
,o
);
9454 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9455 resultobj
= t_output_helper(resultobj
,o
);
9463 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxImage
*arg1
= (wxImage
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 PyObject
* obj2
= 0 ;
9474 PyObject
* obj3
= 0 ;
9475 PyObject
* obj4
= 0 ;
9477 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9487 PyErr_SetString(PyExc_TypeError
,"null reference");
9490 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9492 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9494 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9512 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxString
*arg1
= 0 ;
9516 bool temp1
= False
;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "name", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9524 arg1
= wxString_in_helper(obj0
);
9525 if (arg1
== NULL
) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxString
*arg1
= 0 ;
9555 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9557 bool temp1
= False
;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "name",(char *) "type", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9566 arg1
= wxString_in_helper(obj0
);
9567 if (arg1
== NULL
) SWIG_fail
;
9571 arg2
= (long) SWIG_AsLong(obj1
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_FromInt((int)result
);
9596 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxImage
*arg1
= (wxImage
*) 0 ;
9599 wxString
*arg2
= 0 ;
9600 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9601 int arg4
= (int) -1 ;
9603 bool temp2
= False
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 PyObject
* obj2
= 0 ;
9607 PyObject
* obj3
= 0 ;
9609 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 arg2
= wxString_in_helper(obj1
);
9617 if (arg2
== NULL
) SWIG_fail
;
9621 arg3
= (long) SWIG_AsLong(obj2
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 arg4
= (int) SWIG_AsInt(obj3
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxImage
*arg1
= (wxImage
*) 0 ;
9655 wxString
*arg2
= 0 ;
9656 wxString
*arg3
= 0 ;
9657 int arg4
= (int) -1 ;
9659 bool temp2
= False
;
9660 bool temp3
= False
;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9664 PyObject
* obj3
= 0 ;
9666 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 arg2
= wxString_in_helper(obj1
);
9674 if (arg2
== NULL
) SWIG_fail
;
9678 arg3
= wxString_in_helper(obj2
);
9679 if (arg3
== NULL
) SWIG_fail
;
9683 arg4
= (int) SWIG_AsInt(obj3
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9718 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxImage
*arg1
= (wxImage
*) 0 ;
9721 wxString
*arg2
= 0 ;
9724 bool temp2
= False
;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 PyObject
* obj2
= 0 ;
9729 (char *) "self",(char *) "name",(char *) "type", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg2
= wxString_in_helper(obj1
);
9737 if (arg2
== NULL
) SWIG_fail
;
9740 arg3
= (int) SWIG_AsInt(obj2
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxImage
*arg1
= (wxImage
*) 0 ;
9769 wxString
*arg2
= 0 ;
9770 wxString
*arg3
= 0 ;
9772 bool temp2
= False
;
9773 bool temp3
= False
;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 PyObject
* obj2
= 0 ;
9778 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 arg2
= wxString_in_helper(obj1
);
9786 if (arg2
== NULL
) SWIG_fail
;
9790 arg3
= wxString_in_helper(obj2
);
9791 if (arg3
== NULL
) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxInputStream
*arg1
= 0 ;
9830 wxPyInputStream
*temp1
;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "stream", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9839 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9840 arg1
= temp1
->m_wxis
;
9843 PyErr_Clear(); // clear the failure of the wxPyConvert above
9844 arg1
= wxPyCBInputStream_create(obj0
, False
);
9846 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)wxImage::CanRead(*arg1
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9876 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxImage
*arg1
= (wxImage
*) 0 ;
9879 wxInputStream
*arg2
= 0 ;
9880 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9881 int arg4
= (int) -1 ;
9883 wxPyInputStream
*temp2
;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 PyObject
* obj2
= 0 ;
9888 PyObject
* obj3
= 0 ;
9890 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9898 arg2
= temp2
->m_wxis
;
9901 PyErr_Clear(); // clear the failure of the wxPyConvert above
9902 arg2
= wxPyCBInputStream_create(obj1
, False
);
9904 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9911 arg3
= (long) SWIG_AsLong(obj2
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9915 arg4
= (int) SWIG_AsInt(obj3
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxImage
*arg1
= (wxImage
*) 0 ;
9945 wxInputStream
*arg2
= 0 ;
9946 wxString
*arg3
= 0 ;
9947 int arg4
= (int) -1 ;
9949 wxPyInputStream
*temp2
;
9951 bool temp3
= False
;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9954 PyObject
* obj2
= 0 ;
9955 PyObject
* obj3
= 0 ;
9957 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9964 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9965 arg2
= temp2
->m_wxis
;
9968 PyErr_Clear(); // clear the failure of the wxPyConvert above
9969 arg2
= wxPyCBInputStream_create(obj1
, False
);
9971 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9978 arg3
= wxString_in_helper(obj2
);
9979 if (arg3
== NULL
) SWIG_fail
;
9983 arg4
= (int) SWIG_AsInt(obj3
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxImage
*arg1
= (wxImage
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (bool)(arg1
)->Ok();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10046 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxImage
*arg1
= (wxImage
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (int)(arg1
)->GetWidth();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_FromInt((int)result
);
10072 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxImage
*arg1
= (wxImage
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (int)(arg1
)->GetHeight();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_FromInt((int)result
);
10098 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxImage
*arg1
= (wxImage
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= wxImage_GetSize(arg1
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 wxSize
* resultptr
;
10119 resultptr
= new wxSize((wxSize
&) result
);
10120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10128 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxImage
*arg1
= (wxImage
*) 0 ;
10132 SwigValueWrapper
< wxImage
> result
;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self",(char *) "rect", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10155 wxImage
* resultptr
;
10156 resultptr
= new wxImage((wxImage
&) result
);
10157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10165 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImage
*arg1
= (wxImage
*) 0 ;
10168 SwigValueWrapper
< wxImage
> result
;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (arg1
)->Copy();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 wxImage
* resultptr
;
10186 resultptr
= new wxImage((wxImage
&) result
);
10187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10195 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxImage
*arg1
= (wxImage
*) 0 ;
10198 wxImage
*arg2
= 0 ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 PyObject
* obj2
= 0 ;
10204 PyObject
* obj3
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10215 if (arg2
== NULL
) {
10216 PyErr_SetString(PyExc_TypeError
,"null reference");
10219 arg3
= (int) SWIG_AsInt(obj2
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10221 arg4
= (int) SWIG_AsInt(obj3
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10237 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxImage
*arg1
= (wxImage
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (PyObject
*)wxImage_GetData(arg1
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= result
;
10263 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxImage
*arg1
= (wxImage
*) 0 ;
10266 PyObject
*arg2
= (PyObject
*) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "data", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 wxImage_SetData(arg1
,arg2
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxImage
*arg1
= (wxImage
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= result
;
10317 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxImage
*arg1
= (wxImage
*) 0 ;
10320 PyObject
*arg2
= (PyObject
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "data", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 wxImage_SetDataBuffer(arg1
,arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxImage
*arg1
= (wxImage
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
;
10371 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxImage
*arg1
= (wxImage
*) 0 ;
10374 PyObject
*arg2
= (PyObject
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "data", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxImage_SetAlphaData(arg1
,arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxImage
*arg1
= (wxImage
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",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
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= result
;
10425 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 PyObject
*arg2
= (PyObject
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "data", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 wxImage_SetAlphaBuffer(arg1
,arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxImage
*arg1
= (wxImage
*) 0 ;
10456 unsigned char arg2
;
10457 unsigned char arg3
;
10458 unsigned char arg4
;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 PyObject
* obj2
= 0 ;
10462 PyObject
* obj3
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10472 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10474 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxImage
*arg1
= (wxImage
*) 0 ;
10493 unsigned char result
;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (unsigned char)(arg1
)->GetMaskRed();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10516 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxImage
*arg1
= (wxImage
*) 0 ;
10519 unsigned char result
;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (unsigned char)(arg1
)->GetMaskGreen();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10542 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxImage
*arg1
= (wxImage
*) 0 ;
10545 unsigned char result
;
10546 PyObject
* obj0
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (unsigned char)(arg1
)->GetMaskBlue();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10568 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxImage
*arg1
= (wxImage
*) 0 ;
10571 bool arg2
= (bool) True
;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "mask", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 arg2
= (bool) SWIG_AsBool(obj1
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->SetMask(arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxImage
*arg1
= (wxImage
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (bool)(arg1
)->HasMask();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxImage
*arg1
= (wxImage
*) 0 ;
10631 wxPoint
*arg3
= 0 ;
10632 bool arg4
= (bool) True
;
10633 wxPoint
*arg5
= (wxPoint
*) NULL
;
10634 SwigValueWrapper
< wxImage
> result
;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 PyObject
* obj2
= 0 ;
10639 PyObject
* obj3
= 0 ;
10640 PyObject
* obj4
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 arg2
= (double) SWIG_AsDouble(obj1
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10655 arg4
= (bool) SWIG_AsBool(obj3
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 wxImage
* resultptr
;
10671 resultptr
= new wxImage((wxImage
&) result
);
10672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10680 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxImage
*arg1
= (wxImage
*) 0 ;
10683 bool arg2
= (bool) True
;
10684 SwigValueWrapper
< wxImage
> result
;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "clockwise", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10695 arg2
= (bool) SWIG_AsBool(obj1
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= (arg1
)->Rotate90(arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10706 wxImage
* resultptr
;
10707 resultptr
= new wxImage((wxImage
&) result
);
10708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10716 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxImage
*arg1
= (wxImage
*) 0 ;
10719 bool arg2
= (bool) True
;
10720 SwigValueWrapper
< wxImage
> result
;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj1
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "horizontally", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg2
= (bool) SWIG_AsBool(obj1
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (arg1
)->Mirror(arg2
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 wxImage
* resultptr
;
10743 resultptr
= new wxImage((wxImage
&) result
);
10744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10752 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxImage
*arg1
= (wxImage
*) 0 ;
10755 unsigned char arg2
;
10756 unsigned char arg3
;
10757 unsigned char arg4
;
10758 unsigned char arg5
;
10759 unsigned char arg6
;
10760 unsigned char arg7
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 PyObject
* obj3
= 0 ;
10765 PyObject
* obj4
= 0 ;
10766 PyObject
* obj5
= 0 ;
10767 PyObject
* obj6
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10779 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10781 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10785 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 Py_INCREF(Py_None
); resultobj
= Py_None
;
10801 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxImage
*arg1
= (wxImage
*) 0 ;
10804 unsigned char arg2
;
10805 unsigned char arg3
;
10806 unsigned char arg4
;
10807 SwigValueWrapper
< wxImage
> result
;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 PyObject
* obj2
= 0 ;
10811 PyObject
* obj3
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10821 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10823 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 wxImage
* resultptr
;
10834 resultptr
= new wxImage((wxImage
&) result
);
10835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10843 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxImage
*arg1
= (wxImage
*) 0 ;
10846 wxString
*arg2
= 0 ;
10847 wxString
*arg3
= 0 ;
10848 bool temp2
= False
;
10849 bool temp3
= False
;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 PyObject
* obj2
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "name",(char *) "value", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 arg2
= wxString_in_helper(obj1
);
10862 if (arg2
== NULL
) SWIG_fail
;
10866 arg3
= wxString_in_helper(obj2
);
10867 if (arg3
== NULL
) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxImage
*arg1
= (wxImage
*) 0 ;
10903 wxString
*arg2
= 0 ;
10905 bool temp2
= False
;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "name",(char *) "value", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= wxString_in_helper(obj1
);
10918 if (arg2
== NULL
) SWIG_fail
;
10921 arg3
= (int) SWIG_AsInt(obj2
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxImage
*arg1
= (wxImage
*) 0 ;
10948 wxString
*arg2
= 0 ;
10950 bool temp2
= False
;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self",(char *) "name", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 arg2
= wxString_in_helper(obj1
);
10962 if (arg2
== NULL
) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10993 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxImage
*arg1
= (wxImage
*) 0 ;
10996 wxString
*arg2
= 0 ;
10998 bool temp2
= False
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "name", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11009 arg2
= wxString_in_helper(obj1
);
11010 if (arg2
== NULL
) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_FromInt((int)result
);
11035 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxImage
*arg1
= (wxImage
*) 0 ;
11038 wxString
*arg2
= 0 ;
11040 bool temp2
= False
;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "name", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11051 arg2
= wxString_in_helper(obj1
);
11052 if (arg2
== NULL
) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxImage
*arg1
= (wxImage
*) 0 ;
11082 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11083 unsigned long result
;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "stopafter", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11094 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11111 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxImage
*arg1
= (wxImage
*) 0 ;
11114 wxImageHistogram
*arg2
= 0 ;
11115 unsigned long result
;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "h", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11128 if (arg2
== NULL
) {
11129 PyErr_SetString(PyExc_TypeError
,"null reference");
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11146 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "handler", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 wxImage::AddHandler(arg1
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "handler", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxImage::InsertHandler(arg1
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11196 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxString
*arg1
= 0 ;
11200 bool temp1
= False
;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "name", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11208 arg1
= wxString_in_helper(obj0
);
11209 if (arg1
== NULL
) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11236 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11239 char *kwnames
[] = {
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= wxImage::GetImageExtWildcard();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11264 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxImage
*arg1
= (wxImage
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= wxImage_ConvertToBitmap(arg1
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 wxBitmap
* resultptr
;
11285 resultptr
= new wxBitmap((wxBitmap
&) result
);
11286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11294 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxImage
*arg1
= (wxImage
*) 0 ;
11297 unsigned char arg2
;
11298 unsigned char arg3
;
11299 unsigned char arg4
;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 PyObject
* obj3
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11314 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11316 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 wxBitmap
* resultptr
;
11327 resultptr
= new wxBitmap((wxBitmap
&) result
);
11328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11336 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11339 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11341 return Py_BuildValue((char *)"");
11343 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 char *kwnames
[] = {
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 wxInitAllImageHandlers();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static int _wrap_NullImage_set(PyObject
*_val
) {
11365 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11370 static PyObject
*_wrap_NullImage_get() {
11373 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11378 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11379 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11384 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11389 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11391 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11398 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11399 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11404 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11409 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11411 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11418 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11419 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11424 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11429 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11431 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11438 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11439 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11444 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11449 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11451 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11458 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11459 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11464 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11469 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11471 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11478 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxBMPHandler
*result
;
11481 char *kwnames
[] = {
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (wxBMPHandler
*)new wxBMPHandler();
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11500 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11503 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11505 return Py_BuildValue((char *)"");
11507 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxICOHandler
*result
;
11510 char *kwnames
[] = {
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (wxICOHandler
*)new wxICOHandler();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11529 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11532 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11534 return Py_BuildValue((char *)"");
11536 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
;
11538 wxCURHandler
*result
;
11539 char *kwnames
[] = {
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (wxCURHandler
*)new wxCURHandler();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11558 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11561 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11563 return Py_BuildValue((char *)"");
11565 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxANIHandler
*result
;
11568 char *kwnames
[] = {
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (wxANIHandler
*)new wxANIHandler();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11587 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11590 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11592 return Py_BuildValue((char *)"");
11594 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxPNGHandler
*result
;
11597 char *kwnames
[] = {
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxPNGHandler
*)new wxPNGHandler();
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11616 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11621 return Py_BuildValue((char *)"");
11623 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxGIFHandler
*result
;
11626 char *kwnames
[] = {
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (wxGIFHandler
*)new wxGIFHandler();
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11645 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11648 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11650 return Py_BuildValue((char *)"");
11652 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxPCXHandler
*result
;
11655 char *kwnames
[] = {
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (wxPCXHandler
*)new wxPCXHandler();
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11674 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11677 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11679 return Py_BuildValue((char *)"");
11681 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxJPEGHandler
*result
;
11684 char *kwnames
[] = {
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11703 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11708 return Py_BuildValue((char *)"");
11710 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxPNMHandler
*result
;
11713 char *kwnames
[] = {
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (wxPNMHandler
*)new wxPNMHandler();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11732 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11735 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11737 return Py_BuildValue((char *)"");
11739 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxXPMHandler
*result
;
11742 char *kwnames
[] = {
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (wxXPMHandler
*)new wxXPMHandler();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11761 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11764 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11766 return Py_BuildValue((char *)"");
11768 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxTIFFHandler
*result
;
11771 char *kwnames
[] = {
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11790 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11793 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11795 return Py_BuildValue((char *)"");
11797 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxEvtHandler
*result
;
11800 char *kwnames
[] = {
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxEvtHandler
*)new wxEvtHandler();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= wxPyMake_wxObject(result
);
11821 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11824 wxEvtHandler
*result
;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= wxPyMake_wxObject(result
);
11849 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11852 wxEvtHandler
*result
;
11853 PyObject
* obj0
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= wxPyMake_wxObject(result
);
11877 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11880 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "handler", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetNextHandler(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11909 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "handler", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetPreviousHandler(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11963 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self",(char *) "enabled", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 arg2
= (bool) SWIG_AsBool(obj1
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 (arg1
)->SetEvtHandlerEnabled(arg2
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11995 wxEvent
*arg2
= 0 ;
11997 PyObject
* obj0
= 0 ;
11998 PyObject
* obj1
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self",(char *) "event", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12009 if (arg2
== NULL
) {
12010 PyErr_SetString(PyExc_TypeError
,"null reference");
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12029 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12032 wxEvent
*arg2
= 0 ;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "event", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12045 if (arg2
== NULL
) {
12046 PyErr_SetString(PyExc_TypeError
,"null reference");
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->AddPendingEvent(*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 (arg1
)->ProcessPendingEvents();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 Py_INCREF(Py_None
); resultobj
= Py_None
;
12088 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12094 PyObject
*arg5
= (PyObject
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 PyObject
* obj3
= 0 ;
12099 PyObject
* obj4
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 arg2
= (int) SWIG_AsInt(obj1
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12109 arg3
= (int) SWIG_AsInt(obj2
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12111 arg4
= (int) SWIG_AsInt(obj3
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12128 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12132 int arg3
= (int) -1 ;
12133 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 PyObject
* obj2
= 0 ;
12138 PyObject
* obj3
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12146 arg2
= (int) SWIG_AsInt(obj1
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 arg3
= (int) SWIG_AsInt(obj2
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12172 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12175 PyObject
*arg2
= (PyObject
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "_self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 wxEvtHandler__setOORInfo(arg1
,arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12200 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12203 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12205 return Py_BuildValue((char *)"");
12207 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxEventType result
;
12210 char *kwnames
[] = {
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxEventType
)wxNewEventType();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_FromInt((int)result
);
12229 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxEvent
*arg1
= (wxEvent
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxEvent
*arg1
= (wxEvent
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self",(char *) "typ", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->SetEventType(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 Py_INCREF(Py_None
); resultobj
= Py_None
;
12283 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxEvent
*arg1
= (wxEvent
*) 0 ;
12286 wxEventType result
;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_FromInt((int)result
);
12309 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxEvent
*arg1
= (wxEvent
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= wxPyMake_wxObject(result
);
12337 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxEvent
*arg1
= (wxEvent
*) 0 ;
12340 wxObject
*arg2
= (wxObject
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 PyObject
* obj1
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self",(char *) "obj", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->SetEventObject(arg2
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 Py_INCREF(Py_None
); resultobj
= Py_None
;
12366 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxEvent
*arg1
= (wxEvent
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_FromLong((long)result
);
12392 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxEvent
*arg1
= (wxEvent
*) 0 ;
12395 long arg2
= (long) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "ts", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12406 arg2
= (long) SWIG_AsLong(obj1
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->SetTimestamp(arg2
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxEvent
*arg1
= (wxEvent
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (int)((wxEvent
const *)arg1
)->GetId();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_FromInt((int)result
);
12449 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxEvent
*arg1
= (wxEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self",(char *) "Id", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 arg2
= (int) SWIG_AsInt(obj1
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 (arg1
)->SetId(arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 Py_INCREF(Py_None
); resultobj
= Py_None
;
12478 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEvent
*arg1
= (wxEvent
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12506 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxEvent
*arg1
= (wxEvent
*) 0 ;
12509 bool arg2
= (bool) True
;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "skip", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 arg2
= (bool) SWIG_AsBool(obj1
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->Skip(arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvent
*arg1
= (wxEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxEvent
*arg1
= (wxEvent
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12593 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxEvent
*arg1
= (wxEvent
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (int)(arg1
)->StopPropagation();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_FromInt((int)result
);
12619 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxEvent
*arg1
= (wxEvent
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "propagationLevel", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 arg2
= (int) SWIG_AsInt(obj1
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->ResumePropagation(arg2
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 Py_INCREF(Py_None
); resultobj
= Py_None
;
12648 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxEvent
*arg1
= (wxEvent
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (wxEvent
*)(arg1
)->Clone();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12674 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12677 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12679 return Py_BuildValue((char *)"");
12681 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxEvent
*arg1
= 0 ;
12684 wxPropagationDisabler
*result
;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "event", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12694 if (arg1
== NULL
) {
12695 PyErr_SetString(PyExc_TypeError
,"null reference");
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12712 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12740 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12742 return Py_BuildValue((char *)"");
12744 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxEvent
*arg1
= 0 ;
12747 wxPropagateOnce
*result
;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "event", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12757 if (arg1
== NULL
) {
12758 PyErr_SetString(PyExc_TypeError
,"null reference");
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12775 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12805 return Py_BuildValue((char *)"");
12807 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12810 int arg2
= (int) 0 ;
12811 wxCommandEvent
*result
;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "commandType",(char *) "winid", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 arg2
= (int) SWIG_AsInt(obj1
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12841 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12845 PyObject
* obj0
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= SWIG_FromInt((int)result
);
12867 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12870 wxString
*arg2
= 0 ;
12871 bool temp2
= False
;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "s", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 arg2
= wxString_in_helper(obj1
);
12883 if (arg2
== NULL
) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetString((wxString
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_CommandEvent_GetString(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_GetString",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
= ((wxCommandEvent
const *)arg1
)->GetString();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12940 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12968 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12996 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "extraLong", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 arg2
= (long) SWIG_AsLong(obj1
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->SetExtraLong(arg2
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13025 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_FromLong((long)result
);
13051 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "i", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 arg2
= (int) SWIG_AsInt(obj1
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->SetInt(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13080 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_FromLong((long)result
);
13106 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13132 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13135 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13137 return Py_BuildValue((char *)"");
13139 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13142 int arg2
= (int) 0 ;
13143 wxNotifyEvent
*result
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "commandType",(char *) "winid", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13152 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 arg2
= (int) SWIG_AsInt(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13173 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 Py_INCREF(Py_None
); resultobj
= Py_None
;
13198 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)(arg1
)->IsAllowed();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13254 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13256 return Py_BuildValue((char *)"");
13258 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13261 int arg2
= (int) 0 ;
13262 int arg3
= (int) 0 ;
13263 int arg4
= (int) 0 ;
13264 wxScrollEvent
*result
;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 PyObject
* obj2
= 0 ;
13268 PyObject
* obj3
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13275 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 arg2
= (int) SWIG_AsInt(obj1
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 arg3
= (int) SWIG_AsInt(obj2
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 arg4
= (int) SWIG_AsInt(obj3
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13304 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_FromInt((int)result
);
13330 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_FromInt((int)result
);
13356 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "orient", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (int) SWIG_AsInt(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetOrientation(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "pos", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 arg2
= (int) SWIG_AsInt(obj1
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 (arg1
)->SetPosition(arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 Py_INCREF(Py_None
); resultobj
= Py_None
;
13414 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13417 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13419 return Py_BuildValue((char *)"");
13421 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13424 int arg2
= (int) 0 ;
13425 int arg3
= (int) 0 ;
13426 wxScrollWinEvent
*result
;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 PyObject
* obj2
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13436 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 arg2
= (int) SWIG_AsInt(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 arg3
= (int) SWIG_AsInt(obj2
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13461 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_FromInt((int)result
);
13487 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_FromInt((int)result
);
13513 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "orient", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 arg2
= (int) SWIG_AsInt(obj1
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 (arg1
)->SetOrientation(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 Py_INCREF(Py_None
); resultobj
= Py_None
;
13542 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "pos", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 arg2
= (int) SWIG_AsInt(obj1
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 (arg1
)->SetPosition(arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 Py_INCREF(Py_None
); resultobj
= Py_None
;
13571 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13574 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13576 return Py_BuildValue((char *)"");
13578 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13581 wxMouseEvent
*result
;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "mouseType", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13589 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= wxPyMake_wxObject(result
);
13608 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13636 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13639 int arg2
= (int) wxMOUSE_BTN_ANY
;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "but", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13651 arg2
= (int) SWIG_AsInt(obj1
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13673 int arg2
= (int) wxMOUSE_BTN_ANY
;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "but", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 arg2
= (int) SWIG_AsInt(obj1
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13707 int arg2
= (int) wxMOUSE_BTN_ANY
;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self",(char *) "but", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 arg2
= (int) SWIG_AsInt(obj1
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13738 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "but", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 arg2
= (int) SWIG_AsInt(obj1
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13770 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "but", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13784 arg2
= (int) SWIG_AsInt(obj1
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_FromInt((int)result
);
13828 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13856 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13912 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13940 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14052 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14080 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14136 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14164 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14192 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)(arg1
)->LeftIsDown();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)(arg1
)->MiddleIsDown();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)(arg1
)->RightIsDown();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14276 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14332 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14360 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14388 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (arg1
)->GetPosition();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxPoint
* resultptr
;
14409 resultptr
= new wxPoint((wxPoint
&) result
);
14410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14418 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14421 long *arg2
= (long *) 0 ;
14422 long *arg3
= (long *) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->GetPosition(arg2
,arg3
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14445 resultobj
= t_output_helper(resultobj
,o
);
14448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14449 resultobj
= t_output_helper(resultobj
,o
);
14457 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self",(char *) "dc", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14474 if (arg2
== NULL
) {
14475 PyErr_SetString(PyExc_TypeError
,"null reference");
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 wxPoint
* resultptr
;
14487 resultptr
= new wxPoint((wxPoint
&) result
);
14488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14496 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_FromInt((int)result
);
14522 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_FromInt((int)result
);
14548 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_FromInt((int)result
);
14574 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_FromInt((int)result
);
14600 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_FromInt((int)result
);
14626 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14654 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "m_x", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 arg2
= (int) SWIG_AsInt(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14669 if (arg1
) (arg1
)->m_x
= arg2
;
14671 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 result
= (int) ((arg1
)->m_x
);
14692 resultobj
= SWIG_FromInt((int)result
);
14699 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "m_y", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 arg2
= (int) SWIG_AsInt(obj1
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14714 if (arg1
) (arg1
)->m_y
= arg2
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 result
= (int) ((arg1
)->m_y
);
14737 resultobj
= SWIG_FromInt((int)result
);
14744 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "m_leftDown", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg2
= (bool) SWIG_AsBool(obj1
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14759 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 result
= (bool) ((arg1
)->m_leftDown
);
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "m_middleDown", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 arg2
= (bool) SWIG_AsBool(obj1
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14806 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 result
= (bool) ((arg1
)->m_middleDown
);
14830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "m_rightDown", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 arg2
= (bool) SWIG_AsBool(obj1
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14853 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 result
= (bool) ((arg1
)->m_rightDown
);
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14885 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "m_controlDown", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (bool) SWIG_AsBool(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14900 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14902 Py_INCREF(Py_None
); resultobj
= Py_None
;
14909 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 result
= (bool) ((arg1
)->m_controlDown
);
14924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "m_shiftDown", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (bool) SWIG_AsBool(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14947 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14956 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 result
= (bool) ((arg1
)->m_shiftDown
);
14971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14979 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "m_altDown", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14992 arg2
= (bool) SWIG_AsBool(obj1
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14994 if (arg1
) (arg1
)->m_altDown
= arg2
;
14996 Py_INCREF(Py_None
); resultobj
= Py_None
;
15003 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15015 result
= (bool) ((arg1
)->m_altDown
);
15018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15026 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "m_metaDown", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 arg2
= (bool) SWIG_AsBool(obj1
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15041 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 result
= (bool) ((arg1
)->m_metaDown
);
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "m_wheelRotation", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 arg2
= (int) SWIG_AsInt(obj1
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15088 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15090 Py_INCREF(Py_None
); resultobj
= Py_None
;
15097 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 result
= (int) ((arg1
)->m_wheelRotation
);
15111 resultobj
= SWIG_FromInt((int)result
);
15118 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "m_wheelDelta", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 arg2
= (int) SWIG_AsInt(obj1
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15133 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 result
= (int) ((arg1
)->m_wheelDelta
);
15156 resultobj
= SWIG_FromInt((int)result
);
15163 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self",(char *) "m_linesPerAction", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 arg2
= (int) SWIG_AsInt(obj1
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15178 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 result
= (int) ((arg1
)->m_linesPerAction
);
15201 resultobj
= SWIG_FromInt((int)result
);
15208 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15213 return Py_BuildValue((char *)"");
15215 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 int arg1
= (int) 0 ;
15218 int arg2
= (int) 0 ;
15219 wxSetCursorEvent
*result
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "x",(char *) "y", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 arg1
= (int) SWIG_AsInt(obj0
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15232 arg2
= (int) SWIG_AsInt(obj1
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15249 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_FromInt((int)result
);
15275 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_FromInt((int)result
);
15301 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15304 wxCursor
*arg2
= 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "cursor", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15317 if (arg2
== NULL
) {
15318 PyErr_SetString(PyExc_TypeError
,"null reference");
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15351 result
= (wxCursor
*) &_result_ref
;
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 wxCursor
* resultptr
= new wxCursor(*result
);
15359 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15367 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15398 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15400 return Py_BuildValue((char *)"");
15402 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15405 wxKeyEvent
*result
;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "keyType", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15413 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15430 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15486 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_FromInt((int)result
);
15596 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_FromInt((int)result
);
15622 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15625 unsigned int result
;
15626 PyObject
* obj0
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15648 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15651 unsigned int result
;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15674 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (arg1
)->GetPosition();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 wxPoint
* resultptr
;
15695 resultptr
= new wxPoint((wxPoint
&) result
);
15696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15704 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15707 long *arg2
= (long *) 0 ;
15708 long *arg3
= (long *) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->GetPosition(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15731 resultobj
= t_output_helper(resultobj
,o
);
15734 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15735 resultobj
= t_output_helper(resultobj
,o
);
15743 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_FromInt((int)result
);
15769 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_FromInt((int)result
);
15795 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "m_x", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 arg2
= (int) SWIG_AsInt(obj1
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15810 if (arg1
) (arg1
)->m_x
= arg2
;
15812 Py_INCREF(Py_None
); resultobj
= Py_None
;
15819 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 result
= (int) ((arg1
)->m_x
);
15833 resultobj
= SWIG_FromInt((int)result
);
15840 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self",(char *) "m_y", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 arg2
= (int) SWIG_AsInt(obj1
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15855 if (arg1
) (arg1
)->m_y
= arg2
;
15857 Py_INCREF(Py_None
); resultobj
= Py_None
;
15864 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15876 result
= (int) ((arg1
)->m_y
);
15878 resultobj
= SWIG_FromInt((int)result
);
15885 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self",(char *) "m_keyCode", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 arg2
= (long) SWIG_AsLong(obj1
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15900 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 result
= (long) ((arg1
)->m_keyCode
);
15923 resultobj
= SWIG_FromLong((long)result
);
15930 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self",(char *) "m_controlDown", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 arg2
= (bool) SWIG_AsBool(obj1
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15945 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 result
= (bool) ((arg1
)->m_controlDown
);
15969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15977 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self",(char *) "m_shiftDown", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 arg2
= (bool) SWIG_AsBool(obj1
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15992 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16013 result
= (bool) ((arg1
)->m_shiftDown
);
16016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16024 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "m_altDown", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= (bool) SWIG_AsBool(obj1
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16039 if (arg1
) (arg1
)->m_altDown
= arg2
;
16041 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16060 result
= (bool) ((arg1
)->m_altDown
);
16063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16071 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 PyObject
* obj1
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self",(char *) "m_metaDown", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 arg2
= (bool) SWIG_AsBool(obj1
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16086 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16088 Py_INCREF(Py_None
); resultobj
= Py_None
;
16095 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 result
= (bool) ((arg1
)->m_metaDown
);
16110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16118 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "m_scanCode", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 arg2
= (bool) SWIG_AsBool(obj1
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16133 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16135 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 result
= (bool) ((arg1
)->m_scanCode
);
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16168 unsigned int arg2
;
16169 PyObject
* obj0
= 0 ;
16170 PyObject
* obj1
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self",(char *) "m_rawCode", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16180 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16189 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16192 unsigned int result
;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 result
= (unsigned int) ((arg1
)->m_rawCode
);
16203 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16210 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16213 unsigned int arg2
;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "m_rawFlags", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16225 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16227 Py_INCREF(Py_None
); resultobj
= Py_None
;
16234 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16237 unsigned int result
;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16248 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16255 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16258 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16260 return Py_BuildValue((char *)"");
16262 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16265 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16266 int arg2
= (int) 0 ;
16267 wxSizeEvent
*result
;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "sz",(char *) "winid", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16279 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16283 arg2
= (int) SWIG_AsInt(obj1
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16300 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 wxSize
* resultptr
;
16321 resultptr
= new wxSize((wxSize
&) result
);
16322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16330 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 wxRect
* resultptr
;
16351 resultptr
= new wxRect((wxRect
&) result
);
16352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16360 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "rect", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16374 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16375 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 (arg1
)->SetRect(arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 Py_INCREF(Py_None
); resultobj
= Py_None
;
16391 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "size", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16405 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16406 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 wxSizeEvent_SetSize(arg1
,arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16422 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16425 wxSize
*arg2
= (wxSize
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "m_size", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 if (arg1
) (arg1
)->m_size
= *arg2
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 result
= (wxSize
*)& ((arg1
)->m_size
);
16460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16467 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16470 wxRect
*arg2
= (wxRect
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self",(char *) "m_rect", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 if (arg1
) (arg1
)->m_rect
= *arg2
;
16484 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 result
= (wxRect
*)& ((arg1
)->m_rect
);
16505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16512 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16515 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16517 return Py_BuildValue((char *)"");
16519 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16522 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16523 int arg2
= (int) 0 ;
16524 wxMoveEvent
*result
;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "pos",(char *) "winid", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16540 arg2
= (int) SWIG_AsInt(obj1
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16557 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16577 wxPoint
* resultptr
;
16578 resultptr
= new wxPoint((wxPoint
&) result
);
16579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16587 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16607 wxRect
* resultptr
;
16608 resultptr
= new wxRect((wxRect
&) result
);
16609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16617 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "rect", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16632 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetRect(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "pos", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16662 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16663 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 wxMoveEvent_SetPosition(arg1
,arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16682 wxPoint
*arg2
= (wxPoint
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "m_pos", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 if (arg1
) (arg1
)->m_pos
= *arg2
;
16696 Py_INCREF(Py_None
); resultobj
= Py_None
;
16703 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16715 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16724 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16727 wxRect
*arg2
= (wxRect
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self",(char *) "m_rect", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 if (arg1
) (arg1
)->m_rect
= *arg2
;
16741 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 result
= (wxRect
*)& ((arg1
)->m_rect
);
16762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16769 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16772 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16774 return Py_BuildValue((char *)"");
16776 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 int arg1
= (int) 0 ;
16779 wxPaintEvent
*result
;
16780 PyObject
* obj0
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "Id", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16787 arg1
= (int) SWIG_AsInt(obj0
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16804 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16807 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16809 return Py_BuildValue((char *)"");
16811 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 int arg1
= (int) 0 ;
16814 wxNcPaintEvent
*result
;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "winid", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16822 arg1
= (int) SWIG_AsInt(obj0
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16839 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16842 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16844 return Py_BuildValue((char *)"");
16846 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 int arg1
= (int) 0 ;
16849 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16850 wxEraseEvent
*result
;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "Id",(char *) "dc", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16859 arg1
= (int) SWIG_AsInt(obj0
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16880 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= wxPyMake_wxObject(result
);
16908 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16911 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16913 return Py_BuildValue((char *)"");
16915 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16918 int arg2
= (int) 0 ;
16919 wxFocusEvent
*result
;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "type",(char *) "winid", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16932 arg2
= (int) SWIG_AsInt(obj1
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16949 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= wxPyMake_wxObject(result
);
16977 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16980 wxWindow
*arg2
= (wxWindow
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "win", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->SetWindow(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17009 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17011 return Py_BuildValue((char *)"");
17013 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxWindow
*arg1
= (wxWindow
*) NULL
;
17016 wxChildFocusEvent
*result
;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "win", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17041 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= wxPyMake_wxObject(result
);
17069 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17072 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17074 return Py_BuildValue((char *)"");
17076 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17079 bool arg2
= (bool) True
;
17080 int arg3
= (int) 0 ;
17081 wxActivateEvent
*result
;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "type",(char *) "active",(char *) "Id", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17091 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17095 arg2
= (bool) SWIG_AsBool(obj1
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 arg3
= (int) SWIG_AsInt(obj2
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17116 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17144 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17147 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17149 return Py_BuildValue((char *)"");
17151 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 int arg1
= (int) 0 ;
17154 wxInitDialogEvent
*result
;
17155 PyObject
* obj0
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "Id", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17162 arg1
= (int) SWIG_AsInt(obj0
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17179 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17182 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17184 return Py_BuildValue((char *)"");
17186 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17189 int arg2
= (int) 0 ;
17190 wxMenu
*arg3
= (wxMenu
*) NULL
;
17191 wxMenuEvent
*result
;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "type",(char *) "winid",(char *) "menu", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17201 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 arg2
= (int) SWIG_AsInt(obj1
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17226 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= SWIG_FromInt((int)result
);
17252 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17280 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= wxPyMake_wxObject(result
);
17308 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17311 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17313 return Py_BuildValue((char *)"");
17315 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17318 int arg2
= (int) 0 ;
17319 wxCloseEvent
*result
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "type",(char *) "winid", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 arg2
= (int) SWIG_AsInt(obj1
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17349 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "logOff", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 arg2
= (bool) SWIG_AsBool(obj1
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 (arg1
)->SetLoggingOff(arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17406 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17409 bool arg2
= (bool) True
;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "veto", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 arg2
= (bool) SWIG_AsBool(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->Veto(arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "canVeto", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 arg2
= (bool) SWIG_AsBool(obj1
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 (arg1
)->SetCanVeto(arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 Py_INCREF(Py_None
); resultobj
= Py_None
;
17466 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17494 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17522 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17525 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17527 return Py_BuildValue((char *)"");
17529 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 int arg1
= (int) 0 ;
17532 bool arg2
= (bool) False
;
17533 wxShowEvent
*result
;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "winid",(char *) "show", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 arg1
= (int) SWIG_AsInt(obj0
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 arg2
= (bool) SWIG_AsBool(obj1
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17563 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "show", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 arg2
= (bool) SWIG_AsBool(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 (arg1
)->SetShow(arg2
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17620 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17623 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17625 return Py_BuildValue((char *)"");
17627 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 int arg1
= (int) 0 ;
17630 bool arg2
= (bool) True
;
17631 wxIconizeEvent
*result
;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "id",(char *) "iconized", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 arg1
= (int) SWIG_AsInt(obj0
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17644 arg2
= (bool) SWIG_AsBool(obj1
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17661 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (bool)(arg1
)->Iconized();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17689 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17692 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17694 return Py_BuildValue((char *)"");
17696 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 int arg1
= (int) 0 ;
17699 wxMaximizeEvent
*result
;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "id", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17707 arg1
= (int) SWIG_AsInt(obj0
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17724 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17729 return Py_BuildValue((char *)"");
17731 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (arg1
)->GetPosition();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 wxPoint
* resultptr
;
17752 resultptr
= new wxPoint((wxPoint
&) result
);
17753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17761 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (int)(arg1
)->GetNumberOfFiles();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_FromInt((int)result
);
17787 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= result
;
17813 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17818 return Py_BuildValue((char *)"");
17820 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 int arg1
= (int) 0 ;
17823 wxUpdateUIEvent
*result
;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "commandId", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17831 arg1
= (int) SWIG_AsInt(obj0
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17848 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17936 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17964 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "check", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 arg2
= (bool) SWIG_AsBool(obj1
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 (arg1
)->Check(arg2
);
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 Py_INCREF(Py_None
); resultobj
= Py_None
;
18049 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "enable", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 arg2
= (bool) SWIG_AsBool(obj1
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->Enable(arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18081 wxString
*arg2
= 0 ;
18082 bool temp2
= False
;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "text", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 arg2
= wxString_in_helper(obj1
);
18094 if (arg2
== NULL
) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->SetText((wxString
const &)*arg2
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 Py_INCREF(Py_None
); resultobj
= Py_None
;
18119 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "updateInterval", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18128 arg1
= (long) SWIG_AsLong(obj0
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 Py_INCREF(Py_None
); resultobj
= Py_None
;
18144 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18147 char *kwnames
[] = {
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_FromLong((long)result
);
18166 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxWindow
*arg1
= (wxWindow
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "win", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18194 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 char *kwnames
[] = {
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 wxUpdateUIEvent::ResetUpdateTime();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18215 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "mode", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18224 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18243 char *kwnames
[] = {
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (int)wxUpdateUIEvent::GetMode();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_FromInt((int)result
);
18262 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18267 return Py_BuildValue((char *)"");
18269 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxSysColourChangedEvent
*result
;
18272 char *kwnames
[] = {
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18291 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18296 return Py_BuildValue((char *)"");
18298 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 int arg1
= (int) 0 ;
18301 wxWindow
*arg2
= (wxWindow
*) NULL
;
18302 wxMouseCaptureChangedEvent
*result
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "winid",(char *) "gainedCapture", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 arg1
= (int) SWIG_AsInt(obj0
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18332 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18336 PyObject
* obj0
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= wxPyMake_wxObject(result
);
18360 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18363 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18365 return Py_BuildValue((char *)"");
18367 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDisplayChangedEvent
*result
;
18370 char *kwnames
[] = {
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18389 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18392 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18394 return Py_BuildValue((char *)"");
18396 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 int arg1
= (int) 0 ;
18399 wxPaletteChangedEvent
*result
;
18400 PyObject
* obj0
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "id", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18407 arg1
= (int) SWIG_AsInt(obj0
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18424 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18427 wxWindow
*arg2
= (wxWindow
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "win", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->SetChangedWindow(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= wxPyMake_wxObject(result
);
18481 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18484 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18486 return Py_BuildValue((char *)"");
18488 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 int arg1
= (int) 0 ;
18491 wxQueryNewPaletteEvent
*result
;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "winid", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18499 arg1
= (int) SWIG_AsInt(obj0
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18516 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "realized", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 arg2
= (bool) SWIG_AsBool(obj1
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetPaletteRealized(arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18573 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18576 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18578 return Py_BuildValue((char *)"");
18580 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxNavigationKeyEvent
*result
;
18583 char *kwnames
[] = {
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18602 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18630 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "bForward", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 arg2
= (bool) SWIG_AsBool(obj1
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->SetDirection(arg2
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 Py_INCREF(Py_None
); resultobj
= Py_None
;
18659 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18687 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "bIs", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 arg2
= (bool) SWIG_AsBool(obj1
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->SetWindowChange(arg2
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= wxPyMake_wxObject(result
);
18744 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18747 wxWindow
*arg2
= (wxWindow
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "win", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->SetCurrentFocus(arg2
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18776 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18778 return Py_BuildValue((char *)"");
18780 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxWindow
*arg1
= (wxWindow
*) NULL
;
18783 wxWindowCreateEvent
*result
;
18784 PyObject
* obj0
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "win", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18808 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= wxPyMake_wxObject(result
);
18836 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18839 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18841 return Py_BuildValue((char *)"");
18843 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxWindow
*arg1
= (wxWindow
*) NULL
;
18846 wxWindowDestroyEvent
*result
;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "win", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18871 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= wxPyMake_wxObject(result
);
18899 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18902 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18904 return Py_BuildValue((char *)"");
18906 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18909 int arg2
= (int) 0 ;
18910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18912 wxContextMenuEvent
*result
;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "type",(char *) "winid",(char *) "pt", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18923 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 arg2
= (int) SWIG_AsInt(obj1
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18950 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18966 result
= (wxPoint
*) &_result_ref
;
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18979 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18982 wxPoint
*arg2
= 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "pos", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 Py_INCREF(Py_None
); resultobj
= Py_None
;
19011 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19014 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19016 return Py_BuildValue((char *)"");
19018 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxIdleEvent
*result
;
19021 char *kwnames
[] = {
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (wxIdleEvent
*)new wxIdleEvent();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19040 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19043 bool arg2
= (bool) True
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "needMore", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 arg2
= (bool) SWIG_AsBool(obj1
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->RequestMore(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19099 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "mode", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19108 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19127 char *kwnames
[] = {
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (int)wxIdleEvent::GetMode();
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_FromInt((int)result
);
19146 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxWindow
*arg1
= (wxWindow
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "win", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= (bool)wxIdleEvent::CanSend(arg1
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19174 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19177 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19179 return Py_BuildValue((char *)"");
19181 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 int arg1
= (int) 0 ;
19184 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "winid",(char *) "commandType", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 arg1
= (int) SWIG_AsInt(obj0
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19215 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19243 PyObject
*arg2
= (PyObject
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->SetSelf(arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (PyObject
*)(arg1
)->GetSelf();
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= result
;
19294 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19297 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19299 return Py_BuildValue((char *)"");
19301 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19304 int arg2
= (int) 0 ;
19305 wxPyCommandEvent
*result
;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "commandType",(char *) "id", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19314 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 arg2
= (int) SWIG_AsInt(obj1
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19335 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19363 PyObject
*arg2
= (PyObject
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "self", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 (arg1
)->SetSelf(arg2
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (PyObject
*)(arg1
)->GetSelf();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= result
;
19414 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19417 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19419 return Py_BuildValue((char *)"");
19421 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19424 char *kwnames
[] = {
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (wxPyApp
*)new_wxPyApp();
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= wxPyMake_wxObject(result
);
19445 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19473 PyObject
*arg2
= (PyObject
*) 0 ;
19474 PyObject
*arg3
= (PyObject
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 PyObject
* obj2
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "self",(char *) "_class", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19533 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19536 wxString
*arg2
= 0 ;
19537 bool temp2
= False
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "name", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19548 arg2
= wxString_in_helper(obj1
);
19549 if (arg2
== NULL
) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->SetAppName((wxString
const &)*arg2
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19574 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19606 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19609 wxString
*arg2
= 0 ;
19610 bool temp2
= False
;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "name", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19621 arg2
= wxString_in_helper(obj1
);
19622 if (arg2
== NULL
) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->SetClassName((wxString
const &)*arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19663 result
= (wxString
*) &_result_ref
;
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19673 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19682 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19685 wxString
*arg2
= 0 ;
19686 bool temp2
= False
;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "name", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19697 arg2
= wxString_in_helper(obj1
);
19698 if (arg2
== NULL
) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19726 wxAppTraits
*result
;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19749 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->ProcessPendingEvents();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 Py_INCREF(Py_None
); resultobj
= Py_None
;
19774 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19777 bool arg2
= (bool) False
;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self",(char *) "onlyIfNeeded", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 arg2
= (bool) SWIG_AsBool(obj1
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (bool)(arg1
)->Yield(arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19808 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 (arg1
)->WakeUpIdle();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (int)(arg1
)->MainLoop();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_FromInt((int)result
);
19859 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->ExitMainLoop();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (bool)(arg1
)->Pending();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)(arg1
)->Dispatch();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (bool)(arg1
)->ProcessIdle();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19996 wxWindow
*arg2
= (wxWindow
*) 0 ;
19997 wxIdleEvent
*arg3
= 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 PyObject
* obj2
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self",(char *) "win",(char *) "event", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20014 if (arg3
== NULL
) {
20015 PyErr_SetString(PyExc_TypeError
,"null reference");
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20034 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20065 wxWindow
*arg2
= (wxWindow
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "win", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 (arg1
)->SetTopWindow(arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= wxPyMake_wxObject(result
);
20119 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self",(char *) "flag", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 arg2
= (bool) SWIG_AsBool(obj1
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetExitOnFrameDelete(arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20176 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self",(char *) "flag", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 arg2
= (bool) SWIG_AsBool(obj1
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->SetUseBestVisual(arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20233 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "mode", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (int) SWIG_AsInt(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetPrintMode(arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 Py_INCREF(Py_None
); resultobj
= Py_None
;
20262 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_FromInt((int)result
);
20288 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "mode", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 arg2
= (int) SWIG_AsInt(obj1
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->SetAssertMode(arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (int)(arg1
)->GetAssertMode();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_FromInt((int)result
);
20343 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20346 char *kwnames
[] = {
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20367 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20370 char *kwnames
[] = {
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_FromLong((long)result
);
20389 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20392 char *kwnames
[] = {
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_FromLong((long)result
);
20411 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20414 char *kwnames
[] = {
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (long)wxPyApp::GetMacExitMenuItemId();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_FromLong((long)result
);
20433 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20436 char *kwnames
[] = {
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= wxPyApp::GetMacHelpMenuTitleName();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20461 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "val", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20470 arg1
= (bool) SWIG_AsBool(obj0
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 Py_INCREF(Py_None
); resultobj
= Py_None
;
20486 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20489 PyObject
* obj0
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "val", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20495 arg1
= (long) SWIG_AsLong(obj0
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 wxPyApp::SetMacAboutMenuItemId(arg1
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 Py_INCREF(Py_None
); resultobj
= Py_None
;
20511 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20514 PyObject
* obj0
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "val", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20520 arg1
= (long) SWIG_AsLong(obj0
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20539 PyObject
* obj0
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "val", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20545 arg1
= (long) SWIG_AsLong(obj0
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 wxPyApp::SetMacExitMenuItemId(arg1
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 Py_INCREF(Py_None
); resultobj
= Py_None
;
20561 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxString
*arg1
= 0 ;
20564 bool temp1
= False
;
20565 PyObject
* obj0
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "val", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20572 arg1
= wxString_in_helper(obj0
);
20573 if (arg1
== NULL
) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20598 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 (arg1
)->_BootstrapApp();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 Py_INCREF(Py_None
); resultobj
= Py_None
;
20623 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (int)wxPyApp::GetComCtl32Version();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= SWIG_FromInt((int)result
);
20645 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20648 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20650 return Py_BuildValue((char *)"");
20652 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 char *kwnames
[] = {
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20676 char *kwnames
[] = {
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (bool)wxYield();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20697 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20700 char *kwnames
[] = {
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (bool)wxYieldIfNeeded();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20721 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxWindow
*arg1
= (wxWindow
*) NULL
;
20724 bool arg2
= (bool) False
;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "win",(char *) "onlyIfNeeded", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 arg2
= (bool) SWIG_AsBool(obj1
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (bool)wxSafeYield(arg1
,arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 char *kwnames
[] = {
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 Py_INCREF(Py_None
); resultobj
= Py_None
;
20778 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20781 wxEvent
*arg2
= 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "dest",(char *) "event", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20794 if (arg2
== NULL
) {
20795 PyErr_SetString(PyExc_TypeError
,"null reference");
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 wxPostEvent(arg1
,*arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 Py_INCREF(Py_None
); resultobj
= Py_None
;
20812 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 char *kwnames
[] = {
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 Py_INCREF(Py_None
); resultobj
= Py_None
;
20833 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20836 char *kwnames
[] = {
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxPyApp
*)wxGetApp();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= wxPyMake_wxObject(result
);
20857 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 int arg1
= (int) 0 ;
20860 int arg2
= (int) 0 ;
20861 int arg3
= (int) 0 ;
20862 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20863 wxAcceleratorEntry
*result
;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 PyObject
* obj2
= 0 ;
20867 PyObject
* obj3
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20874 arg1
= (int) SWIG_AsInt(obj0
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20878 arg2
= (int) SWIG_AsInt(obj1
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 arg3
= (int) SWIG_AsInt(obj2
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20903 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 Py_INCREF(Py_None
); resultobj
= Py_None
;
20928 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20934 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 PyObject
* obj3
= 0 ;
20939 PyObject
* obj4
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 arg2
= (int) SWIG_AsInt(obj1
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20949 arg3
= (int) SWIG_AsInt(obj2
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20951 arg4
= (int) SWIG_AsInt(obj3
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20974 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "item", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetMenuItem(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21003 wxMenuItem
*result
;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= wxPyMake_wxObject(result
);
21028 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (int)(arg1
)->GetFlags();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_FromInt((int)result
);
21054 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (int)(arg1
)->GetKeyCode();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_FromInt((int)result
);
21080 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (int)(arg1
)->GetCommand();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_FromInt((int)result
);
21106 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21109 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21111 return Py_BuildValue((char *)"");
21113 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21116 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21117 wxAcceleratorTable
*result
;
21118 PyObject
* obj0
= 0 ;
21119 char *kwnames
[] = {
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21125 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21126 if (arg2
) arg1
= PyList_Size(obj0
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21149 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21202 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21205 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21207 return Py_BuildValue((char *)"");
21209 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21210 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21215 static PyObject
*_wrap_NullAcceleratorTable_get() {
21218 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21223 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxString
*arg1
= 0 ;
21226 wxAcceleratorEntry
*result
;
21227 bool temp1
= False
;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "label", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21235 arg1
= wxString_in_helper(obj0
);
21236 if (arg1
== NULL
) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21261 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21262 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21267 static PyObject
*_wrap_PanelNameStr_get() {
21272 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21274 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21281 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxVisualAttributes
*result
;
21284 char *kwnames
[] = {
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21303 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 delete_wxVisualAttributes(arg1
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 Py_INCREF(Py_None
); resultobj
= Py_None
;
21328 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21331 wxFont
*arg2
= (wxFont
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "font", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 if (arg1
) (arg1
)->font
= *arg2
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 result
= (wxFont
*)& ((arg1
)->font
);
21366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21373 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21376 wxColour
*arg2
= (wxColour
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "colFg", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 if (arg1
) (arg1
)->colFg
= *arg2
;
21390 Py_INCREF(Py_None
); resultobj
= Py_None
;
21397 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21409 result
= (wxColour
*)& ((arg1
)->colFg
);
21411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21418 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21421 wxColour
*arg2
= (wxColour
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "colBg", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 if (arg1
) (arg1
)->colBg
= *arg2
;
21435 Py_INCREF(Py_None
); resultobj
= Py_None
;
21442 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21454 result
= (wxColour
*)& ((arg1
)->colBg
);
21456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21463 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21466 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21468 return Py_BuildValue((char *)"");
21470 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxWindow
*arg1
= (wxWindow
*) 0 ;
21473 int arg2
= (int) (int)-1 ;
21474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21478 long arg5
= (long) 0 ;
21479 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21480 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21484 bool temp6
= False
;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 PyObject
* obj2
= 0 ;
21488 PyObject
* obj3
= 0 ;
21489 PyObject
* obj4
= 0 ;
21490 PyObject
* obj5
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 arg2
= (int const) SWIG_AsInt(obj1
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21515 arg5
= (long) SWIG_AsLong(obj4
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21520 arg6
= wxString_in_helper(obj5
);
21521 if (arg6
== NULL
) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= wxPyMake_wxObject(result
);
21549 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21552 char *kwnames
[] = {
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (wxWindow
*)new wxWindow();
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= wxPyMake_wxObject(result
);
21573 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxWindow
*arg1
= (wxWindow
*) 0 ;
21576 wxWindow
*arg2
= (wxWindow
*) 0 ;
21577 int arg3
= (int) (int)-1 ;
21578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21582 long arg6
= (long) 0 ;
21583 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21588 bool temp7
= False
;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 PyObject
* obj2
= 0 ;
21592 PyObject
* obj3
= 0 ;
21593 PyObject
* obj4
= 0 ;
21594 PyObject
* obj5
= 0 ;
21595 PyObject
* obj6
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 arg3
= (int const) SWIG_AsInt(obj2
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21622 arg6
= (long) SWIG_AsLong(obj5
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21627 arg7
= wxString_in_helper(obj6
);
21628 if (arg7
== NULL
) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxWindow
*arg1
= (wxWindow
*) 0 ;
21659 bool arg2
= (bool) False
;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "force", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 arg2
= (bool) SWIG_AsBool(obj1
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (bool)(arg1
)->Close(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21690 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxWindow
*arg1
= (wxWindow
*) 0 ;
21694 PyObject
* obj0
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (bool)(arg1
)->Destroy();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21718 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxWindow
*arg1
= (wxWindow
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (bool)(arg1
)->DestroyChildren();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21746 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxWindow
*arg1
= (wxWindow
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21774 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxWindow
*arg1
= (wxWindow
*) 0 ;
21777 wxString
*arg2
= 0 ;
21778 bool temp2
= False
;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "title", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 arg2
= wxString_in_helper(obj1
);
21790 if (arg2
== NULL
) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 (arg1
)->SetTitle((wxString
const &)*arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxWindow
*arg1
= (wxWindow
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= ((wxWindow
const *)arg1
)->GetTitle();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21847 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxWindow
*arg1
= (wxWindow
*) 0 ;
21850 wxString
*arg2
= 0 ;
21851 bool temp2
= False
;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "label", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21862 arg2
= wxString_in_helper(obj1
);
21863 if (arg2
== NULL
) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->SetLabel((wxString
const &)*arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxWindow
*arg1
= (wxWindow
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= ((wxWindow
const *)arg1
)->GetLabel();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21920 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxWindow
*arg1
= (wxWindow
*) 0 ;
21923 wxString
*arg2
= 0 ;
21924 bool temp2
= False
;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self",(char *) "name", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 arg2
= wxString_in_helper(obj1
);
21936 if (arg2
== NULL
) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 (arg1
)->SetName((wxString
const &)*arg2
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21961 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxWindow
*arg1
= (wxWindow
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= ((wxWindow
const *)arg1
)->GetName();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21993 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxWindow
*arg1
= (wxWindow
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "variant", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22006 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxWindow
*arg1
= (wxWindow
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_FromInt((int)result
);
22048 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxWindow
*arg1
= (wxWindow
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "winid", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 arg2
= (int) SWIG_AsInt(obj1
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetId(arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxWindow
*arg1
= (wxWindow
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)((wxWindow
const *)arg1
)->GetId();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_FromInt((int)result
);
22103 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22106 char *kwnames
[] = {
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (int)wxWindow::NewControlId();
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= SWIG_FromInt((int)result
);
22125 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22129 PyObject
* obj0
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "winid", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22135 arg1
= (int) SWIG_AsInt(obj0
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (int)wxWindow::NextControlId(arg1
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_FromInt((int)result
);
22151 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "winid", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22161 arg1
= (int) SWIG_AsInt(obj0
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (int)wxWindow::PrevControlId(arg1
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_FromInt((int)result
);
22177 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "size", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 (arg1
)->SetSize((wxSize
const &)*arg2
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 Py_INCREF(Py_None
); resultobj
= Py_None
;
22209 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxWindow
*arg1
= (wxWindow
*) 0 ;
22216 int arg6
= (int) wxSIZE_AUTO
;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 PyObject
* obj2
= 0 ;
22220 PyObject
* obj3
= 0 ;
22221 PyObject
* obj4
= 0 ;
22222 PyObject
* obj5
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 arg2
= (int) SWIG_AsInt(obj1
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22232 arg3
= (int) SWIG_AsInt(obj2
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22234 arg4
= (int) SWIG_AsInt(obj3
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22236 arg5
= (int) SWIG_AsInt(obj4
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 arg6
= (int) SWIG_AsInt(obj5
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 int arg3
= (int) wxSIZE_AUTO
;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 PyObject
* obj2
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22277 arg3
= (int) SWIG_AsInt(obj2
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 Py_INCREF(Py_None
); resultobj
= Py_None
;
22294 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxWindow
*arg1
= (wxWindow
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 PyObject
* obj2
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "width",(char *) "height", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 arg2
= (int) SWIG_AsInt(obj1
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22311 arg3
= (int) SWIG_AsInt(obj2
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->SetSize(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxWindow
*arg1
= (wxWindow
*) 0 ;
22330 wxPoint
*arg2
= 0 ;
22331 int arg3
= (int) wxSIZE_USE_EXISTING
;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 PyObject
* obj2
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "pt",(char *) "flags", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22348 arg3
= (int) SWIG_AsInt(obj2
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 Py_INCREF(Py_None
); resultobj
= Py_None
;
22365 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxWindow
*arg1
= (wxWindow
*) 0 ;
22370 int arg4
= (int) wxSIZE_USE_EXISTING
;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 PyObject
* obj2
= 0 ;
22374 PyObject
* obj3
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 arg2
= (int) SWIG_AsInt(obj1
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22384 arg3
= (int) SWIG_AsInt(obj2
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 arg4
= (int) SWIG_AsInt(obj3
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->Move(arg2
,arg3
,arg4
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxWindow
*arg1
= (wxWindow
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 Py_INCREF(Py_None
); resultobj
= Py_None
;
22429 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxWindow
*arg1
= (wxWindow
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "size", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 PyObject
* obj2
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "width",(char *) "height", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 arg2
= (int) SWIG_AsInt(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22503 arg3
= (int) SWIG_AsInt(obj2
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 (arg1
)->SetClientSize(arg2
,arg3
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxWindow
*arg1
= (wxWindow
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "rect", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxWindow
*arg1
= (wxWindow
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (arg1
)->GetPosition();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 wxPoint
* resultptr
;
22572 resultptr
= new wxPoint((wxPoint
&) result
);
22573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22581 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxWindow
*arg1
= (wxWindow
*) 0 ;
22584 int *arg2
= (int *) 0 ;
22585 int *arg3
= (int *) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 (arg1
)->GetPosition(arg2
,arg3
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 Py_INCREF(Py_None
); resultobj
= Py_None
;
22607 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22608 resultobj
= t_output_helper(resultobj
,o
);
22611 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22612 resultobj
= t_output_helper(resultobj
,o
);
22620 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxWindow
*arg1
= (wxWindow
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= ((wxWindow
const *)arg1
)->GetSize();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 wxSize
* resultptr
;
22641 resultptr
= new wxSize((wxSize
&) result
);
22642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22650 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxWindow
*arg1
= (wxWindow
*) 0 ;
22653 int *arg2
= (int *) 0 ;
22654 int *arg3
= (int *) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22676 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22677 resultobj
= t_output_helper(resultobj
,o
);
22680 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22681 resultobj
= t_output_helper(resultobj
,o
);
22689 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxWindow
*arg1
= (wxWindow
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= ((wxWindow
const *)arg1
)->GetRect();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22709 wxRect
* resultptr
;
22710 resultptr
= new wxRect((wxRect
&) result
);
22711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22719 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxWindow
*arg1
= (wxWindow
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 wxSize
* resultptr
;
22740 resultptr
= new wxSize((wxSize
&) result
);
22741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22749 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxWindow
*arg1
= (wxWindow
*) 0 ;
22752 int *arg2
= (int *) 0 ;
22753 int *arg3
= (int *) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 Py_INCREF(Py_None
); resultobj
= Py_None
;
22775 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22776 resultobj
= t_output_helper(resultobj
,o
);
22779 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22780 resultobj
= t_output_helper(resultobj
,o
);
22788 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxWindow
*arg1
= (wxWindow
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22808 wxPoint
* resultptr
;
22809 resultptr
= new wxPoint((wxPoint
&) result
);
22810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22818 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxWindow
*arg1
= (wxWindow
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 wxRect
* resultptr
;
22839 resultptr
= new wxRect((wxRect
&) result
);
22840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22848 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxWindow
*arg1
= (wxWindow
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 wxSize
* resultptr
;
22869 resultptr
= new wxSize((wxSize
&) result
);
22870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22878 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
;
22880 wxWindow
*arg1
= (wxWindow
*) 0 ;
22881 int *arg2
= (int *) 0 ;
22882 int *arg3
= (int *) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22905 resultobj
= t_output_helper(resultobj
,o
);
22908 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22909 resultobj
= t_output_helper(resultobj
,o
);
22917 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxWindow
*arg1
= (wxWindow
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 wxSize
* resultptr
;
22938 resultptr
= new wxSize((wxSize
&) result
);
22939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22947 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxWindow
*arg1
= (wxWindow
*) 0 ;
22950 int arg2
= (int) wxBOTH
;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "direction", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 arg2
= (int) SWIG_AsInt(obj1
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->Center(arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxWindow
*arg1
= (wxWindow
*) 0 ;
22981 int arg2
= (int) wxBOTH
;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "dir", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (int) SWIG_AsInt(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 (arg1
)->CenterOnScreen(arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 Py_INCREF(Py_None
); resultobj
= Py_None
;
23009 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxWindow
*arg1
= (wxWindow
*) 0 ;
23012 int arg2
= (int) wxBOTH
;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self",(char *) "dir", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 arg2
= (int) SWIG_AsInt(obj1
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 (arg1
)->CenterOnParent(arg2
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 Py_INCREF(Py_None
); resultobj
= Py_None
;
23040 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxWindow
*arg1
= (wxWindow
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 Py_INCREF(Py_None
); resultobj
= Py_None
;
23065 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxWindow
*arg1
= (wxWindow
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 (arg1
)->FitInside();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 Py_INCREF(Py_None
); resultobj
= Py_None
;
23090 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23091 PyObject
*resultobj
;
23092 wxWindow
*arg1
= (wxWindow
*) 0 ;
23095 int arg4
= (int) -1 ;
23096 int arg5
= (int) -1 ;
23097 int arg6
= (int) -1 ;
23098 int arg7
= (int) -1 ;
23099 PyObject
* obj0
= 0 ;
23100 PyObject
* obj1
= 0 ;
23101 PyObject
* obj2
= 0 ;
23102 PyObject
* obj3
= 0 ;
23103 PyObject
* obj4
= 0 ;
23104 PyObject
* obj5
= 0 ;
23105 PyObject
* obj6
= 0 ;
23107 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 arg2
= (int) SWIG_AsInt(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23112 arg3
= (int) SWIG_AsInt(obj2
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 arg4
= (int) SWIG_AsInt(obj3
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 arg5
= (int) SWIG_AsInt(obj4
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23123 arg6
= (int) SWIG_AsInt(obj5
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 arg7
= (int) SWIG_AsInt(obj6
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 Py_INCREF(Py_None
); resultobj
= Py_None
;
23144 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23145 PyObject
*resultobj
;
23146 wxWindow
*arg1
= (wxWindow
*) 0 ;
23148 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23149 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 PyObject
* obj3
= 0 ;
23160 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23170 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 Py_INCREF(Py_None
); resultobj
= Py_None
;
23193 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23198 argc
= PyObject_Length(args
);
23199 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23200 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23202 if ((argc
>= 2) && (argc
<= 4)) {
23206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23215 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23219 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23222 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23226 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23229 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23232 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23238 if ((argc
>= 3) && (argc
<= 7)) {
23242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23250 _v
= SWIG_CheckInt(argv
[1]);
23252 _v
= SWIG_CheckInt(argv
[2]);
23255 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23257 _v
= SWIG_CheckInt(argv
[3]);
23260 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23262 _v
= SWIG_CheckInt(argv
[4]);
23265 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23267 _v
= SWIG_CheckInt(argv
[5]);
23270 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23272 _v
= SWIG_CheckInt(argv
[6]);
23274 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23284 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23289 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23290 PyObject
*resultobj
;
23291 wxWindow
*arg1
= (wxWindow
*) 0 ;
23294 int arg4
= (int) -1 ;
23295 int arg5
= (int) -1 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 PyObject
* obj3
= 0 ;
23300 PyObject
* obj4
= 0 ;
23302 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23305 arg2
= (int) SWIG_AsInt(obj1
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23307 arg3
= (int) SWIG_AsInt(obj2
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 arg4
= (int) SWIG_AsInt(obj3
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 arg5
= (int) SWIG_AsInt(obj4
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23332 PyObject
*resultobj
;
23333 wxWindow
*arg1
= (wxWindow
*) 0 ;
23335 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23336 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 PyObject
* obj2
= 0 ;
23343 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23353 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23375 argc
= PyObject_Length(args
);
23376 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23377 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23379 if ((argc
>= 2) && (argc
<= 3)) {
23383 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23392 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23396 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23399 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23402 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23407 if ((argc
>= 3) && (argc
<= 5)) {
23411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23419 _v
= SWIG_CheckInt(argv
[1]);
23421 _v
= SWIG_CheckInt(argv
[2]);
23424 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23426 _v
= SWIG_CheckInt(argv
[3]);
23429 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23431 _v
= SWIG_CheckInt(argv
[4]);
23433 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23441 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23446 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxWindow
*arg1
= (wxWindow
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= SWIG_FromInt((int)result
);
23472 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxWindow
*arg1
= (wxWindow
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_FromInt((int)result
);
23498 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_FromInt((int)result
);
23524 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxWindow
*arg1
= (wxWindow
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_FromInt((int)result
);
23550 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxWindow
*arg1
= (wxWindow
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 wxSize
* resultptr
;
23571 resultptr
= new wxSize((wxSize
&) result
);
23572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23580 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxWindow
*arg1
= (wxWindow
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 wxSize
* resultptr
;
23601 resultptr
= new wxSize((wxSize
&) result
);
23602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23610 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self",(char *) "size", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 Py_INCREF(Py_None
); resultobj
= Py_None
;
23642 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 PyObject
* obj1
= 0 ;
23649 PyObject
* obj2
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "w",(char *) "h", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 arg2
= (int) SWIG_AsInt(obj1
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23659 arg3
= (int) SWIG_AsInt(obj2
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 (arg1
)->SetVirtualSize(arg2
,arg3
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 Py_INCREF(Py_None
); resultobj
= Py_None
;
23675 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxWindow
*arg1
= (wxWindow
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 wxSize
* resultptr
;
23696 resultptr
= new wxSize((wxSize
&) result
);
23697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23705 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 int *arg2
= (int *) 0 ;
23709 int *arg3
= (int *) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 char *kwnames
[] = {
23714 (char *) "self", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 Py_INCREF(Py_None
); resultobj
= Py_None
;
23731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23732 resultobj
= t_output_helper(resultobj
,o
);
23735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23736 resultobj
= t_output_helper(resultobj
,o
);
23744 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxWindow
*arg1
= (wxWindow
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 wxSize
* resultptr
;
23765 resultptr
= new wxSize((wxSize
&) result
);
23766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23774 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxWindow
*arg1
= (wxWindow
*) 0 ;
23777 bool arg2
= (bool) True
;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "show", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 arg2
= (bool) SWIG_AsBool(obj1
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (bool)(arg1
)->Show(arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxWindow
*arg1
= (wxWindow
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (bool)(arg1
)->Hide();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23836 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 bool arg2
= (bool) True
;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "enable", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 arg2
= (bool) SWIG_AsBool(obj1
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (bool)(arg1
)->Enable(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23870 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxWindow
*arg1
= (wxWindow
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (bool)(arg1
)->Disable();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23898 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxWindow
*arg1
= (wxWindow
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23926 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxWindow
*arg1
= (wxWindow
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxWindow
*arg1
= (wxWindow
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self",(char *) "style", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 arg2
= (long) SWIG_AsLong(obj1
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 (arg1
)->SetWindowStyleFlag(arg2
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 Py_INCREF(Py_None
); resultobj
= Py_None
;
23983 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxWindow
*arg1
= (wxWindow
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "self", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_FromLong((long)result
);
24009 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxWindow
*arg1
= (wxWindow
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "flag", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 arg2
= (int) SWIG_AsInt(obj1
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24041 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxWindow
*arg1
= (wxWindow
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24069 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "exStyle", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 arg2
= (long) SWIG_AsLong(obj1
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->SetExtraStyle(arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24098 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_FromLong((long)result
);
24124 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxWindow
*arg1
= (wxWindow
*) 0 ;
24127 bool arg2
= (bool) True
;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "modal", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 arg2
= (bool) SWIG_AsBool(obj1
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 (arg1
)->MakeModal(arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 Py_INCREF(Py_None
); resultobj
= Py_None
;
24155 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxWindow
*arg1
= (wxWindow
*) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "enableTheme", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 arg2
= (bool) SWIG_AsBool(obj1
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetThemeEnabled(arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 Py_INCREF(Py_None
); resultobj
= Py_None
;
24184 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxWindow
*arg1
= (wxWindow
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24212 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxWindow
*arg1
= (wxWindow
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->SetFocus();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxWindow
*arg1
= (wxWindow
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 (arg1
)->SetFocusFromKbd();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 Py_INCREF(Py_None
); resultobj
= Py_None
;
24262 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24265 char *kwnames
[] = {
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (wxWindow
*)wxWindow::FindFocus();
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= wxPyMake_wxObject(result
);
24286 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxWindow
*arg1
= (wxWindow
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24314 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24342 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
;
24344 wxWindow
*arg1
= (wxWindow
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= wxPyMake_wxObject(result
);
24370 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxWindow
*arg1
= (wxWindow
*) 0 ;
24373 wxWindow
*arg2
= (wxWindow
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "child", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= wxPyMake_wxObject(result
);
24402 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxWindow
*arg1
= (wxWindow
*) 0 ;
24405 wxWindow
*arg2
= (wxWindow
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self",(char *) "win", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->SetTmpDefaultItem(arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxWindow
*arg1
= (wxWindow
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
;
24457 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxWindow
*arg1
= (wxWindow
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= wxPyMake_wxObject(result
);
24485 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= wxPyMake_wxObject(result
);
24513 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxWindow
*arg1
= (wxWindow
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxWindow
*arg1
= (wxWindow
*) 0 ;
24544 wxWindow
*arg2
= (wxWindow
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "newParent", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)(arg1
)->Reparent(arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24573 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24576 wxWindow
*arg2
= (wxWindow
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "child", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 (arg1
)->AddChild(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 Py_INCREF(Py_None
); resultobj
= Py_None
;
24602 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxWindow
*arg1
= (wxWindow
*) 0 ;
24605 wxWindow
*arg2
= (wxWindow
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self",(char *) "child", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->RemoveChild(arg2
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 Py_INCREF(Py_None
); resultobj
= Py_None
;
24631 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "winid", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 arg2
= (long) SWIG_AsLong(obj1
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= wxPyMake_wxObject(result
);
24663 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxWindow
*arg1
= (wxWindow
*) 0 ;
24666 wxString
*arg2
= 0 ;
24668 bool temp2
= False
;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self",(char *) "name", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 arg2
= wxString_in_helper(obj1
);
24680 if (arg2
== NULL
) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= wxPyMake_wxObject(result
);
24707 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxWindow
*arg1
= (wxWindow
*) 0 ;
24710 wxEvtHandler
*result
;
24711 PyObject
* obj0
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= wxPyMake_wxObject(result
);
24735 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxWindow
*arg1
= (wxWindow
*) 0 ;
24738 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "handler", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetEventHandler(arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxWindow
*arg1
= (wxWindow
*) 0 ;
24767 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self",(char *) "handler", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 (arg1
)->PushEventHandler(arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 Py_INCREF(Py_None
); resultobj
= Py_None
;
24793 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxWindow
*arg1
= (wxWindow
*) 0 ;
24796 bool arg2
= (bool) False
;
24797 wxEvtHandler
*result
;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "deleteHandler", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 arg2
= (bool) SWIG_AsBool(obj1
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= wxPyMake_wxObject(result
);
24827 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxWindow
*arg1
= (wxWindow
*) 0 ;
24830 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self",(char *) "handler", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24859 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxWindow
*arg1
= (wxWindow
*) 0 ;
24862 wxValidator
*arg2
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "validator", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24875 if (arg2
== NULL
) {
24876 PyErr_SetString(PyExc_TypeError
,"null reference");
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 Py_INCREF(Py_None
); resultobj
= Py_None
;
24893 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxWindow
*arg1
= (wxWindow
*) 0 ;
24896 wxValidator
*result
;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (wxValidator
*)(arg1
)->GetValidator();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= wxPyMake_wxObject(result
);
24921 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (bool)(arg1
)->Validate();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24949 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxWindow
*arg1
= (wxWindow
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (bool)(arg1
)->TransferDataToWindow();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24977 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (bool)(arg1
)->TransferDataFromWindow();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25005 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxWindow
*arg1
= (wxWindow
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->InitDialog();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxWindow
*arg1
= (wxWindow
*) 0 ;
25033 wxAcceleratorTable
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "accel", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25046 if (arg2
== NULL
) {
25047 PyErr_SetString(PyExc_TypeError
,"null reference");
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 Py_INCREF(Py_None
); resultobj
= Py_None
;
25064 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25067 wxAcceleratorTable
*result
;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25090 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 PyObject
* obj2
= 0 ;
25100 PyObject
* obj3
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 arg2
= (int) SWIG_AsInt(obj1
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25110 arg3
= (int) SWIG_AsInt(obj2
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25112 arg4
= (int) SWIG_AsInt(obj3
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25130 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxWindow
*arg1
= (wxWindow
*) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self",(char *) "hotkeyId", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 arg2
= (int) SWIG_AsInt(obj1
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25162 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25165 wxPoint
*arg2
= 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "pt", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 wxPoint
* resultptr
;
25190 resultptr
= new wxPoint((wxPoint
&) result
);
25191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25199 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "sz", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 wxSize
* resultptr
;
25227 resultptr
= new wxSize((wxSize
&) result
);
25228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25236 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 wxPoint
*arg2
= 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "pt", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25263 wxPoint
* resultptr
;
25264 resultptr
= new wxPoint((wxPoint
&) result
);
25265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25273 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxWindow
*arg1
= (wxWindow
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char *kwnames
[] = {
25282 (char *) "self",(char *) "sz", NULL
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25290 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 wxSize
* resultptr
;
25301 resultptr
= new wxSize((wxSize
&) result
);
25302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25310 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxWindow
*arg1
= (wxWindow
*) 0 ;
25313 wxPoint
*arg2
= 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "pt", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 wxPoint
* resultptr
;
25338 resultptr
= new wxPoint((wxPoint
&) result
);
25339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25347 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxWindow
*arg1
= (wxWindow
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self",(char *) "sz", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 wxSize
* resultptr
;
25375 resultptr
= new wxSize((wxSize
&) result
);
25376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25384 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxWindow
*arg1
= (wxWindow
*) 0 ;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 PyObject
* obj2
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self",(char *) "x",(char *) "y", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 arg2
= (int) SWIG_AsInt(obj1
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25401 arg3
= (int) SWIG_AsInt(obj2
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->WarpPointer(arg2
,arg3
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 Py_INCREF(Py_None
); resultobj
= Py_None
;
25417 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 (arg1
)->CaptureMouse();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 Py_INCREF(Py_None
); resultobj
= Py_None
;
25442 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxWindow
*arg1
= (wxWindow
*) 0 ;
25445 PyObject
* obj0
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->ReleaseMouse();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25470 char *kwnames
[] = {
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (wxWindow
*)wxWindow::GetCapture();
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= wxPyMake_wxObject(result
);
25491 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25519 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxWindow
*arg1
= (wxWindow
*) 0 ;
25522 bool arg2
= (bool) True
;
25523 wxRect
*arg3
= (wxRect
*) NULL
;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 arg2
= (bool) SWIG_AsBool(obj1
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "rect", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25572 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25588 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 Py_INCREF(Py_None
); resultobj
= Py_None
;
25613 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
;
25615 wxWindow
*arg1
= (wxWindow
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "self", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 (arg1
)->ClearBackground();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 Py_INCREF(Py_None
); resultobj
= Py_None
;
25638 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxWindow
*arg1
= (wxWindow
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25663 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxWindow
*arg1
= (wxWindow
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 Py_INCREF(Py_None
); resultobj
= Py_None
;
25688 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxWindow
*arg1
= (wxWindow
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "dc", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25704 if (arg2
== NULL
) {
25705 PyErr_SetString(PyExc_TypeError
,"null reference");
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 (arg1
)->PrepareDC(*arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 Py_INCREF(Py_None
); resultobj
= Py_None
;
25722 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxWindow
*arg1
= (wxWindow
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25738 result
= (wxRegion
*) &_result_ref
;
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25751 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxWindow
*arg1
= (wxWindow
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 wxRect
* resultptr
;
25772 resultptr
= new wxRect((wxRect
&) result
);
25773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25781 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxWindow
*arg1
= (wxWindow
*) 0 ;
25786 int arg4
= (int) 1 ;
25787 int arg5
= (int) 1 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 PyObject
* obj3
= 0 ;
25793 PyObject
* obj4
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25801 arg2
= (int) SWIG_AsInt(obj1
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25803 arg3
= (int) SWIG_AsInt(obj2
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 arg4
= (int) SWIG_AsInt(obj3
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25810 arg5
= (int) SWIG_AsInt(obj4
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25829 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxWindow
*arg1
= (wxWindow
*) 0 ;
25832 wxPoint
*arg2
= 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "pt", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25864 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxWindow
*arg1
= (wxWindow
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "rect", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25899 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxWindow
*arg1
= (wxWindow
*) 0 ;
25902 wxVisualAttributes result
;
25903 PyObject
* obj0
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 wxVisualAttributes
* resultptr
;
25920 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25929 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25932 wxVisualAttributes result
;
25933 PyObject
* obj0
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "variant", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25940 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25951 wxVisualAttributes
* resultptr
;
25952 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25961 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 wxColour
*arg2
= 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "colour", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25996 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25999 wxColour
*arg2
= 0 ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "colour", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 Py_INCREF(Py_None
); resultobj
= Py_None
;
26028 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxWindow
*arg1
= (wxWindow
*) 0 ;
26031 wxColour
*arg2
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "colour", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26063 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxWindow
*arg1
= (wxWindow
*) 0 ;
26066 wxColour
*arg2
= 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "colour", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 Py_INCREF(Py_None
); resultobj
= Py_None
;
26095 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
;
26097 wxWindow
*arg1
= (wxWindow
*) 0 ;
26099 PyObject
* obj0
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 wxColour
* resultptr
;
26116 resultptr
= new wxColour((wxColour
&) result
);
26117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26125 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxWindow
*arg1
= (wxWindow
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 wxColour
* resultptr
;
26146 resultptr
= new wxColour((wxColour
&) result
);
26147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26155 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxWindow
*arg1
= (wxWindow
*) 0 ;
26158 wxCursor
*arg2
= 0 ;
26160 PyObject
* obj0
= 0 ;
26161 PyObject
* obj1
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self",(char *) "cursor", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26172 if (arg2
== NULL
) {
26173 PyErr_SetString(PyExc_TypeError
,"null reference");
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26192 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
;
26194 wxWindow
*arg1
= (wxWindow
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26208 result
= (wxCursor
*) &_result_ref
;
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 wxCursor
* resultptr
= new wxCursor(*result
);
26216 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26224 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxWindow
*arg1
= (wxWindow
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "font", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26241 if (arg2
== NULL
) {
26242 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26261 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "font", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26277 if (arg2
== NULL
) {
26278 PyErr_SetString(PyExc_TypeError
,"null reference");
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 Py_INCREF(Py_None
); resultobj
= Py_None
;
26295 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxWindow
*arg1
= (wxWindow
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 wxFont
&_result_ref
= (arg1
)->GetFont();
26311 result
= (wxFont
*) &_result_ref
;
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 wxFont
* resultptr
= new wxFont(*result
);
26319 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26327 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxWindow
*arg1
= (wxWindow
*) 0 ;
26330 wxCaret
*arg2
= (wxCaret
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self",(char *) "caret", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 (arg1
)->SetCaret(arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 Py_INCREF(Py_None
); resultobj
= Py_None
;
26356 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26382 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxWindow
*arg1
= (wxWindow
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_FromInt((int)result
);
26408 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxWindow
*arg1
= (wxWindow
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_FromInt((int)result
);
26434 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxWindow
*arg1
= (wxWindow
*) 0 ;
26437 wxString
*arg2
= 0 ;
26438 int *arg3
= (int *) 0 ;
26439 int *arg4
= (int *) 0 ;
26440 bool temp2
= False
;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "string", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26455 arg2
= wxString_in_helper(obj1
);
26456 if (arg2
== NULL
) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26468 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26469 resultobj
= t_output_helper(resultobj
,o
);
26472 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26473 resultobj
= t_output_helper(resultobj
,o
);
26489 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxWindow
*arg1
= (wxWindow
*) 0 ;
26492 wxString
*arg2
= 0 ;
26493 int *arg3
= (int *) 0 ;
26494 int *arg4
= (int *) 0 ;
26495 int *arg5
= (int *) 0 ;
26496 int *arg6
= (int *) 0 ;
26497 wxFont
*arg7
= (wxFont
*) NULL
;
26498 bool temp2
= False
;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 PyObject
* obj2
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "string",(char *) "font", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 arg2
= wxString_in_helper(obj1
);
26519 if (arg2
== NULL
) SWIG_fail
;
26523 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26535 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26536 resultobj
= t_output_helper(resultobj
,o
);
26539 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26540 resultobj
= t_output_helper(resultobj
,o
);
26543 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26544 resultobj
= t_output_helper(resultobj
,o
);
26547 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26548 resultobj
= t_output_helper(resultobj
,o
);
26564 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26567 int *arg2
= (int *) 0 ;
26568 int *arg3
= (int *) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 PyObject
* obj2
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "x",(char *) "y", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 temp2
= PyInt_AsLong(obj1
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26587 temp3
= PyInt_AsLong(obj2
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 Py_INCREF(Py_None
); resultobj
= Py_None
;
26600 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26601 resultobj
= t_output_helper(resultobj
,o
);
26604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26605 resultobj
= t_output_helper(resultobj
,o
);
26613 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxWindow
*arg1
= (wxWindow
*) 0 ;
26616 int *arg2
= (int *) 0 ;
26617 int *arg3
= (int *) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 PyObject
* obj2
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "x",(char *) "y", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 temp2
= PyInt_AsLong(obj1
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26636 temp3
= PyInt_AsLong(obj2
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 Py_INCREF(Py_None
); resultobj
= Py_None
;
26649 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26650 resultobj
= t_output_helper(resultobj
,o
);
26653 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26654 resultobj
= t_output_helper(resultobj
,o
);
26662 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
;
26664 wxWindow
*arg1
= (wxWindow
*) 0 ;
26665 wxPoint
*arg2
= 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 char *kwnames
[] = {
26671 (char *) "self",(char *) "pt", NULL
26674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26689 wxPoint
* resultptr
;
26690 resultptr
= new wxPoint((wxPoint
&) result
);
26691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26699 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxWindow
*arg1
= (wxWindow
*) 0 ;
26702 wxPoint
*arg2
= 0 ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self",(char *) "pt", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26726 wxPoint
* resultptr
;
26727 resultptr
= new wxPoint((wxPoint
&) result
);
26728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26736 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxWindow
*arg1
= (wxWindow
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 PyObject
* obj2
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "x",(char *) "y", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 arg2
= (int) SWIG_AsInt(obj1
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26754 arg3
= (int) SWIG_AsInt(obj2
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= SWIG_FromInt((int)result
);
26770 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxWindow
*arg1
= (wxWindow
*) 0 ;
26773 wxPoint
*arg2
= 0 ;
26776 PyObject
* obj0
= 0 ;
26777 PyObject
* obj1
= 0 ;
26778 char *kwnames
[] = {
26779 (char *) "self",(char *) "pt", NULL
26782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_FromInt((int)result
);
26803 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26804 PyObject
*resultobj
;
26805 wxWindow
*arg1
= (wxWindow
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26811 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 arg2
= (long) SWIG_AsLong(obj1
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_FromInt((int)result
);
26830 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26831 PyObject
*resultobj
;
26832 wxWindow
*arg1
= (wxWindow
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26836 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_FromInt((int)result
);
26853 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26858 argc
= PyObject_Length(args
);
26859 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26860 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26866 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26874 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26881 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26889 _v
= SWIG_CheckLong(argv
[1]);
26891 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26896 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26901 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 long arg2
= (long) wxUPDATE_UI_NONE
;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "flags", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 arg2
= (long) SWIG_AsLong(obj1
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->UpdateWindowUI(arg2
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 Py_INCREF(Py_None
); resultobj
= Py_None
;
26932 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxWindow
*arg1
= (wxWindow
*) 0 ;
26935 wxMenu
*arg2
= (wxMenu
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 PyObject
* obj2
= 0 ;
26942 PyObject
* obj3
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 arg3
= (int) SWIG_AsInt(obj2
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26954 arg4
= (int) SWIG_AsInt(obj3
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26972 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26975 wxMenu
*arg2
= (wxMenu
*) 0 ;
26976 wxPoint
*arg3
= 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 PyObject
* obj2
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "menu",(char *) "pos", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27011 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxWindow
*arg1
= (wxWindow
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (long)wxWindow_GetHandle(arg1
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_FromLong((long)result
);
27037 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxWindow
*arg1
= (wxWindow
*) 0 ;
27040 wxPaintEvent
*arg2
= 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "event", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27053 if (arg2
== NULL
) {
27054 PyErr_SetString(PyExc_TypeError
,"null reference");
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 (arg1
)->OnPaint(*arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 Py_INCREF(Py_None
); resultobj
= Py_None
;
27071 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxWindow
*arg1
= (wxWindow
*) 0 ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "orient", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27085 arg2
= (int) SWIG_AsInt(obj1
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27103 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxWindow
*arg1
= (wxWindow
*) 0 ;
27110 bool arg6
= (bool) True
;
27111 PyObject
* obj0
= 0 ;
27112 PyObject
* obj1
= 0 ;
27113 PyObject
* obj2
= 0 ;
27114 PyObject
* obj3
= 0 ;
27115 PyObject
* obj4
= 0 ;
27116 PyObject
* obj5
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27124 arg2
= (int) SWIG_AsInt(obj1
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27126 arg3
= (int) SWIG_AsInt(obj2
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27128 arg4
= (int) SWIG_AsInt(obj3
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27130 arg5
= (int) SWIG_AsInt(obj4
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 arg6
= (bool) SWIG_AsBool(obj5
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 Py_INCREF(Py_None
); resultobj
= Py_None
;
27150 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxWindow
*arg1
= (wxWindow
*) 0 ;
27155 bool arg4
= (bool) True
;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 PyObject
* obj2
= 0 ;
27159 PyObject
* obj3
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 arg2
= (int) SWIG_AsInt(obj1
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27169 arg3
= (int) SWIG_AsInt(obj2
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 arg4
= (bool) SWIG_AsBool(obj3
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 Py_INCREF(Py_None
); resultobj
= Py_None
;
27189 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxWindow
*arg1
= (wxWindow
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self",(char *) "orientation", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27203 arg2
= (int) SWIG_AsInt(obj1
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_FromInt((int)result
);
27219 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxWindow
*arg1
= (wxWindow
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "orientation", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 arg2
= (int) SWIG_AsInt(obj1
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_FromInt((int)result
);
27249 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxWindow
*arg1
= (wxWindow
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "orientation", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27263 arg2
= (int) SWIG_AsInt(obj1
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_FromInt((int)result
);
27279 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxWindow
*arg1
= (wxWindow
*) 0 ;
27284 wxRect
*arg4
= (wxRect
*) NULL
;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 PyObject
* obj2
= 0 ;
27288 PyObject
* obj3
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27296 arg2
= (int) SWIG_AsInt(obj1
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27298 arg3
= (int) SWIG_AsInt(obj2
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 Py_INCREF(Py_None
); resultobj
= Py_None
;
27318 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxWindow
*arg1
= (wxWindow
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "lines", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 arg2
= (int) SWIG_AsInt(obj1
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (bool)(arg1
)->ScrollLines(arg2
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27350 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxWindow
*arg1
= (wxWindow
*) 0 ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self",(char *) "pages", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27364 arg2
= (int) SWIG_AsInt(obj1
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (bool)(arg1
)->ScrollPages(arg2
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27382 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= (bool)(arg1
)->LineUp();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27410 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27414 PyObject
* obj0
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (bool)(arg1
)->LineDown();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27438 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxWindow
*arg1
= (wxWindow
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (bool)(arg1
)->PageUp();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27466 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "self", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (bool)(arg1
)->PageDown();
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27494 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxWindow
*arg1
= (wxWindow
*) 0 ;
27497 wxString
*arg2
= 0 ;
27498 bool temp2
= False
;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27501 char *kwnames
[] = {
27502 (char *) "self",(char *) "text", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 arg2
= wxString_in_helper(obj1
);
27510 if (arg2
== NULL
) SWIG_fail
;
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 Py_INCREF(Py_None
); resultobj
= Py_None
;
27535 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxWindow
*arg1
= (wxWindow
*) 0 ;
27538 wxString
*arg2
= 0 ;
27539 bool temp2
= False
;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "text", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 arg2
= wxString_in_helper(obj1
);
27551 if (arg2
== NULL
) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27576 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxWindow
*arg1
= (wxWindow
*) 0 ;
27580 PyObject
* obj0
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27608 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
;
27610 wxWindow
*arg1
= (wxWindow
*) 0 ;
27611 wxString
*arg2
= 0 ;
27612 bool temp2
= False
;
27613 PyObject
* obj0
= 0 ;
27614 PyObject
* obj1
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self",(char *) "tip", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27623 arg2
= wxString_in_helper(obj1
);
27624 if (arg2
== NULL
) SWIG_fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 Py_INCREF(Py_None
); resultobj
= Py_None
;
27649 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxWindow
*arg1
= (wxWindow
*) 0 ;
27652 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "tip", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 (arg1
)->SetToolTip(arg2
);
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 Py_INCREF(Py_None
); resultobj
= Py_None
;
27678 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
;
27680 wxWindow
*arg1
= (wxWindow
*) 0 ;
27682 PyObject
* obj0
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= wxPyMake_wxObject(result
);
27706 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxWindow
*arg1
= (wxWindow
*) 0 ;
27709 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self",(char *) "dropTarget", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27720 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->SetDropTarget(arg2
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27738 wxPyDropTarget
*result
;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27761 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self",(char *) "accept", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 arg2
= (bool) SWIG_AsBool(obj1
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 (arg1
)->DragAcceptFiles(arg2
);
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 Py_INCREF(Py_None
); resultobj
= Py_None
;
27790 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxWindow
*arg1
= (wxWindow
*) 0 ;
27793 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self",(char *) "constraints", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->SetConstraints(arg2
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 Py_INCREF(Py_None
); resultobj
= Py_None
;
27819 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxWindow
*arg1
= (wxWindow
*) 0 ;
27822 wxLayoutConstraints
*result
;
27823 PyObject
* obj0
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27845 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27849 PyObject
* obj0
= 0 ;
27850 PyObject
* obj1
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self",(char *) "autoLayout", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 arg2
= (bool) SWIG_AsBool(obj1
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 (arg1
)->SetAutoLayout(arg2
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 Py_INCREF(Py_None
); resultobj
= Py_None
;
27874 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxWindow
*arg1
= (wxWindow
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27902 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (bool)(arg1
)->Layout();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27930 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 wxWindow
*arg1
= (wxWindow
*) 0 ;
27933 wxSizer
*arg2
= (wxSizer
*) 0 ;
27934 bool arg3
= (bool) True
;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27948 arg3
= (bool) SWIG_AsBool(obj2
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 (arg1
)->SetSizer(arg2
,arg3
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 Py_INCREF(Py_None
); resultobj
= Py_None
;
27965 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 wxSizer
*arg2
= (wxSizer
*) 0 ;
27969 bool arg3
= (bool) True
;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 PyObject
* obj2
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 arg3
= (bool) SWIG_AsBool(obj2
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 Py_INCREF(Py_None
); resultobj
= Py_None
;
28000 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxWindow
*arg1
= (wxWindow
*) 0 ;
28004 PyObject
* obj0
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= wxPyMake_wxSizer(result
);
28028 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxWindow
*arg1
= (wxWindow
*) 0 ;
28031 wxSizer
*arg2
= (wxSizer
*) 0 ;
28032 PyObject
* obj0
= 0 ;
28033 PyObject
* obj1
= 0 ;
28034 char *kwnames
[] = {
28035 (char *) "self",(char *) "sizer", NULL
28038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 (arg1
)->SetContainingSizer(arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 Py_INCREF(Py_None
); resultobj
= Py_None
;
28057 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxWindow
*arg1
= (wxWindow
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= wxPyMake_wxSizer(result
);
28085 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxWindow
*arg1
= (wxWindow
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 (arg1
)->InheritAttributes();
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 Py_INCREF(Py_None
); resultobj
= Py_None
;
28110 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
;
28112 wxWindow
*arg1
= (wxWindow
*) 0 ;
28114 PyObject
* obj0
= 0 ;
28115 char *kwnames
[] = {
28116 (char *) "self", NULL
28119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28138 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28141 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28143 return Py_BuildValue((char *)"");
28145 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28148 wxWindow
*arg2
= (wxWindow
*) NULL
;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "id",(char *) "parent", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28157 arg1
= (long) SWIG_AsLong(obj0
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= wxPyMake_wxObject(result
);
28179 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxString
*arg1
= 0 ;
28182 wxWindow
*arg2
= (wxWindow
*) NULL
;
28184 bool temp1
= False
;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "name",(char *) "parent", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28193 arg1
= wxString_in_helper(obj0
);
28194 if (arg1
== NULL
) SWIG_fail
;
28198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= wxPyMake_wxObject(result
);
28225 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxString
*arg1
= 0 ;
28228 wxWindow
*arg2
= (wxWindow
*) NULL
;
28230 bool temp1
= False
;
28231 PyObject
* obj0
= 0 ;
28232 PyObject
* obj1
= 0 ;
28233 char *kwnames
[] = {
28234 (char *) "label",(char *) "parent", NULL
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28239 arg1
= wxString_in_helper(obj0
);
28240 if (arg1
== NULL
) SWIG_fail
;
28244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= wxPyMake_wxObject(result
);
28271 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxWindow
*arg1
= (wxWindow
*) 0 ;
28274 unsigned long arg2
;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "parent",(char *) "_hWnd", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= wxPyMake_wxObject(result
);
28303 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxValidator
*result
;
28306 char *kwnames
[] = {
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (wxValidator
*)new wxValidator();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= wxPyMake_wxObject(result
);
28327 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxValidator
*arg1
= (wxValidator
*) 0 ;
28330 wxValidator
*result
;
28331 PyObject
* obj0
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (wxValidator
*)(arg1
)->Clone();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= wxPyMake_wxObject(result
);
28355 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxValidator
*arg1
= (wxValidator
*) 0 ;
28358 wxWindow
*arg2
= (wxWindow
*) 0 ;
28360 PyObject
* obj0
= 0 ;
28361 PyObject
* obj1
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self",(char *) "parent", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 result
= (bool)(arg1
)->Validate(arg2
);
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28387 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28389 wxValidator
*arg1
= (wxValidator
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (bool)(arg1
)->TransferToWindow();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28415 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxValidator
*arg1
= (wxValidator
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= (bool)(arg1
)->TransferFromWindow();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28443 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxValidator
*arg1
= (wxValidator
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (wxWindow
*)(arg1
)->GetWindow();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= wxPyMake_wxObject(result
);
28471 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxValidator
*arg1
= (wxValidator
*) 0 ;
28474 wxWindow
*arg2
= (wxWindow
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "window", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 (arg1
)->SetWindow(arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28503 char *kwnames
[] = {
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (bool)wxValidator::IsSilent();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28524 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 int arg1
= (int) True
;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "doIt", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28534 arg1
= (int) SWIG_AsInt(obj0
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 wxValidator::SetBellOnError(arg1
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 Py_INCREF(Py_None
); resultobj
= Py_None
;
28551 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28554 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28556 return Py_BuildValue((char *)"");
28558 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxPyValidator
*result
;
28561 char *kwnames
[] = {
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (wxPyValidator
*)new wxPyValidator();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28580 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28583 PyObject
*arg2
= (PyObject
*) 0 ;
28584 PyObject
*arg3
= (PyObject
*) 0 ;
28585 int arg4
= (int) True
;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 PyObject
* obj2
= 0 ;
28589 PyObject
* obj3
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28600 arg4
= (int) SWIG_AsInt(obj3
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 Py_INCREF(Py_None
); resultobj
= Py_None
;
28617 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28620 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28622 return Py_BuildValue((char *)"");
28624 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28625 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28630 static PyObject
*_wrap_DefaultValidator_get() {
28633 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28638 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28641 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28642 long arg2
= (long) 0 ;
28644 bool temp1
= False
;
28645 PyObject
* obj0
= 0 ;
28646 PyObject
* obj1
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "title",(char *) "style", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28654 arg1
= wxString_in_helper(obj0
);
28655 if (arg1
== NULL
) SWIG_fail
;
28660 arg2
= (long) SWIG_AsLong(obj1
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= wxPyMake_wxObject(result
);
28687 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
;
28689 wxMenu
*arg1
= (wxMenu
*) 0 ;
28691 wxString
*arg3
= 0 ;
28692 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28694 int arg5
= (int) wxITEM_NORMAL
;
28695 wxMenuItem
*result
;
28696 bool temp3
= False
;
28697 bool temp4
= False
;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 PyObject
* obj2
= 0 ;
28701 PyObject
* obj3
= 0 ;
28702 PyObject
* obj4
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28710 arg2
= (int) SWIG_AsInt(obj1
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 arg3
= wxString_in_helper(obj2
);
28714 if (arg3
== NULL
) SWIG_fail
;
28719 arg4
= wxString_in_helper(obj3
);
28720 if (arg4
== NULL
) SWIG_fail
;
28725 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= wxPyMake_wxObject(result
);
28760 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxMenu
*arg1
= (wxMenu
*) 0 ;
28763 wxMenuItem
*result
;
28764 PyObject
* obj0
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "self", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= wxPyMake_wxObject(result
);
28788 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
;
28790 wxMenu
*arg1
= (wxMenu
*) 0 ;
28792 wxString
*arg3
= 0 ;
28793 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28794 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28795 wxMenuItem
*result
;
28796 bool temp3
= False
;
28797 bool temp4
= False
;
28798 PyObject
* obj0
= 0 ;
28799 PyObject
* obj1
= 0 ;
28800 PyObject
* obj2
= 0 ;
28801 PyObject
* obj3
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 arg2
= (int) SWIG_AsInt(obj1
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 arg3
= wxString_in_helper(obj2
);
28813 if (arg3
== NULL
) SWIG_fail
;
28818 arg4
= wxString_in_helper(obj3
);
28819 if (arg4
== NULL
) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= wxPyMake_wxObject(result
);
28855 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxMenu
*arg1
= (wxMenu
*) 0 ;
28859 wxString
*arg3
= 0 ;
28860 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28862 wxMenuItem
*result
;
28863 bool temp3
= False
;
28864 bool temp4
= False
;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 PyObject
* obj2
= 0 ;
28868 PyObject
* obj3
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 arg2
= (int) SWIG_AsInt(obj1
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 arg3
= wxString_in_helper(obj2
);
28880 if (arg3
== NULL
) SWIG_fail
;
28885 arg4
= wxString_in_helper(obj3
);
28886 if (arg4
== NULL
) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= wxPyMake_wxObject(result
);
28922 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxMenu
*arg1
= (wxMenu
*) 0 ;
28926 wxString
*arg3
= 0 ;
28927 wxMenu
*arg4
= (wxMenu
*) 0 ;
28928 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28929 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28930 wxMenuItem
*result
;
28931 bool temp3
= False
;
28932 bool temp5
= False
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 PyObject
* obj2
= 0 ;
28936 PyObject
* obj3
= 0 ;
28937 PyObject
* obj4
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28945 arg2
= (int) SWIG_AsInt(obj1
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 arg3
= wxString_in_helper(obj2
);
28949 if (arg3
== NULL
) SWIG_fail
;
28952 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 arg5
= wxString_in_helper(obj4
);
28957 if (arg5
== NULL
) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= wxPyMake_wxObject(result
);
28993 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxMenu
*arg1
= (wxMenu
*) 0 ;
28996 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28997 wxMenuItem
*result
;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "item", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= wxPyMake_wxObject(result
);
29025 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
;
29027 wxMenu
*arg1
= (wxMenu
*) 0 ;
29028 PyObject
* obj0
= 0 ;
29029 char *kwnames
[] = {
29030 (char *) "self", NULL
29033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 Py_INCREF(Py_None
); resultobj
= Py_None
;
29050 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxMenu
*arg1
= (wxMenu
*) 0 ;
29054 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29055 wxMenuItem
*result
;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 PyObject
* obj2
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "pos",(char *) "item", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29066 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29068 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= wxPyMake_wxObject(result
);
29086 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxMenu
*arg1
= (wxMenu
*) 0 ;
29091 wxString
*arg4
= 0 ;
29092 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29093 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29094 int arg6
= (int) wxITEM_NORMAL
;
29095 wxMenuItem
*result
;
29096 bool temp4
= False
;
29097 bool temp5
= False
;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 PyObject
* obj2
= 0 ;
29101 PyObject
* obj3
= 0 ;
29102 PyObject
* obj4
= 0 ;
29103 PyObject
* obj5
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29111 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29113 arg3
= (int) SWIG_AsInt(obj2
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 arg4
= wxString_in_helper(obj3
);
29117 if (arg4
== NULL
) SWIG_fail
;
29122 arg5
= wxString_in_helper(obj4
);
29123 if (arg5
== NULL
) SWIG_fail
;
29128 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= wxPyMake_wxObject(result
);
29163 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
;
29165 wxMenu
*arg1
= (wxMenu
*) 0 ;
29167 wxMenuItem
*result
;
29168 PyObject
* obj0
= 0 ;
29169 PyObject
* obj1
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "self",(char *) "pos", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29177 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= wxPyMake_wxObject(result
);
29195 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxMenu
*arg1
= (wxMenu
*) 0 ;
29200 wxString
*arg4
= 0 ;
29201 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29202 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29203 wxMenuItem
*result
;
29204 bool temp4
= False
;
29205 bool temp5
= False
;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 PyObject
* obj2
= 0 ;
29209 PyObject
* obj3
= 0 ;
29210 PyObject
* obj4
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29220 arg3
= (int) SWIG_AsInt(obj2
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 arg4
= wxString_in_helper(obj3
);
29224 if (arg4
== NULL
) SWIG_fail
;
29229 arg5
= wxString_in_helper(obj4
);
29230 if (arg5
== NULL
) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= wxPyMake_wxObject(result
);
29266 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxMenu
*arg1
= (wxMenu
*) 0 ;
29271 wxString
*arg4
= 0 ;
29272 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29273 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29274 wxMenuItem
*result
;
29275 bool temp4
= False
;
29276 bool temp5
= False
;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 PyObject
* obj3
= 0 ;
29281 PyObject
* obj4
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29289 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29291 arg3
= (int) SWIG_AsInt(obj2
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 arg4
= wxString_in_helper(obj3
);
29295 if (arg4
== NULL
) SWIG_fail
;
29300 arg5
= wxString_in_helper(obj4
);
29301 if (arg5
== NULL
) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= wxPyMake_wxObject(result
);
29337 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29339 wxMenu
*arg1
= (wxMenu
*) 0 ;
29342 wxString
*arg4
= 0 ;
29343 wxMenu
*arg5
= (wxMenu
*) 0 ;
29344 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29345 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29346 wxMenuItem
*result
;
29347 bool temp4
= False
;
29348 bool temp6
= False
;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 PyObject
* obj2
= 0 ;
29352 PyObject
* obj3
= 0 ;
29353 PyObject
* obj4
= 0 ;
29354 PyObject
* obj5
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29362 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29364 arg3
= (int) SWIG_AsInt(obj2
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29367 arg4
= wxString_in_helper(obj3
);
29368 if (arg4
== NULL
) SWIG_fail
;
29371 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 arg6
= wxString_in_helper(obj5
);
29376 if (arg6
== NULL
) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 resultobj
= wxPyMake_wxObject(result
);
29412 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxMenu
*arg1
= (wxMenu
*) 0 ;
29415 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29416 wxMenuItem
*result
;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "item", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= wxPyMake_wxObject(result
);
29444 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxMenu
*arg1
= (wxMenu
*) 0 ;
29448 wxString
*arg3
= 0 ;
29449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29451 int arg5
= (int) wxITEM_NORMAL
;
29452 wxMenuItem
*result
;
29453 bool temp3
= False
;
29454 bool temp4
= False
;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 PyObject
* obj2
= 0 ;
29458 PyObject
* obj3
= 0 ;
29459 PyObject
* obj4
= 0 ;
29460 char *kwnames
[] = {
29461 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29467 arg2
= (int) SWIG_AsInt(obj1
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 arg3
= wxString_in_helper(obj2
);
29471 if (arg3
== NULL
) SWIG_fail
;
29476 arg4
= wxString_in_helper(obj3
);
29477 if (arg4
== NULL
) SWIG_fail
;
29482 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= wxPyMake_wxObject(result
);
29517 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
;
29519 wxMenu
*arg1
= (wxMenu
*) 0 ;
29520 wxMenuItem
*result
;
29521 PyObject
* obj0
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= wxPyMake_wxObject(result
);
29545 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxMenu
*arg1
= (wxMenu
*) 0 ;
29549 wxString
*arg3
= 0 ;
29550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29552 wxMenuItem
*result
;
29553 bool temp3
= False
;
29554 bool temp4
= False
;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 PyObject
* obj2
= 0 ;
29558 PyObject
* obj3
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 arg2
= (int) SWIG_AsInt(obj1
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 arg3
= wxString_in_helper(obj2
);
29570 if (arg3
== NULL
) SWIG_fail
;
29575 arg4
= wxString_in_helper(obj3
);
29576 if (arg4
== NULL
) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= wxPyMake_wxObject(result
);
29612 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxMenu
*arg1
= (wxMenu
*) 0 ;
29616 wxString
*arg3
= 0 ;
29617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29619 wxMenuItem
*result
;
29620 bool temp3
= False
;
29621 bool temp4
= False
;
29622 PyObject
* obj0
= 0 ;
29623 PyObject
* obj1
= 0 ;
29624 PyObject
* obj2
= 0 ;
29625 PyObject
* obj3
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29633 arg2
= (int) SWIG_AsInt(obj1
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 arg3
= wxString_in_helper(obj2
);
29637 if (arg3
== NULL
) SWIG_fail
;
29642 arg4
= wxString_in_helper(obj3
);
29643 if (arg4
== NULL
) SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= wxPyMake_wxObject(result
);
29679 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxMenu
*arg1
= (wxMenu
*) 0 ;
29683 wxString
*arg3
= 0 ;
29684 wxMenu
*arg4
= (wxMenu
*) 0 ;
29685 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29686 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29687 wxMenuItem
*result
;
29688 bool temp3
= False
;
29689 bool temp5
= False
;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 PyObject
* obj2
= 0 ;
29693 PyObject
* obj3
= 0 ;
29694 PyObject
* obj4
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29702 arg2
= (int) SWIG_AsInt(obj1
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 arg3
= wxString_in_helper(obj2
);
29706 if (arg3
== NULL
) SWIG_fail
;
29709 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 arg5
= wxString_in_helper(obj4
);
29714 if (arg5
== NULL
) SWIG_fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= wxPyMake_wxObject(result
);
29750 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxMenu
*arg1
= (wxMenu
*) 0 ;
29754 wxMenuItem
*result
;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "id", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29764 arg2
= (int) SWIG_AsInt(obj1
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= wxPyMake_wxObject(result
);
29782 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxMenu
*arg1
= (wxMenu
*) 0 ;
29785 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29786 wxMenuItem
*result
;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self",(char *) "item", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= wxPyMake_wxObject(result
);
29814 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxMenu
*arg1
= (wxMenu
*) 0 ;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 char *kwnames
[] = {
29822 (char *) "self",(char *) "id", NULL
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29828 arg2
= (int) SWIG_AsInt(obj1
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (bool)(arg1
)->Delete(arg2
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29846 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxMenu
*arg1
= (wxMenu
*) 0 ;
29849 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 char *kwnames
[] = {
29854 (char *) "self",(char *) "item", NULL
29857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (bool)(arg1
)->Delete(arg2
);
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29878 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
;
29880 wxMenu
*arg1
= (wxMenu
*) 0 ;
29881 PyObject
* obj0
= 0 ;
29882 char *kwnames
[] = {
29883 (char *) "self", NULL
29886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 wxMenu_Destroy(arg1
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 Py_INCREF(Py_None
); resultobj
= Py_None
;
29903 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29904 PyObject
*resultobj
;
29905 wxMenu
*arg1
= (wxMenu
*) 0 ;
29908 PyObject
* obj0
= 0 ;
29909 PyObject
* obj1
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self",(char *) "id", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29917 arg2
= (int) SWIG_AsInt(obj1
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 result
= (bool)(arg1
)->Destroy(arg2
);
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29935 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29936 PyObject
*resultobj
;
29937 wxMenu
*arg1
= (wxMenu
*) 0 ;
29938 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self",(char *) "item", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (bool)(arg1
)->Destroy(arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29967 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxMenu
*arg1
= (wxMenu
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29993 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxMenu
*arg1
= (wxMenu
*) 0 ;
29997 PyObject
* obj0
= 0 ;
29998 char *kwnames
[] = {
29999 (char *) "self", NULL
30002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30012 resultobj
= result
;
30019 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxMenu
*arg1
= (wxMenu
*) 0 ;
30022 wxString
*arg2
= 0 ;
30024 bool temp2
= False
;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "item", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30035 arg2
= wxString_in_helper(obj1
);
30036 if (arg2
== NULL
) SWIG_fail
;
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_FromInt((int)result
);
30061 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
;
30063 wxMenu
*arg1
= (wxMenu
*) 0 ;
30065 wxMenuItem
*result
;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self",(char *) "id", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 arg2
= (int) SWIG_AsInt(obj1
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= wxPyMake_wxObject(result
);
30093 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxMenu
*arg1
= (wxMenu
*) 0 ;
30097 wxMenuItem
*result
;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "position", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30107 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30117 resultobj
= wxPyMake_wxObject(result
);
30125 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxMenu
*arg1
= (wxMenu
*) 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 PyObject
* obj2
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self",(char *) "id",(char *) "enable", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30140 arg2
= (int) SWIG_AsInt(obj1
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30142 arg3
= (bool) SWIG_AsBool(obj2
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 (arg1
)->Enable(arg2
,arg3
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 Py_INCREF(Py_None
); resultobj
= Py_None
;
30158 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxMenu
*arg1
= (wxMenu
*) 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 char *kwnames
[] = {
30166 (char *) "self",(char *) "id", NULL
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30172 arg2
= (int) SWIG_AsInt(obj1
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30190 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxMenu
*arg1
= (wxMenu
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 PyObject
* obj2
= 0 ;
30198 char *kwnames
[] = {
30199 (char *) "self",(char *) "id",(char *) "check", NULL
30202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30205 arg2
= (int) SWIG_AsInt(obj1
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30207 arg3
= (bool) SWIG_AsBool(obj2
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 (arg1
)->Check(arg2
,arg3
);
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 Py_INCREF(Py_None
); resultobj
= Py_None
;
30223 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
;
30225 wxMenu
*arg1
= (wxMenu
*) 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "id", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30237 arg2
= (int) SWIG_AsInt(obj1
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30255 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxMenu
*arg1
= (wxMenu
*) 0 ;
30259 wxString
*arg3
= 0 ;
30260 bool temp3
= False
;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 PyObject
* obj2
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "id",(char *) "label", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30271 arg2
= (int) SWIG_AsInt(obj1
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 arg3
= wxString_in_helper(obj2
);
30275 if (arg3
== NULL
) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 Py_INCREF(Py_None
); resultobj
= Py_None
;
30300 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
;
30302 wxMenu
*arg1
= (wxMenu
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char *kwnames
[] = {
30308 (char *) "self",(char *) "id", NULL
30311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 arg2
= (int) SWIG_AsInt(obj1
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30336 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxMenu
*arg1
= (wxMenu
*) 0 ;
30340 wxString
*arg3
= 0 ;
30341 bool temp3
= False
;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "id",(char *) "helpString", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 arg2
= (int) SWIG_AsInt(obj1
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 arg3
= wxString_in_helper(obj2
);
30356 if (arg3
== NULL
) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 Py_INCREF(Py_None
); resultobj
= Py_None
;
30381 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxMenu
*arg1
= (wxMenu
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "id", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 arg2
= (int) SWIG_AsInt(obj1
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30417 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxMenu
*arg1
= (wxMenu
*) 0 ;
30420 wxString
*arg2
= 0 ;
30421 bool temp2
= False
;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self",(char *) "title", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 arg2
= wxString_in_helper(obj1
);
30433 if (arg2
== NULL
) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 (arg1
)->SetTitle((wxString
const &)*arg2
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxMenu
*arg1
= (wxMenu
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= ((wxMenu
const *)arg1
)->GetTitle();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30490 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxMenu
*arg1
= (wxMenu
*) 0 ;
30493 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char *kwnames
[] = {
30497 (char *) "self",(char *) "handler", NULL
30500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 (arg1
)->SetEventHandler(arg2
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30520 PyObject
*resultobj
;
30521 wxMenu
*arg1
= (wxMenu
*) 0 ;
30522 wxEvtHandler
*result
;
30523 PyObject
* obj0
= 0 ;
30524 char *kwnames
[] = {
30525 (char *) "self", NULL
30528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= wxPyMake_wxObject(result
);
30547 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
;
30549 wxMenu
*arg1
= (wxMenu
*) 0 ;
30550 wxWindow
*arg2
= (wxWindow
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "win", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->SetInvokingWindow(arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30576 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 char *kwnames
[] = {
30582 (char *) "self", NULL
30585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= wxPyMake_wxObject(result
);
30604 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxMenu
*arg1
= (wxMenu
*) 0 ;
30608 PyObject
* obj0
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_FromLong((long)result
);
30630 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
;
30632 wxMenu
*arg1
= (wxMenu
*) 0 ;
30633 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 char *kwnames
[] = {
30637 (char *) "self",(char *) "source", NULL
30640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 (arg1
)->UpdateUI(arg2
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 Py_INCREF(Py_None
); resultobj
= Py_None
;
30661 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxMenu
*arg1
= (wxMenu
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= wxPyMake_wxObject(result
);
30689 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
;
30691 wxMenu
*arg1
= (wxMenu
*) 0 ;
30692 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self",(char *) "menubar", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 (arg1
)->Attach(arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 Py_INCREF(Py_None
); resultobj
= Py_None
;
30718 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxMenu
*arg1
= (wxMenu
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 Py_INCREF(Py_None
); resultobj
= Py_None
;
30743 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxMenu
*arg1
= (wxMenu
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "self", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30771 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
;
30773 wxMenu
*arg1
= (wxMenu
*) 0 ;
30774 wxMenu
*arg2
= (wxMenu
*) 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "parent", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 (arg1
)->SetParent(arg2
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 Py_INCREF(Py_None
); resultobj
= Py_None
;
30800 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxMenu
*arg1
= (wxMenu
*) 0 ;
30804 PyObject
* obj0
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= wxPyMake_wxObject(result
);
30828 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30831 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30833 return Py_BuildValue((char *)"");
30835 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 long arg1
= (long) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "style", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30846 arg1
= (long) SWIG_AsLong(obj0
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30857 resultobj
= wxPyMake_wxObject(result
);
30865 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30868 wxMenu
*arg2
= (wxMenu
*) 0 ;
30869 wxString
*arg3
= 0 ;
30871 bool temp3
= False
;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 PyObject
* obj2
= 0 ;
30875 char *kwnames
[] = {
30876 (char *) "self",(char *) "menu",(char *) "title", NULL
30879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30885 arg3
= wxString_in_helper(obj2
);
30886 if (arg3
== NULL
) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30913 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
;
30915 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30917 wxMenu
*arg3
= (wxMenu
*) 0 ;
30918 wxString
*arg4
= 0 ;
30920 bool temp4
= False
;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 PyObject
* obj2
= 0 ;
30924 PyObject
* obj3
= 0 ;
30925 char *kwnames
[] = {
30926 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30932 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30937 arg4
= wxString_in_helper(obj3
);
30938 if (arg4
== NULL
) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30991 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
;
30993 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self",(char *) "pos", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31005 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= wxPyMake_wxObject(result
);
31023 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31027 wxMenu
*arg3
= (wxMenu
*) 0 ;
31028 wxString
*arg4
= 0 ;
31030 bool temp4
= False
;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 PyObject
* obj2
= 0 ;
31034 PyObject
* obj3
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31042 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31044 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31047 arg4
= wxString_in_helper(obj3
);
31048 if (arg4
== NULL
) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= wxPyMake_wxObject(result
);
31075 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
;
31077 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31080 PyObject
* obj0
= 0 ;
31081 PyObject
* obj1
= 0 ;
31082 char *kwnames
[] = {
31083 (char *) "self",(char *) "pos", NULL
31086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= wxPyMake_wxObject(result
);
31107 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
;
31109 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 PyObject
* obj2
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self",(char *) "pos",(char *) "enable", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31124 arg3
= (bool) SWIG_AsBool(obj2
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 (arg1
)->EnableTop(arg2
,arg3
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 Py_INCREF(Py_None
); resultobj
= Py_None
;
31140 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31145 PyObject
* obj0
= 0 ;
31146 PyObject
* obj1
= 0 ;
31147 char *kwnames
[] = {
31148 (char *) "self",(char *) "pos", NULL
31151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31154 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31172 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
;
31174 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31176 wxString
*arg3
= 0 ;
31177 bool temp3
= False
;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 PyObject
* obj2
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "pos",(char *) "label", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31188 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31191 arg3
= wxString_in_helper(obj2
);
31192 if (arg3
== NULL
) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 Py_INCREF(Py_None
); resultobj
= Py_None
;
31217 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31222 PyObject
* obj0
= 0 ;
31223 PyObject
* obj1
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self",(char *) "pos", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31231 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31253 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31256 wxString
*arg2
= 0 ;
31257 wxString
*arg3
= 0 ;
31259 bool temp2
= False
;
31260 bool temp3
= False
;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 PyObject
* obj2
= 0 ;
31264 char *kwnames
[] = {
31265 (char *) "self",(char *) "menu",(char *) "item", NULL
31268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31272 arg2
= wxString_in_helper(obj1
);
31273 if (arg2
== NULL
) SWIG_fail
;
31277 arg3
= wxString_in_helper(obj2
);
31278 if (arg3
== NULL
) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= SWIG_FromInt((int)result
);
31311 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
;
31313 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31315 wxMenuItem
*result
;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self",(char *) "id", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31325 arg2
= (int) SWIG_AsInt(obj1
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= wxPyMake_wxObject(result
);
31343 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
;
31345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31346 wxString
*arg2
= 0 ;
31348 bool temp2
= False
;
31349 PyObject
* obj0
= 0 ;
31350 PyObject
* obj1
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self",(char *) "title", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31359 arg2
= wxString_in_helper(obj1
);
31360 if (arg2
== NULL
) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_FromInt((int)result
);
31385 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 PyObject
* obj2
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self",(char *) "id",(char *) "enable", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31400 arg2
= (int) SWIG_AsInt(obj1
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31402 arg3
= (bool) SWIG_AsBool(obj2
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 (arg1
)->Enable(arg2
,arg3
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 Py_INCREF(Py_None
); resultobj
= Py_None
;
31418 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 PyObject
* obj2
= 0 ;
31426 char *kwnames
[] = {
31427 (char *) "self",(char *) "id",(char *) "check", NULL
31430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 arg2
= (int) SWIG_AsInt(obj1
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31435 arg3
= (bool) SWIG_AsBool(obj2
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 (arg1
)->Check(arg2
,arg3
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 Py_INCREF(Py_None
); resultobj
= Py_None
;
31451 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
;
31453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 PyObject
* obj1
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self",(char *) "id", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31465 arg2
= (int) SWIG_AsInt(obj1
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31483 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
;
31485 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "id", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31497 arg2
= (int) SWIG_AsInt(obj1
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31515 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31519 wxString
*arg3
= 0 ;
31520 bool temp3
= False
;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 PyObject
* obj2
= 0 ;
31524 char *kwnames
[] = {
31525 (char *) "self",(char *) "id",(char *) "label", NULL
31528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31531 arg2
= (int) SWIG_AsInt(obj1
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 arg3
= wxString_in_helper(obj2
);
31535 if (arg3
== NULL
) SWIG_fail
;
31539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31545 Py_INCREF(Py_None
); resultobj
= Py_None
;
31560 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
;
31562 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self",(char *) "id", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31574 arg2
= (int) SWIG_AsInt(obj1
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31596 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31600 wxString
*arg3
= 0 ;
31601 bool temp3
= False
;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 PyObject
* obj2
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self",(char *) "id",(char *) "helpString", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31612 arg2
= (int) SWIG_AsInt(obj1
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 arg3
= wxString_in_helper(obj2
);
31616 if (arg3
== NULL
) SWIG_fail
;
31620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31626 Py_INCREF(Py_None
); resultobj
= Py_None
;
31641 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
;
31643 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31646 PyObject
* obj0
= 0 ;
31647 PyObject
* obj1
= 0 ;
31648 char *kwnames
[] = {
31649 (char *) "self",(char *) "id", NULL
31652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31655 arg2
= (int) SWIG_AsInt(obj1
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31659 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31677 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31681 PyObject
* obj0
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "self", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= wxPyMake_wxObject(result
);
31705 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
;
31707 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31709 PyObject
* obj0
= 0 ;
31710 char *kwnames
[] = {
31711 (char *) "self", NULL
31714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31733 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31736 wxFrame
*arg2
= (wxFrame
*) 0 ;
31737 PyObject
* obj0
= 0 ;
31738 PyObject
* obj1
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self",(char *) "frame", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 (arg1
)->Attach(arg2
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 Py_INCREF(Py_None
); resultobj
= Py_None
;
31762 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31765 PyObject
* obj0
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 Py_INCREF(Py_None
); resultobj
= Py_None
;
31787 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31790 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31792 return Py_BuildValue((char *)"");
31794 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxMenu
*arg1
= (wxMenu
*) NULL
;
31797 int arg2
= (int) wxID_ANY
;
31798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31802 int arg5
= (int) wxITEM_NORMAL
;
31803 wxMenu
*arg6
= (wxMenu
*) NULL
;
31804 wxMenuItem
*result
;
31805 bool temp3
= False
;
31806 bool temp4
= False
;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 PyObject
* obj3
= 0 ;
31811 PyObject
* obj4
= 0 ;
31812 PyObject
* obj5
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31823 arg2
= (int) SWIG_AsInt(obj1
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31828 arg3
= wxString_in_helper(obj2
);
31829 if (arg3
== NULL
) SWIG_fail
;
31835 arg4
= wxString_in_helper(obj3
);
31836 if (arg4
== NULL
) SWIG_fail
;
31841 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31845 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= wxPyMake_wxObject(result
);
31880 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31881 PyObject
*resultobj
;
31882 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31884 PyObject
* obj0
= 0 ;
31885 char *kwnames
[] = {
31886 (char *) "self", NULL
31889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= wxPyMake_wxObject(result
);
31908 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31909 PyObject
*resultobj
;
31910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31911 wxMenu
*arg2
= (wxMenu
*) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 char *kwnames
[] = {
31915 (char *) "self",(char *) "menu", NULL
31918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 (arg1
)->SetMenu(arg2
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 Py_INCREF(Py_None
); resultobj
= Py_None
;
31937 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 char *kwnames
[] = {
31944 (char *) "self",(char *) "id", NULL
31947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31950 arg2
= (int) SWIG_AsInt(obj1
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 (arg1
)->SetId(arg2
);
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 Py_INCREF(Py_None
); resultobj
= Py_None
;
31966 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
;
31968 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31970 PyObject
* obj0
= 0 ;
31971 char *kwnames
[] = {
31972 (char *) "self", NULL
31975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_FromInt((int)result
);
31992 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
;
31994 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31996 PyObject
* obj0
= 0 ;
31997 char *kwnames
[] = {
31998 (char *) "self", NULL
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32020 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
;
32022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32023 wxString
*arg2
= 0 ;
32024 bool temp2
= False
;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "self",(char *) "str", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32035 arg2
= wxString_in_helper(obj1
);
32036 if (arg2
== NULL
) SWIG_fail
;
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 (arg1
)->SetText((wxString
const &)*arg2
);
32043 wxPyEndAllowThreads(__tstate
);
32044 if (PyErr_Occurred()) SWIG_fail
;
32046 Py_INCREF(Py_None
); resultobj
= Py_None
;
32061 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32062 PyObject
*resultobj
;
32063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 char *kwnames
[] = {
32067 (char *) "self", NULL
32070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32093 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
;
32095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 PyObject
* obj0
= 0 ;
32098 char *kwnames
[] = {
32099 (char *) "self", NULL
32102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32109 result
= (wxString
*) &_result_ref
;
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32128 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32129 PyObject
*resultobj
;
32130 wxString
*arg1
= 0 ;
32132 bool temp1
= False
;
32133 PyObject
* obj0
= 0 ;
32134 char *kwnames
[] = {
32135 (char *) "text", NULL
32138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32140 arg1
= wxString_in_helper(obj0
);
32141 if (arg1
== NULL
) SWIG_fail
;
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32172 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= SWIG_FromInt((int)result
);
32198 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 char *kwnames
[] = {
32205 (char *) "self",(char *) "kind", NULL
32208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32211 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 (arg1
)->SetKind((wxItemKind
)arg2
);
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32220 Py_INCREF(Py_None
); resultobj
= Py_None
;
32227 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32228 PyObject
*resultobj
;
32229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32231 PyObject
* obj0
= 0 ;
32232 PyObject
* obj1
= 0 ;
32233 char *kwnames
[] = {
32234 (char *) "self",(char *) "checkable", NULL
32237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32240 arg2
= (bool) SWIG_AsBool(obj1
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 (arg1
)->SetCheckable(arg2
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32249 Py_INCREF(Py_None
); resultobj
= Py_None
;
32256 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32257 PyObject
*resultobj
;
32258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32260 PyObject
* obj0
= 0 ;
32261 char *kwnames
[] = {
32262 (char *) "self", NULL
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32284 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32288 PyObject
* obj0
= 0 ;
32289 char *kwnames
[] = {
32290 (char *) "self", NULL
32293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32312 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
;
32314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32315 wxMenu
*arg2
= (wxMenu
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char *kwnames
[] = {
32319 (char *) "self",(char *) "menu", NULL
32322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 (arg1
)->SetSubMenu(arg2
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 Py_INCREF(Py_None
); resultobj
= Py_None
;
32341 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
;
32343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32345 PyObject
* obj0
= 0 ;
32346 char *kwnames
[] = {
32347 (char *) "self", NULL
32350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= wxPyMake_wxObject(result
);
32369 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32372 bool arg2
= (bool) True
;
32373 PyObject
* obj0
= 0 ;
32374 PyObject
* obj1
= 0 ;
32375 char *kwnames
[] = {
32376 (char *) "self",(char *) "enable", NULL
32379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32383 arg2
= (bool) SWIG_AsBool(obj1
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32388 (arg1
)->Enable(arg2
);
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 Py_INCREF(Py_None
); resultobj
= Py_None
;
32400 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
;
32402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 char *kwnames
[] = {
32406 (char *) "self", NULL
32409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32428 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32429 PyObject
*resultobj
;
32430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32431 bool arg2
= (bool) True
;
32432 PyObject
* obj0
= 0 ;
32433 PyObject
* obj1
= 0 ;
32434 char *kwnames
[] = {
32435 (char *) "self",(char *) "check", NULL
32438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32442 arg2
= (bool) SWIG_AsBool(obj1
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 (arg1
)->Check(arg2
);
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 Py_INCREF(Py_None
); resultobj
= Py_None
;
32459 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
;
32461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32463 PyObject
* obj0
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "self", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32487 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 Py_INCREF(Py_None
); resultobj
= Py_None
;
32512 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32515 wxString
*arg2
= 0 ;
32516 bool temp2
= False
;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self",(char *) "str", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32527 arg2
= wxString_in_helper(obj1
);
32528 if (arg2
== NULL
) SWIG_fail
;
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 (arg1
)->SetHelp((wxString
const &)*arg2
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 Py_INCREF(Py_None
); resultobj
= Py_None
;
32553 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 char *kwnames
[] = {
32559 (char *) "self", NULL
32562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32569 result
= (wxString
*) &_result_ref
;
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32588 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
;
32590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32591 wxAcceleratorEntry
*result
;
32592 PyObject
* obj0
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32614 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32617 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self",(char *) "accel", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 (arg1
)->SetAccel(arg2
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 Py_INCREF(Py_None
); resultobj
= Py_None
;
32643 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
;
32645 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self",(char *) "font", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32659 if (arg2
== NULL
) {
32660 PyErr_SetString(PyExc_TypeError
,"null reference");
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 (arg1
)->SetFont((wxFont
const &)*arg2
);
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32670 Py_INCREF(Py_None
); resultobj
= Py_None
;
32677 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32678 PyObject
*resultobj
;
32679 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32681 PyObject
* obj0
= 0 ;
32682 char *kwnames
[] = {
32683 (char *) "self", NULL
32686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 result
= (arg1
)->GetFont();
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32697 wxFont
* resultptr
;
32698 resultptr
= new wxFont((wxFont
&) result
);
32699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32707 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
;
32709 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32710 wxColour
*arg2
= 0 ;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 char *kwnames
[] = {
32715 (char *) "self",(char *) "colText", NULL
32718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 Py_INCREF(Py_None
); resultobj
= Py_None
;
32739 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (arg1
)->GetTextColour();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32759 wxColour
* resultptr
;
32760 resultptr
= new wxColour((wxColour
&) result
);
32761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32769 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32770 PyObject
*resultobj
;
32771 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32772 wxColour
*arg2
= 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 char *kwnames
[] = {
32777 (char *) "self",(char *) "colBack", NULL
32780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32789 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 Py_INCREF(Py_None
); resultobj
= Py_None
;
32801 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32802 PyObject
*resultobj
;
32803 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32805 PyObject
* obj0
= 0 ;
32806 char *kwnames
[] = {
32807 (char *) "self", NULL
32810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= (arg1
)->GetBackgroundColour();
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32821 wxColour
* resultptr
;
32822 resultptr
= new wxColour((wxColour
&) result
);
32823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32831 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32834 wxBitmap
*arg2
= 0 ;
32835 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32836 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32837 PyObject
* obj0
= 0 ;
32838 PyObject
* obj1
= 0 ;
32839 PyObject
* obj2
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32850 if (arg2
== NULL
) {
32851 PyErr_SetString(PyExc_TypeError
,"null reference");
32855 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32858 if (arg3
== NULL
) {
32859 PyErr_SetString(PyExc_TypeError
,"null reference");
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 Py_INCREF(Py_None
); resultobj
= Py_None
;
32877 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
;
32879 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32880 wxBitmap
*arg2
= 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 char *kwnames
[] = {
32884 (char *) "self",(char *) "bmpDisabled", NULL
32887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32893 if (arg2
== NULL
) {
32894 PyErr_SetString(PyExc_TypeError
,"null reference");
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 Py_INCREF(Py_None
); resultobj
= Py_None
;
32911 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32927 result
= (wxBitmap
*) &_result_ref
;
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32934 wxBitmap
* resultptr
= new wxBitmap(*result
);
32935 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32943 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self",(char *) "nWidth", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32956 arg2
= (int) SWIG_AsInt(obj1
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetMarginWidth(arg2
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 Py_INCREF(Py_None
); resultobj
= Py_None
;
32972 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (int)(arg1
)->GetMarginWidth();
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 resultobj
= SWIG_FromInt((int)result
);
32998 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33001 char *kwnames
[] = {
33005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 resultobj
= SWIG_FromInt((int)result
);
33020 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= (bool)(arg1
)->IsOwnerDrawn();
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33048 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33051 bool arg2
= (bool) True
;
33052 PyObject
* obj0
= 0 ;
33053 PyObject
* obj1
= 0 ;
33054 char *kwnames
[] = {
33055 (char *) "self",(char *) "ownerDrawn", NULL
33058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33062 arg2
= (bool) SWIG_AsBool(obj1
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 (arg1
)->SetOwnerDrawn(arg2
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 Py_INCREF(Py_None
); resultobj
= Py_None
;
33079 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33082 PyObject
* obj0
= 0 ;
33083 char *kwnames
[] = {
33084 (char *) "self", NULL
33087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 (arg1
)->ResetOwnerDrawn();
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 Py_INCREF(Py_None
); resultobj
= Py_None
;
33104 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
;
33106 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33107 wxBitmap
*arg2
= 0 ;
33108 PyObject
* obj0
= 0 ;
33109 PyObject
* obj1
= 0 ;
33110 char *kwnames
[] = {
33111 (char *) "self",(char *) "bitmap", NULL
33114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33120 if (arg2
== NULL
) {
33121 PyErr_SetString(PyExc_TypeError
,"null reference");
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 Py_INCREF(Py_None
); resultobj
= Py_None
;
33138 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33142 PyObject
* obj0
= 0 ;
33143 char *kwnames
[] = {
33144 (char *) "self", NULL
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33154 result
= (wxBitmap
*) &_result_ref
;
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33161 wxBitmap
* resultptr
= new wxBitmap(*result
);
33162 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33170 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33173 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33175 return Py_BuildValue((char *)"");
33177 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33178 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33183 static PyObject
*_wrap_ControlNameStr_get() {
33188 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33190 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33197 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33199 wxWindow
*arg1
= (wxWindow
*) 0 ;
33201 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33202 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33203 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33204 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33205 long arg5
= (long) 0 ;
33206 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33207 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33208 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33213 bool temp7
= False
;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 PyObject
* obj2
= 0 ;
33217 PyObject
* obj3
= 0 ;
33218 PyObject
* obj4
= 0 ;
33219 PyObject
* obj5
= 0 ;
33220 PyObject
* obj6
= 0 ;
33221 char *kwnames
[] = {
33222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33228 arg2
= (int) SWIG_AsInt(obj1
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33233 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33239 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33243 arg5
= (long) SWIG_AsLong(obj4
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33247 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33250 if (arg6
== NULL
) {
33251 PyErr_SetString(PyExc_TypeError
,"null reference");
33257 arg7
= wxString_in_helper(obj6
);
33258 if (arg7
== NULL
) SWIG_fail
;
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= wxPyMake_wxObject(result
);
33286 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33289 char *kwnames
[] = {
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= (wxControl
*)new wxControl();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= wxPyMake_wxObject(result
);
33310 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
;
33312 wxControl
*arg1
= (wxControl
*) 0 ;
33313 wxWindow
*arg2
= (wxWindow
*) 0 ;
33315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33319 long arg6
= (long) 0 ;
33320 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33321 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33322 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33327 bool temp8
= False
;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33330 PyObject
* obj2
= 0 ;
33331 PyObject
* obj3
= 0 ;
33332 PyObject
* obj4
= 0 ;
33333 PyObject
* obj5
= 0 ;
33334 PyObject
* obj6
= 0 ;
33335 PyObject
* obj7
= 0 ;
33336 char *kwnames
[] = {
33337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33345 arg3
= (int) SWIG_AsInt(obj2
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33356 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33360 arg6
= (long) SWIG_AsLong(obj5
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33364 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33367 if (arg7
== NULL
) {
33368 PyErr_SetString(PyExc_TypeError
,"null reference");
33374 arg8
= wxString_in_helper(obj7
);
33375 if (arg8
== NULL
) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33403 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
;
33405 wxControl
*arg1
= (wxControl
*) 0 ;
33406 wxCommandEvent
*arg2
= 0 ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 char *kwnames
[] = {
33410 (char *) "self",(char *) "event", NULL
33413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33419 if (arg2
== NULL
) {
33420 PyErr_SetString(PyExc_TypeError
,"null reference");
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 (arg1
)->Command(*arg2
);
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 Py_INCREF(Py_None
); resultobj
= Py_None
;
33437 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
;
33439 wxControl
*arg1
= (wxControl
*) 0 ;
33441 PyObject
* obj0
= 0 ;
33442 char *kwnames
[] = {
33443 (char *) "self", NULL
33446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (arg1
)->GetLabel();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33469 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33470 PyObject
*resultobj
;
33471 wxControl
*arg1
= (wxControl
*) 0 ;
33472 wxString
*arg2
= 0 ;
33473 bool temp2
= False
;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 char *kwnames
[] = {
33477 (char *) "self",(char *) "label", NULL
33480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33484 arg2
= wxString_in_helper(obj1
);
33485 if (arg2
== NULL
) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 (arg1
)->SetLabel((wxString
const &)*arg2
);
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33495 Py_INCREF(Py_None
); resultobj
= Py_None
;
33510 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33511 PyObject
*resultobj
;
33512 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33513 wxVisualAttributes result
;
33514 PyObject
* obj0
= 0 ;
33515 char *kwnames
[] = {
33516 (char *) "variant", NULL
33519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33521 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33532 wxVisualAttributes
* resultptr
;
33533 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33542 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33545 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33547 return Py_BuildValue((char *)"");
33549 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
;
33551 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33552 wxString
*arg2
= 0 ;
33553 PyObject
*arg3
= (PyObject
*) NULL
;
33555 bool temp2
= False
;
33556 PyObject
* obj0
= 0 ;
33557 PyObject
* obj1
= 0 ;
33558 PyObject
* obj2
= 0 ;
33559 char *kwnames
[] = {
33560 (char *) "self",(char *) "item",(char *) "clientData", NULL
33563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33567 arg2
= wxString_in_helper(obj1
);
33568 if (arg2
== NULL
) SWIG_fail
;
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= SWIG_FromInt((int)result
);
33596 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33597 PyObject
*resultobj
;
33598 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33599 wxArrayString
*arg2
= 0 ;
33600 bool temp2
= False
;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 char *kwnames
[] = {
33604 (char *) "self",(char *) "strings", NULL
33607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33611 if (! PySequence_Check(obj1
)) {
33612 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33615 arg2
= new wxArrayString
;
33617 int i
, len
=PySequence_Length(obj1
);
33618 for (i
=0; i
<len
; i
++) {
33619 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33621 PyObject
* str
= PyObject_Unicode(item
);
33623 PyObject
* str
= PyObject_Str(item
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33626 arg2
->Add(Py2wxString(str
));
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 (arg1
)->Append((wxArrayString
const &)*arg2
);
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33638 Py_INCREF(Py_None
); resultobj
= Py_None
;
33640 if (temp2
) delete arg2
;
33645 if (temp2
) delete arg2
;
33651 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33654 wxString
*arg2
= 0 ;
33656 PyObject
*arg4
= (PyObject
*) NULL
;
33658 bool temp2
= False
;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 PyObject
* obj2
= 0 ;
33662 PyObject
* obj3
= 0 ;
33663 char *kwnames
[] = {
33664 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33671 arg2
= wxString_in_helper(obj1
);
33672 if (arg2
== NULL
) SWIG_fail
;
33675 arg3
= (int) SWIG_AsInt(obj2
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33682 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33684 wxPyEndAllowThreads(__tstate
);
33685 if (PyErr_Occurred()) SWIG_fail
;
33687 resultobj
= SWIG_FromInt((int)result
);
33702 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33703 PyObject
*resultobj
;
33704 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33705 PyObject
* obj0
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33720 Py_INCREF(Py_None
); resultobj
= Py_None
;
33727 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 char *kwnames
[] = {
33734 (char *) "self",(char *) "n", NULL
33737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33740 arg2
= (int) SWIG_AsInt(obj1
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33744 (arg1
)->Delete(arg2
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 Py_INCREF(Py_None
); resultobj
= Py_None
;
33756 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
;
33758 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 char *kwnames
[] = {
33762 (char *) "self", NULL
33765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= SWIG_FromInt((int)result
);
33782 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
;
33784 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33786 PyObject
* obj0
= 0 ;
33787 char *kwnames
[] = {
33788 (char *) "self", NULL
33791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33810 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
;
33812 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33815 PyObject
* obj0
= 0 ;
33816 PyObject
* obj1
= 0 ;
33817 char *kwnames
[] = {
33818 (char *) "self",(char *) "n", NULL
33821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33824 arg2
= (int) SWIG_AsInt(obj1
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33846 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
;
33848 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33849 wxArrayString result
;
33850 PyObject
* obj0
= 0 ;
33851 char *kwnames
[] = {
33852 (char *) "self", NULL
33855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= wxArrayString2PyList_helper(result
);
33874 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33875 PyObject
*resultobj
;
33876 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33878 wxString
*arg3
= 0 ;
33879 bool temp3
= False
;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 PyObject
* obj2
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self",(char *) "n",(char *) "s", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33890 arg2
= (int) SWIG_AsInt(obj1
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 arg3
= wxString_in_helper(obj2
);
33894 if (arg3
== NULL
) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33922 wxString
*arg2
= 0 ;
33924 bool temp2
= False
;
33925 PyObject
* obj0
= 0 ;
33926 PyObject
* obj1
= 0 ;
33927 char *kwnames
[] = {
33928 (char *) "self",(char *) "s", NULL
33931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33935 arg2
= wxString_in_helper(obj1
);
33936 if (arg2
== NULL
) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33946 resultobj
= SWIG_FromInt((int)result
);
33961 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33965 PyObject
* obj0
= 0 ;
33966 PyObject
* obj1
= 0 ;
33967 char *kwnames
[] = {
33968 (char *) "self",(char *) "n", NULL
33971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33974 arg2
= (int) SWIG_AsInt(obj1
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 (arg1
)->Select(arg2
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 Py_INCREF(Py_None
); resultobj
= Py_None
;
33990 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_FromInt((int)result
);
34016 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
;
34018 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34020 PyObject
* obj0
= 0 ;
34021 char *kwnames
[] = {
34022 (char *) "self", NULL
34025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34048 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
;
34050 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 char *kwnames
[] = {
34056 (char *) "self",(char *) "n", NULL
34059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34062 arg2
= (int) SWIG_AsInt(obj1
);
34063 if (PyErr_Occurred()) SWIG_fail
;
34065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34066 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= result
;
34078 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
;
34080 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34082 PyObject
*arg3
= (PyObject
*) 0 ;
34083 PyObject
* obj0
= 0 ;
34084 PyObject
* obj1
= 0 ;
34085 PyObject
* obj2
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "self",(char *) "n",(char *) "clientData", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34093 arg2
= (int) SWIG_AsInt(obj1
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34098 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 Py_INCREF(Py_None
); resultobj
= Py_None
;
34110 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34113 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34115 return Py_BuildValue((char *)"");
34117 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34120 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34122 return Py_BuildValue((char *)"");
34124 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
;
34126 wxSizerItem
*result
;
34127 char *kwnames
[] = {
34131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (wxSizerItem
*)new wxSizerItem();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34146 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34153 wxObject
*arg6
= (wxObject
*) 0 ;
34154 wxSizerItem
*result
;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 PyObject
* obj2
= 0 ;
34158 PyObject
* obj3
= 0 ;
34159 PyObject
* obj4
= 0 ;
34160 PyObject
* obj5
= 0 ;
34161 char *kwnames
[] = {
34162 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34166 arg1
= (int) SWIG_AsInt(obj0
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34168 arg2
= (int) SWIG_AsInt(obj1
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34170 arg3
= (int) SWIG_AsInt(obj2
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34172 arg4
= (int) SWIG_AsInt(obj3
);
34173 if (PyErr_Occurred()) SWIG_fail
;
34174 arg5
= (int) SWIG_AsInt(obj4
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34176 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34192 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxWindow
*arg1
= (wxWindow
*) 0 ;
34198 wxObject
*arg5
= (wxObject
*) 0 ;
34199 wxSizerItem
*result
;
34200 PyObject
* obj0
= 0 ;
34201 PyObject
* obj1
= 0 ;
34202 PyObject
* obj2
= 0 ;
34203 PyObject
* obj3
= 0 ;
34204 PyObject
* obj4
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34212 arg2
= (int) SWIG_AsInt(obj1
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34214 arg3
= (int) SWIG_AsInt(obj2
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34216 arg4
= (int) SWIG_AsInt(obj3
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34218 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34234 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
;
34236 wxSizer
*arg1
= (wxSizer
*) 0 ;
34240 wxObject
*arg5
= (wxObject
*) 0 ;
34241 wxSizerItem
*result
;
34242 PyObject
* obj0
= 0 ;
34243 PyObject
* obj1
= 0 ;
34244 PyObject
* obj2
= 0 ;
34245 PyObject
* obj3
= 0 ;
34246 PyObject
* obj4
= 0 ;
34247 char *kwnames
[] = {
34248 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34254 arg2
= (int) SWIG_AsInt(obj1
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34256 arg3
= (int) SWIG_AsInt(obj2
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34258 arg4
= (int) SWIG_AsInt(obj3
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34260 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34276 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
;
34278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34279 PyObject
* obj0
= 0 ;
34280 char *kwnames
[] = {
34281 (char *) "self", NULL
34284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 (arg1
)->DeleteWindows();
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34294 Py_INCREF(Py_None
); resultobj
= Py_None
;
34301 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
;
34303 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34304 PyObject
* obj0
= 0 ;
34305 char *kwnames
[] = {
34306 (char *) "self", NULL
34309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 (arg1
)->DetachSizer();
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 Py_INCREF(Py_None
); resultobj
= Py_None
;
34326 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
;
34328 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34330 PyObject
* obj0
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (arg1
)->GetSize();
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34346 wxSize
* resultptr
;
34347 resultptr
= new wxSize((wxSize
&) result
);
34348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34356 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
;
34358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34360 PyObject
* obj0
= 0 ;
34361 char *kwnames
[] = {
34362 (char *) "self", NULL
34365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= (arg1
)->CalcMin();
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34376 wxSize
* resultptr
;
34377 resultptr
= new wxSize((wxSize
&) result
);
34378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34386 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
;
34388 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34393 PyObject
* obj0
= 0 ;
34394 PyObject
* obj1
= 0 ;
34395 PyObject
* obj2
= 0 ;
34396 char *kwnames
[] = {
34397 (char *) "self",(char *) "pos",(char *) "size", NULL
34400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34403 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34404 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34406 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34407 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34411 (arg1
)->SetDimension(arg2
,arg3
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 Py_INCREF(Py_None
); resultobj
= Py_None
;
34423 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
;
34425 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34427 PyObject
* obj0
= 0 ;
34428 char *kwnames
[] = {
34429 (char *) "self", NULL
34432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 result
= (arg1
)->GetMinSize();
34439 wxPyEndAllowThreads(__tstate
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34443 wxSize
* resultptr
;
34444 resultptr
= new wxSize((wxSize
&) result
);
34445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34453 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
;
34455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 char *kwnames
[] = {
34462 (char *) "self",(char *) "x",(char *) "y", NULL
34465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34468 arg2
= (int) SWIG_AsInt(obj1
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34470 arg3
= (int) SWIG_AsInt(obj2
);
34471 if (PyErr_Occurred()) SWIG_fail
;
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 (arg1
)->SetInitSize(arg2
,arg3
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 Py_INCREF(Py_None
); resultobj
= Py_None
;
34486 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
;
34488 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 PyObject
* obj2
= 0 ;
34494 char *kwnames
[] = {
34495 (char *) "self",(char *) "width",(char *) "height", NULL
34498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34501 arg2
= (int) SWIG_AsInt(obj1
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34503 arg3
= (int) SWIG_AsInt(obj2
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 (arg1
)->SetRatio(arg2
,arg3
);
34509 wxPyEndAllowThreads(__tstate
);
34510 if (PyErr_Occurred()) SWIG_fail
;
34512 Py_INCREF(Py_None
); resultobj
= Py_None
;
34519 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34520 PyObject
*resultobj
;
34521 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34524 PyObject
* obj0
= 0 ;
34525 PyObject
* obj1
= 0 ;
34526 char *kwnames
[] = {
34527 (char *) "self",(char *) "size", NULL
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34533 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34534 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 (arg1
)->SetRatio(arg2
);
34540 wxPyEndAllowThreads(__tstate
);
34541 if (PyErr_Occurred()) SWIG_fail
;
34543 Py_INCREF(Py_None
); resultobj
= Py_None
;
34550 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34551 PyObject
*resultobj
;
34552 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34554 PyObject
* obj0
= 0 ;
34555 PyObject
* obj1
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self",(char *) "ratio", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34563 arg2
= (float) SWIG_AsFloat(obj1
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34567 (arg1
)->SetRatio(arg2
);
34569 wxPyEndAllowThreads(__tstate
);
34570 if (PyErr_Occurred()) SWIG_fail
;
34572 Py_INCREF(Py_None
); resultobj
= Py_None
;
34579 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34580 PyObject
*resultobj
;
34581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= (float)(arg1
)->GetRatio();
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= SWIG_FromFloat((float)result
);
34605 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= (bool)(arg1
)->IsWindow();
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34633 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
;
34635 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34637 PyObject
* obj0
= 0 ;
34638 char *kwnames
[] = {
34639 (char *) "self", NULL
34642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34647 result
= (bool)(arg1
)->IsSizer();
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34661 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34665 PyObject
* obj0
= 0 ;
34666 char *kwnames
[] = {
34667 (char *) "self", NULL
34670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 result
= (bool)(arg1
)->IsSpacer();
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34689 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
;
34691 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34693 PyObject
* obj0
= 0 ;
34694 PyObject
* obj1
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self",(char *) "proportion", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34702 arg2
= (int) SWIG_AsInt(obj1
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 (arg1
)->SetProportion(arg2
);
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 Py_INCREF(Py_None
); resultobj
= Py_None
;
34718 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
;
34720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34722 PyObject
* obj0
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (int)(arg1
)->GetProportion();
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_FromInt((int)result
);
34744 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 PyObject
* obj1
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self",(char *) "flag", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34757 arg2
= (int) SWIG_AsInt(obj1
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->SetFlag(arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 Py_INCREF(Py_None
); resultobj
= Py_None
;
34773 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
;
34775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34777 PyObject
* obj0
= 0 ;
34778 char *kwnames
[] = {
34779 (char *) "self", NULL
34782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 result
= (int)(arg1
)->GetFlag();
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34792 resultobj
= SWIG_FromInt((int)result
);
34799 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
;
34801 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self",(char *) "border", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34812 arg2
= (int) SWIG_AsInt(obj1
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->SetBorder(arg2
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 char *kwnames
[] = {
34834 (char *) "self", NULL
34837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (int)(arg1
)->GetBorder();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= SWIG_FromInt((int)result
);
34854 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34855 PyObject
*resultobj
;
34856 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34858 PyObject
* obj0
= 0 ;
34859 char *kwnames
[] = {
34860 (char *) "self", NULL
34863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34868 result
= (wxWindow
*)(arg1
)->GetWindow();
34870 wxPyEndAllowThreads(__tstate
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34874 resultobj
= wxPyMake_wxObject(result
);
34882 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34883 PyObject
*resultobj
;
34884 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34885 wxWindow
*arg2
= (wxWindow
*) 0 ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 char *kwnames
[] = {
34889 (char *) "self",(char *) "window", NULL
34892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 (arg1
)->SetWindow(arg2
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 Py_INCREF(Py_None
); resultobj
= Py_None
;
34911 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
;
34913 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 result
= (wxSizer
*)(arg1
)->GetSizer();
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= wxPyMake_wxSizer(result
);
34939 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
;
34941 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34942 wxSizer
*arg2
= (wxSizer
*) 0 ;
34943 PyObject
* obj0
= 0 ;
34944 PyObject
* obj1
= 0 ;
34945 char *kwnames
[] = {
34946 (char *) "self",(char *) "sizer", NULL
34949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34956 (arg1
)->SetSizer(arg2
);
34958 wxPyEndAllowThreads(__tstate
);
34959 if (PyErr_Occurred()) SWIG_fail
;
34961 Py_INCREF(Py_None
); resultobj
= Py_None
;
34968 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
;
34970 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34972 PyObject
* obj0
= 0 ;
34973 char *kwnames
[] = {
34974 (char *) "self", NULL
34977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34984 result
= (wxSize
*) &_result_ref
;
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34997 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34998 PyObject
*resultobj
;
34999 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 char *kwnames
[] = {
35005 (char *) "self",(char *) "size", NULL
35008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35013 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 Py_INCREF(Py_None
); resultobj
= Py_None
;
35029 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
;
35031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 char *kwnames
[] = {
35036 (char *) "self",(char *) "show", NULL
35039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35042 arg2
= (bool) SWIG_AsBool(obj1
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 (arg1
)->Show(arg2
);
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35051 Py_INCREF(Py_None
); resultobj
= Py_None
;
35058 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35059 PyObject
*resultobj
;
35060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35062 PyObject
* obj0
= 0 ;
35063 char *kwnames
[] = {
35064 (char *) "self", NULL
35067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 result
= (bool)(arg1
)->IsShown();
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35086 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
;
35088 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35090 PyObject
* obj0
= 0 ;
35091 char *kwnames
[] = {
35092 (char *) "self", NULL
35095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 result
= (arg1
)->GetPosition();
35102 wxPyEndAllowThreads(__tstate
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35106 wxPoint
* resultptr
;
35107 resultptr
= new wxPoint((wxPoint
&) result
);
35108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35116 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35117 PyObject
*resultobj
;
35118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35120 PyObject
* obj0
= 0 ;
35121 char *kwnames
[] = {
35122 (char *) "self", NULL
35125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35130 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= result
;
35142 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35145 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35147 return Py_BuildValue((char *)"");
35149 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35150 PyObject
*resultobj
;
35151 wxSizer
*arg1
= (wxSizer
*) 0 ;
35152 PyObject
*arg2
= (PyObject
*) 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 char *kwnames
[] = {
35156 (char *) "self",(char *) "_self", NULL
35159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 wxSizer__setOORInfo(arg1
,arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 Py_INCREF(Py_None
); resultobj
= Py_None
;
35177 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
;
35179 wxSizer
*arg1
= (wxSizer
*) 0 ;
35180 PyObject
*arg2
= (PyObject
*) 0 ;
35181 int arg3
= (int) 0 ;
35182 int arg4
= (int) 0 ;
35183 int arg5
= (int) 0 ;
35184 PyObject
*arg6
= (PyObject
*) NULL
;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 PyObject
* obj3
= 0 ;
35189 PyObject
* obj4
= 0 ;
35190 PyObject
* obj5
= 0 ;
35191 char *kwnames
[] = {
35192 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35200 arg3
= (int) SWIG_AsInt(obj2
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35204 arg4
= (int) SWIG_AsInt(obj3
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35208 arg5
= (int) SWIG_AsInt(obj4
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 Py_INCREF(Py_None
); resultobj
= Py_None
;
35228 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
;
35230 wxSizer
*arg1
= (wxSizer
*) 0 ;
35232 PyObject
*arg3
= (PyObject
*) 0 ;
35233 int arg4
= (int) 0 ;
35234 int arg5
= (int) 0 ;
35235 int arg6
= (int) 0 ;
35236 PyObject
*arg7
= (PyObject
*) NULL
;
35237 PyObject
* obj0
= 0 ;
35238 PyObject
* obj1
= 0 ;
35239 PyObject
* obj2
= 0 ;
35240 PyObject
* obj3
= 0 ;
35241 PyObject
* obj4
= 0 ;
35242 PyObject
* obj5
= 0 ;
35243 PyObject
* obj6
= 0 ;
35244 char *kwnames
[] = {
35245 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35251 arg2
= (int) SWIG_AsInt(obj1
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35255 arg4
= (int) SWIG_AsInt(obj3
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35259 arg5
= (int) SWIG_AsInt(obj4
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35263 arg6
= (int) SWIG_AsInt(obj5
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 Py_INCREF(Py_None
); resultobj
= Py_None
;
35283 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
;
35285 wxSizer
*arg1
= (wxSizer
*) 0 ;
35286 PyObject
*arg2
= (PyObject
*) 0 ;
35287 int arg3
= (int) 0 ;
35288 int arg4
= (int) 0 ;
35289 int arg5
= (int) 0 ;
35290 PyObject
*arg6
= (PyObject
*) NULL
;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 PyObject
* obj2
= 0 ;
35294 PyObject
* obj3
= 0 ;
35295 PyObject
* obj4
= 0 ;
35296 PyObject
* obj5
= 0 ;
35297 char *kwnames
[] = {
35298 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35306 arg3
= (int) SWIG_AsInt(obj2
);
35307 if (PyErr_Occurred()) SWIG_fail
;
35310 arg4
= (int) SWIG_AsInt(obj3
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35314 arg5
= (int) SWIG_AsInt(obj4
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35322 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 Py_INCREF(Py_None
); resultobj
= Py_None
;
35334 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
;
35336 wxSizer
*arg1
= (wxSizer
*) 0 ;
35337 PyObject
*arg2
= (PyObject
*) 0 ;
35339 PyObject
* obj0
= 0 ;
35340 PyObject
* obj1
= 0 ;
35341 char *kwnames
[] = {
35342 (char *) "self",(char *) "item", NULL
35345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35365 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
;
35367 wxSizer
*arg1
= (wxSizer
*) 0 ;
35368 PyObject
*arg2
= (PyObject
*) 0 ;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 PyObject
* obj2
= 0 ;
35374 char *kwnames
[] = {
35375 (char *) "self",(char *) "item",(char *) "size", NULL
35378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35390 wxPyEndAllowThreads(__tstate
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 Py_INCREF(Py_None
); resultobj
= Py_None
;
35400 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35401 PyObject
*resultobj
;
35402 wxSizer
*arg1
= (wxSizer
*) 0 ;
35403 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 char *kwnames
[] = {
35407 (char *) "self",(char *) "item", NULL
35410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 Py_INCREF(Py_None
); resultobj
= Py_None
;
35429 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
;
35431 wxSizer
*arg1
= (wxSizer
*) 0 ;
35433 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 PyObject
* obj2
= 0 ;
35437 char *kwnames
[] = {
35438 (char *) "self",(char *) "index",(char *) "item", NULL
35441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35444 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35446 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 (arg1
)->Insert(arg2
,arg3
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 Py_INCREF(Py_None
); resultobj
= Py_None
;
35462 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxSizer
*arg1
= (wxSizer
*) 0 ;
35465 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35466 PyObject
* obj0
= 0 ;
35467 PyObject
* obj1
= 0 ;
35468 char *kwnames
[] = {
35469 (char *) "self",(char *) "item", NULL
35472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 (arg1
)->Prepend(arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 Py_INCREF(Py_None
); resultobj
= Py_None
;
35491 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxSizer
*arg1
= (wxSizer
*) 0 ;
35498 PyObject
* obj0
= 0 ;
35499 PyObject
* obj1
= 0 ;
35500 PyObject
* obj2
= 0 ;
35501 PyObject
* obj3
= 0 ;
35502 PyObject
* obj4
= 0 ;
35503 char *kwnames
[] = {
35504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35510 arg2
= (int) SWIG_AsInt(obj1
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35512 arg3
= (int) SWIG_AsInt(obj2
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35514 arg4
= (int) SWIG_AsInt(obj3
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35516 arg5
= (int) SWIG_AsInt(obj4
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 Py_INCREF(Py_None
); resultobj
= Py_None
;
35532 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxSizer
*arg1
= (wxSizer
*) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 char *kwnames
[] = {
35540 (char *) "self",(char *) "size", NULL
35543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 Py_INCREF(Py_None
); resultobj
= Py_None
;
35564 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
;
35566 wxSizer
*arg1
= (wxSizer
*) 0 ;
35568 PyObject
* obj0
= 0 ;
35569 char *kwnames
[] = {
35570 (char *) "self", NULL
35573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35578 result
= (arg1
)->GetSize();
35580 wxPyEndAllowThreads(__tstate
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35584 wxSize
* resultptr
;
35585 resultptr
= new wxSize((wxSize
&) result
);
35586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35594 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35595 PyObject
*resultobj
;
35596 wxSizer
*arg1
= (wxSizer
*) 0 ;
35598 PyObject
* obj0
= 0 ;
35599 char *kwnames
[] = {
35600 (char *) "self", NULL
35603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= (arg1
)->GetPosition();
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35614 wxPoint
* resultptr
;
35615 resultptr
= new wxPoint((wxPoint
&) result
);
35616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35624 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
;
35626 wxSizer
*arg1
= (wxSizer
*) 0 ;
35628 PyObject
* obj0
= 0 ;
35629 char *kwnames
[] = {
35630 (char *) "self", NULL
35633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (arg1
)->GetMinSize();
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35644 wxSize
* resultptr
;
35645 resultptr
= new wxSize((wxSize
&) result
);
35646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35654 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35655 PyObject
*resultobj
;
35656 wxSizer
*arg1
= (wxSizer
*) 0 ;
35657 PyObject
* obj0
= 0 ;
35658 char *kwnames
[] = {
35659 (char *) "self", NULL
35662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35667 (arg1
)->RecalcSizes();
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 Py_INCREF(Py_None
); resultobj
= Py_None
;
35679 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
;
35681 wxSizer
*arg1
= (wxSizer
*) 0 ;
35683 PyObject
* obj0
= 0 ;
35684 char *kwnames
[] = {
35685 (char *) "self", NULL
35688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35693 result
= (arg1
)->CalcMin();
35695 wxPyEndAllowThreads(__tstate
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35699 wxSize
* resultptr
;
35700 resultptr
= new wxSize((wxSize
&) result
);
35701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35709 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxSizer
*arg1
= (wxSizer
*) 0 ;
35712 PyObject
* obj0
= 0 ;
35713 char *kwnames
[] = {
35714 (char *) "self", NULL
35717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 Py_INCREF(Py_None
); resultobj
= Py_None
;
35734 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
;
35736 wxSizer
*arg1
= (wxSizer
*) 0 ;
35737 wxWindow
*arg2
= (wxWindow
*) 0 ;
35739 PyObject
* obj0
= 0 ;
35740 PyObject
* obj1
= 0 ;
35741 char *kwnames
[] = {
35742 (char *) "self",(char *) "window", NULL
35745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 result
= (arg1
)->Fit(arg2
);
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35758 wxSize
* resultptr
;
35759 resultptr
= new wxSize((wxSize
&) result
);
35760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35768 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35769 PyObject
*resultobj
;
35770 wxSizer
*arg1
= (wxSizer
*) 0 ;
35771 wxWindow
*arg2
= (wxWindow
*) 0 ;
35772 PyObject
* obj0
= 0 ;
35773 PyObject
* obj1
= 0 ;
35774 char *kwnames
[] = {
35775 (char *) "self",(char *) "window", NULL
35778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35785 (arg1
)->FitInside(arg2
);
35787 wxPyEndAllowThreads(__tstate
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35790 Py_INCREF(Py_None
); resultobj
= Py_None
;
35797 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35798 PyObject
*resultobj
;
35799 wxSizer
*arg1
= (wxSizer
*) 0 ;
35800 wxWindow
*arg2
= (wxWindow
*) 0 ;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "self",(char *) "window", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 (arg1
)->SetSizeHints(arg2
);
35816 wxPyEndAllowThreads(__tstate
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 Py_INCREF(Py_None
); resultobj
= Py_None
;
35826 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
;
35828 wxSizer
*arg1
= (wxSizer
*) 0 ;
35829 wxWindow
*arg2
= (wxWindow
*) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 PyObject
* obj1
= 0 ;
35832 char *kwnames
[] = {
35833 (char *) "self",(char *) "window", NULL
35836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 (arg1
)->SetVirtualSizeHints(arg2
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 Py_INCREF(Py_None
); resultobj
= Py_None
;
35855 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxSizer
*arg1
= (wxSizer
*) 0 ;
35858 bool arg2
= (bool) False
;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char *kwnames
[] = {
35862 (char *) "self",(char *) "delete_windows", NULL
35865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35869 arg2
= (bool) SWIG_AsBool(obj1
);
35870 if (PyErr_Occurred()) SWIG_fail
;
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 (arg1
)->Clear(arg2
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 Py_INCREF(Py_None
); resultobj
= Py_None
;
35886 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
;
35888 wxSizer
*arg1
= (wxSizer
*) 0 ;
35889 PyObject
* obj0
= 0 ;
35890 char *kwnames
[] = {
35891 (char *) "self", NULL
35894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 (arg1
)->DeleteWindows();
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35904 Py_INCREF(Py_None
); resultobj
= Py_None
;
35911 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
;
35913 wxSizer
*arg1
= (wxSizer
*) 0 ;
35915 PyObject
* obj0
= 0 ;
35916 char *kwnames
[] = {
35917 (char *) "self", NULL
35920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35927 wxPyEndAllowThreads(__tstate
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35930 resultobj
= result
;
35937 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35938 PyObject
*resultobj
;
35939 wxSizer
*arg1
= (wxSizer
*) 0 ;
35940 PyObject
*arg2
= (PyObject
*) 0 ;
35941 bool arg3
= (bool) True
;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 PyObject
* obj2
= 0 ;
35945 char *kwnames
[] = {
35946 (char *) "self",(char *) "item",(char *) "show", NULL
35949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35954 arg3
= (bool) SWIG_AsBool(obj2
);
35955 if (PyErr_Occurred()) SWIG_fail
;
35958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 wxSizer_Show(arg1
,arg2
,arg3
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 Py_INCREF(Py_None
); resultobj
= Py_None
;
35971 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
;
35973 wxSizer
*arg1
= (wxSizer
*) 0 ;
35974 PyObject
*arg2
= (PyObject
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 char *kwnames
[] = {
35978 (char *) "self",(char *) "item", NULL
35981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 wxSizer_Hide(arg1
,arg2
);
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35992 Py_INCREF(Py_None
); resultobj
= Py_None
;
35999 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36000 PyObject
*resultobj
;
36001 wxSizer
*arg1
= (wxSizer
*) 0 ;
36002 PyObject
*arg2
= (PyObject
*) 0 ;
36004 PyObject
* obj0
= 0 ;
36005 PyObject
* obj1
= 0 ;
36006 char *kwnames
[] = {
36007 (char *) "self",(char *) "item", NULL
36010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36016 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36018 wxPyEndAllowThreads(__tstate
);
36019 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36030 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36031 PyObject
*resultobj
;
36032 wxSizer
*arg1
= (wxSizer
*) 0 ;
36034 PyObject
* obj0
= 0 ;
36035 PyObject
* obj1
= 0 ;
36036 char *kwnames
[] = {
36037 (char *) "self",(char *) "show", NULL
36040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36043 arg2
= (bool) SWIG_AsBool(obj1
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 (arg1
)->ShowItems(arg2
);
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36052 Py_INCREF(Py_None
); resultobj
= Py_None
;
36059 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36062 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36064 return Py_BuildValue((char *)"");
36066 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
;
36069 char *kwnames
[] = {
36073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 result
= (wxPySizer
*)new wxPySizer();
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36088 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
;
36090 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36091 PyObject
*arg2
= (PyObject
*) 0 ;
36092 PyObject
*arg3
= (PyObject
*) 0 ;
36093 PyObject
* obj0
= 0 ;
36094 PyObject
* obj1
= 0 ;
36095 PyObject
* obj2
= 0 ;
36096 char *kwnames
[] = {
36097 (char *) "self",(char *) "self",(char *) "_class", NULL
36100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 Py_INCREF(Py_None
); resultobj
= Py_None
;
36119 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36122 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36124 return Py_BuildValue((char *)"");
36126 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
;
36128 int arg1
= (int) wxHORIZONTAL
;
36129 wxBoxSizer
*result
;
36130 PyObject
* obj0
= 0 ;
36131 char *kwnames
[] = {
36132 (char *) "orient", NULL
36135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36137 arg1
= (int) SWIG_AsInt(obj0
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36142 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36154 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36155 PyObject
*resultobj
;
36156 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36158 PyObject
* obj0
= 0 ;
36159 char *kwnames
[] = {
36160 (char *) "self", NULL
36163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 result
= (int)(arg1
)->GetOrientation();
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= SWIG_FromInt((int)result
);
36180 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
;
36182 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36184 PyObject
* obj0
= 0 ;
36185 PyObject
* obj1
= 0 ;
36186 char *kwnames
[] = {
36187 (char *) "self",(char *) "orient", NULL
36190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36193 arg2
= (int) SWIG_AsInt(obj1
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 (arg1
)->SetOrientation(arg2
);
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 Py_INCREF(Py_None
); resultobj
= Py_None
;
36209 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
;
36211 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36212 PyObject
* obj0
= 0 ;
36213 char *kwnames
[] = {
36214 (char *) "self", NULL
36217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 (arg1
)->RecalcSizes();
36224 wxPyEndAllowThreads(__tstate
);
36225 if (PyErr_Occurred()) SWIG_fail
;
36227 Py_INCREF(Py_None
); resultobj
= Py_None
;
36234 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36235 PyObject
*resultobj
;
36236 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36238 PyObject
* obj0
= 0 ;
36239 char *kwnames
[] = {
36240 (char *) "self", NULL
36243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 result
= (arg1
)->CalcMin();
36250 wxPyEndAllowThreads(__tstate
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36254 wxSize
* resultptr
;
36255 resultptr
= new wxSize((wxSize
&) result
);
36256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36264 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36267 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36269 return Py_BuildValue((char *)"");
36271 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36272 PyObject
*resultobj
;
36273 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36274 int arg2
= (int) wxHORIZONTAL
;
36275 wxStaticBoxSizer
*result
;
36276 PyObject
* obj0
= 0 ;
36277 PyObject
* obj1
= 0 ;
36278 char *kwnames
[] = {
36279 (char *) "box",(char *) "orient", NULL
36282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36286 arg2
= (int) SWIG_AsInt(obj1
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36303 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36306 wxStaticBox
*result
;
36307 PyObject
* obj0
= 0 ;
36308 char *kwnames
[] = {
36309 (char *) "self", NULL
36312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36317 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= wxPyMake_wxObject(result
);
36331 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36332 PyObject
*resultobj
;
36333 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36334 PyObject
* obj0
= 0 ;
36335 char *kwnames
[] = {
36336 (char *) "self", NULL
36339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 (arg1
)->RecalcSizes();
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 Py_INCREF(Py_None
); resultobj
= Py_None
;
36356 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36360 PyObject
* obj0
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 result
= (arg1
)->CalcMin();
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36376 wxSize
* resultptr
;
36377 resultptr
= new wxSize((wxSize
&) result
);
36378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36386 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36389 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36391 return Py_BuildValue((char *)"");
36393 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
;
36395 int arg1
= (int) 1 ;
36396 int arg2
= (int) 0 ;
36397 int arg3
= (int) 0 ;
36398 int arg4
= (int) 0 ;
36399 wxGridSizer
*result
;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 PyObject
* obj2
= 0 ;
36403 PyObject
* obj3
= 0 ;
36404 char *kwnames
[] = {
36405 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36410 arg1
= (int) SWIG_AsInt(obj0
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36414 arg2
= (int) SWIG_AsInt(obj1
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36418 arg3
= (int) SWIG_AsInt(obj2
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36422 arg4
= (int) SWIG_AsInt(obj3
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36439 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
;
36441 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36442 PyObject
* obj0
= 0 ;
36443 char *kwnames
[] = {
36444 (char *) "self", NULL
36447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 (arg1
)->RecalcSizes();
36454 wxPyEndAllowThreads(__tstate
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36457 Py_INCREF(Py_None
); resultobj
= Py_None
;
36464 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
;
36466 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36468 PyObject
* obj0
= 0 ;
36469 char *kwnames
[] = {
36470 (char *) "self", NULL
36473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 result
= (arg1
)->CalcMin();
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36484 wxSize
* resultptr
;
36485 resultptr
= new wxSize((wxSize
&) result
);
36486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36494 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
;
36496 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36498 PyObject
* obj0
= 0 ;
36499 PyObject
* obj1
= 0 ;
36500 char *kwnames
[] = {
36501 (char *) "self",(char *) "cols", NULL
36504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36507 arg2
= (int) SWIG_AsInt(obj1
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36511 (arg1
)->SetCols(arg2
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 Py_INCREF(Py_None
); resultobj
= Py_None
;
36523 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
;
36525 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char *kwnames
[] = {
36530 (char *) "self",(char *) "rows", NULL
36533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36536 arg2
= (int) SWIG_AsInt(obj1
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 (arg1
)->SetRows(arg2
);
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 Py_INCREF(Py_None
); resultobj
= Py_None
;
36552 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
;
36554 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 char *kwnames
[] = {
36559 (char *) "self",(char *) "gap", NULL
36562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36565 arg2
= (int) SWIG_AsInt(obj1
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 (arg1
)->SetVGap(arg2
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 Py_INCREF(Py_None
); resultobj
= Py_None
;
36581 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 char *kwnames
[] = {
36588 (char *) "self",(char *) "gap", NULL
36591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36594 arg2
= (int) SWIG_AsInt(obj1
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 (arg1
)->SetHGap(arg2
);
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36603 Py_INCREF(Py_None
); resultobj
= Py_None
;
36610 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
;
36612 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36614 PyObject
* obj0
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "self", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 result
= (int)(arg1
)->GetCols();
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_FromInt((int)result
);
36636 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36637 PyObject
*resultobj
;
36638 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36640 PyObject
* obj0
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 result
= (int)(arg1
)->GetRows();
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 resultobj
= SWIG_FromInt((int)result
);
36662 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
;
36664 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36666 PyObject
* obj0
= 0 ;
36667 char *kwnames
[] = {
36668 (char *) "self", NULL
36671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36676 result
= (int)(arg1
)->GetVGap();
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= SWIG_FromInt((int)result
);
36688 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36689 PyObject
*resultobj
;
36690 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36692 PyObject
* obj0
= 0 ;
36693 char *kwnames
[] = {
36694 (char *) "self", NULL
36697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= (int)(arg1
)->GetHGap();
36704 wxPyEndAllowThreads(__tstate
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= SWIG_FromInt((int)result
);
36714 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36717 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36719 return Py_BuildValue((char *)"");
36721 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
;
36723 int arg1
= (int) 1 ;
36724 int arg2
= (int) 0 ;
36725 int arg3
= (int) 0 ;
36726 int arg4
= (int) 0 ;
36727 wxFlexGridSizer
*result
;
36728 PyObject
* obj0
= 0 ;
36729 PyObject
* obj1
= 0 ;
36730 PyObject
* obj2
= 0 ;
36731 PyObject
* obj3
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36738 arg1
= (int) SWIG_AsInt(obj0
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36742 arg2
= (int) SWIG_AsInt(obj1
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36746 arg3
= (int) SWIG_AsInt(obj2
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36750 arg4
= (int) SWIG_AsInt(obj3
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36755 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36757 wxPyEndAllowThreads(__tstate
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36767 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36768 PyObject
*resultobj
;
36769 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 (arg1
)->RecalcSizes();
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 Py_INCREF(Py_None
); resultobj
= Py_None
;
36792 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
;
36794 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36796 PyObject
* obj0
= 0 ;
36797 char *kwnames
[] = {
36798 (char *) "self", NULL
36801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 result
= (arg1
)->CalcMin();
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36812 wxSize
* resultptr
;
36813 resultptr
= new wxSize((wxSize
&) result
);
36814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36822 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36823 PyObject
*resultobj
;
36824 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36826 int arg3
= (int) 0 ;
36827 PyObject
* obj0
= 0 ;
36828 PyObject
* obj1
= 0 ;
36829 PyObject
* obj2
= 0 ;
36830 char *kwnames
[] = {
36831 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36837 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 arg3
= (int) SWIG_AsInt(obj2
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->AddGrowableRow(arg2
,arg3
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 Py_INCREF(Py_None
); resultobj
= Py_None
;
36857 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
;
36859 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 char *kwnames
[] = {
36864 (char *) "self",(char *) "idx", NULL
36867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36870 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->RemoveGrowableRow(arg2
);
36876 wxPyEndAllowThreads(__tstate
);
36877 if (PyErr_Occurred()) SWIG_fail
;
36879 Py_INCREF(Py_None
); resultobj
= Py_None
;
36886 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
;
36888 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36890 int arg3
= (int) 0 ;
36891 PyObject
* obj0
= 0 ;
36892 PyObject
* obj1
= 0 ;
36893 PyObject
* obj2
= 0 ;
36894 char *kwnames
[] = {
36895 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36901 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 arg3
= (int) SWIG_AsInt(obj2
);
36905 if (PyErr_Occurred()) SWIG_fail
;
36908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36909 (arg1
)->AddGrowableCol(arg2
,arg3
);
36911 wxPyEndAllowThreads(__tstate
);
36912 if (PyErr_Occurred()) SWIG_fail
;
36914 Py_INCREF(Py_None
); resultobj
= Py_None
;
36921 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36922 PyObject
*resultobj
;
36923 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36925 PyObject
* obj0
= 0 ;
36926 PyObject
* obj1
= 0 ;
36927 char *kwnames
[] = {
36928 (char *) "self",(char *) "idx", NULL
36931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36934 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 (arg1
)->RemoveGrowableCol(arg2
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 Py_INCREF(Py_None
); resultobj
= Py_None
;
36950 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
;
36952 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36954 PyObject
* obj0
= 0 ;
36955 PyObject
* obj1
= 0 ;
36956 char *kwnames
[] = {
36957 (char *) "self",(char *) "direction", NULL
36960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36963 arg2
= (int) SWIG_AsInt(obj1
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->SetFlexibleDirection(arg2
);
36969 wxPyEndAllowThreads(__tstate
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36972 Py_INCREF(Py_None
); resultobj
= Py_None
;
36979 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36980 PyObject
*resultobj
;
36981 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36983 PyObject
* obj0
= 0 ;
36984 char *kwnames
[] = {
36985 (char *) "self", NULL
36988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 result
= (int)(arg1
)->GetFlexibleDirection();
36995 wxPyEndAllowThreads(__tstate
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36998 resultobj
= SWIG_FromInt((int)result
);
37005 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
;
37007 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 char *kwnames
[] = {
37012 (char *) "self",(char *) "mode", NULL
37015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37018 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 Py_INCREF(Py_None
); resultobj
= Py_None
;
37034 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37038 PyObject
* obj0
= 0 ;
37039 char *kwnames
[] = {
37040 (char *) "self", NULL
37043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37053 resultobj
= SWIG_FromInt((int)result
);
37060 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
;
37062 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37063 wxArrayInt
*result
;
37064 PyObject
* obj0
= 0 ;
37065 char *kwnames
[] = {
37066 (char *) "self", NULL
37069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37076 result
= (wxArrayInt
*) &_result_ref
;
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= PyList_New(0);
37085 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37086 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37087 PyList_Append(resultobj
, val
);
37097 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37098 PyObject
*resultobj
;
37099 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37100 wxArrayInt
*result
;
37101 PyObject
* obj0
= 0 ;
37102 char *kwnames
[] = {
37103 (char *) "self", NULL
37106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37113 result
= (wxArrayInt
*) &_result_ref
;
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= PyList_New(0);
37122 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37123 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37124 PyList_Append(resultobj
, val
);
37134 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37137 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37139 return Py_BuildValue((char *)"");
37141 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37142 PyObject
*resultobj
;
37143 int arg1
= (int) 0 ;
37144 int arg2
= (int) 0 ;
37145 wxGBPosition
*result
;
37146 PyObject
* obj0
= 0 ;
37147 PyObject
* obj1
= 0 ;
37148 char *kwnames
[] = {
37149 (char *) "row",(char *) "col", NULL
37152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37154 arg1
= (int) SWIG_AsInt(obj0
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37158 arg2
= (int) SWIG_AsInt(obj1
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37175 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37176 PyObject
*resultobj
;
37177 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37179 PyObject
* obj0
= 0 ;
37180 char *kwnames
[] = {
37181 (char *) "self", NULL
37184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_FromInt((int)result
);
37201 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37202 PyObject
*resultobj
;
37203 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37205 PyObject
* obj0
= 0 ;
37206 char *kwnames
[] = {
37207 (char *) "self", NULL
37210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= SWIG_FromInt((int)result
);
37227 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
;
37229 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37231 PyObject
* obj0
= 0 ;
37232 PyObject
* obj1
= 0 ;
37233 char *kwnames
[] = {
37234 (char *) "self",(char *) "row", NULL
37237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37240 arg2
= (int) SWIG_AsInt(obj1
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37244 (arg1
)->SetRow(arg2
);
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37249 Py_INCREF(Py_None
); resultobj
= Py_None
;
37256 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37257 PyObject
*resultobj
;
37258 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37260 PyObject
* obj0
= 0 ;
37261 PyObject
* obj1
= 0 ;
37262 char *kwnames
[] = {
37263 (char *) "self",(char *) "col", NULL
37266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37269 arg2
= (int) SWIG_AsInt(obj1
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37273 (arg1
)->SetCol(arg2
);
37275 wxPyEndAllowThreads(__tstate
);
37276 if (PyErr_Occurred()) SWIG_fail
;
37278 Py_INCREF(Py_None
); resultobj
= Py_None
;
37285 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37286 PyObject
*resultobj
;
37287 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37288 wxGBPosition
*arg2
= 0 ;
37290 wxGBPosition temp2
;
37291 PyObject
* obj0
= 0 ;
37292 PyObject
* obj1
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self",(char *) "other", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37302 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37320 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
;
37322 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37323 wxGBPosition
*arg2
= 0 ;
37325 wxGBPosition temp2
;
37326 PyObject
* obj0
= 0 ;
37327 PyObject
* obj1
= 0 ;
37328 char *kwnames
[] = {
37329 (char *) "self",(char *) "other", NULL
37332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37337 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37341 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37343 wxPyEndAllowThreads(__tstate
);
37344 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37355 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
;
37357 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37358 int arg2
= (int) 0 ;
37359 int arg3
= (int) 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 PyObject
* obj2
= 0 ;
37363 char *kwnames
[] = {
37364 (char *) "self",(char *) "row",(char *) "col", NULL
37367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37371 arg2
= (int) SWIG_AsInt(obj1
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37375 arg3
= (int) SWIG_AsInt(obj2
);
37376 if (PyErr_Occurred()) SWIG_fail
;
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 wxGBPosition_Set(arg1
,arg2
,arg3
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 Py_INCREF(Py_None
); resultobj
= Py_None
;
37392 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37393 PyObject
*resultobj
;
37394 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37396 PyObject
* obj0
= 0 ;
37397 char *kwnames
[] = {
37398 (char *) "self", NULL
37401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37406 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= result
;
37418 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37421 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37423 return Py_BuildValue((char *)"");
37425 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
;
37427 int arg1
= (int) 1 ;
37428 int arg2
= (int) 1 ;
37430 PyObject
* obj0
= 0 ;
37431 PyObject
* obj1
= 0 ;
37432 char *kwnames
[] = {
37433 (char *) "rowspan",(char *) "colspan", NULL
37436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37438 arg1
= (int) SWIG_AsInt(obj0
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37442 arg2
= (int) SWIG_AsInt(obj1
);
37443 if (PyErr_Occurred()) SWIG_fail
;
37446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37447 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37459 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37460 PyObject
*resultobj
;
37461 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37463 PyObject
* obj0
= 0 ;
37464 char *kwnames
[] = {
37465 (char *) "self", NULL
37468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37473 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37475 wxPyEndAllowThreads(__tstate
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= SWIG_FromInt((int)result
);
37485 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37486 PyObject
*resultobj
;
37487 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37489 PyObject
* obj0
= 0 ;
37490 char *kwnames
[] = {
37491 (char *) "self", NULL
37494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 resultobj
= SWIG_FromInt((int)result
);
37511 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
;
37513 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37515 PyObject
* obj0
= 0 ;
37516 PyObject
* obj1
= 0 ;
37517 char *kwnames
[] = {
37518 (char *) "self",(char *) "rowspan", NULL
37521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37524 arg2
= (int) SWIG_AsInt(obj1
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 (arg1
)->SetRowspan(arg2
);
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37533 Py_INCREF(Py_None
); resultobj
= Py_None
;
37540 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
;
37542 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37544 PyObject
* obj0
= 0 ;
37545 PyObject
* obj1
= 0 ;
37546 char *kwnames
[] = {
37547 (char *) "self",(char *) "colspan", NULL
37550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 arg2
= (int) SWIG_AsInt(obj1
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 (arg1
)->SetColspan(arg2
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 Py_INCREF(Py_None
); resultobj
= Py_None
;
37569 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37572 wxGBSpan
*arg2
= 0 ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "other", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37586 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37592 wxPyEndAllowThreads(__tstate
);
37593 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37604 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37605 PyObject
*resultobj
;
37606 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37607 wxGBSpan
*arg2
= 0 ;
37610 PyObject
* obj0
= 0 ;
37611 PyObject
* obj1
= 0 ;
37612 char *kwnames
[] = {
37613 (char *) "self",(char *) "other", NULL
37616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37621 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37639 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37640 PyObject
*resultobj
;
37641 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37642 int arg2
= (int) 1 ;
37643 int arg3
= (int) 1 ;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 PyObject
* obj2
= 0 ;
37647 char *kwnames
[] = {
37648 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37655 arg2
= (int) SWIG_AsInt(obj1
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37659 arg3
= (int) SWIG_AsInt(obj2
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37664 wxGBSpan_Set(arg1
,arg2
,arg3
);
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 Py_INCREF(Py_None
); resultobj
= Py_None
;
37676 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37677 PyObject
*resultobj
;
37678 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37680 PyObject
* obj0
= 0 ;
37681 char *kwnames
[] = {
37682 (char *) "self", NULL
37685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= result
;
37702 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37705 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37707 return Py_BuildValue((char *)"");
37709 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37710 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37715 static PyObject
*_wrap_DefaultSpan_get() {
37718 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37723 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37724 PyObject
*resultobj
;
37725 wxGBSizerItem
*result
;
37726 char *kwnames
[] = {
37730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37745 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
;
37747 wxWindow
*arg1
= (wxWindow
*) 0 ;
37748 wxGBPosition
*arg2
= 0 ;
37749 wxGBSpan
*arg3
= 0 ;
37752 wxObject
*arg6
= (wxObject
*) 0 ;
37753 wxGBSizerItem
*result
;
37754 wxGBPosition temp2
;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 PyObject
* obj3
= 0 ;
37760 PyObject
* obj4
= 0 ;
37761 PyObject
* obj5
= 0 ;
37762 char *kwnames
[] = {
37763 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37771 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37775 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37777 arg4
= (int) SWIG_AsInt(obj3
);
37778 if (PyErr_Occurred()) SWIG_fail
;
37779 arg5
= (int) SWIG_AsInt(obj4
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37781 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37797 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37798 PyObject
*resultobj
;
37799 wxSizer
*arg1
= (wxSizer
*) 0 ;
37800 wxGBPosition
*arg2
= 0 ;
37801 wxGBSpan
*arg3
= 0 ;
37804 wxObject
*arg6
= (wxObject
*) 0 ;
37805 wxGBSizerItem
*result
;
37806 wxGBPosition temp2
;
37808 PyObject
* obj0
= 0 ;
37809 PyObject
* obj1
= 0 ;
37810 PyObject
* obj2
= 0 ;
37811 PyObject
* obj3
= 0 ;
37812 PyObject
* obj4
= 0 ;
37813 PyObject
* obj5
= 0 ;
37814 char *kwnames
[] = {
37815 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37823 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37827 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37829 arg4
= (int) SWIG_AsInt(obj3
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37831 arg5
= (int) SWIG_AsInt(obj4
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37833 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37837 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37839 wxPyEndAllowThreads(__tstate
);
37840 if (PyErr_Occurred()) SWIG_fail
;
37842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37849 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37850 PyObject
*resultobj
;
37853 wxGBPosition
*arg3
= 0 ;
37854 wxGBSpan
*arg4
= 0 ;
37857 wxObject
*arg7
= (wxObject
*) 0 ;
37858 wxGBSizerItem
*result
;
37859 wxGBPosition temp3
;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 PyObject
* obj2
= 0 ;
37864 PyObject
* obj3
= 0 ;
37865 PyObject
* obj4
= 0 ;
37866 PyObject
* obj5
= 0 ;
37867 PyObject
* obj6
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37873 arg1
= (int) SWIG_AsInt(obj0
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37875 arg2
= (int) SWIG_AsInt(obj1
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37879 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37883 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37885 arg5
= (int) SWIG_AsInt(obj4
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37887 arg6
= (int) SWIG_AsInt(obj5
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37889 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37905 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37906 PyObject
*resultobj
;
37907 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37908 wxGBPosition result
;
37909 PyObject
* obj0
= 0 ;
37910 char *kwnames
[] = {
37911 (char *) "self", NULL
37914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37925 wxGBPosition
* resultptr
;
37926 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37935 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37936 PyObject
*resultobj
;
37937 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37939 PyObject
* obj0
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "self", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37955 wxGBSpan
* resultptr
;
37956 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37965 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
;
37967 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37968 wxGBPosition
*arg2
= 0 ;
37970 wxGBPosition temp2
;
37971 PyObject
* obj0
= 0 ;
37972 PyObject
* obj1
= 0 ;
37973 char *kwnames
[] = {
37974 (char *) "self",(char *) "pos", NULL
37977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37982 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37986 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38000 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
;
38002 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38003 wxGBSpan
*arg2
= 0 ;
38006 PyObject
* obj0
= 0 ;
38007 PyObject
* obj1
= 0 ;
38008 char *kwnames
[] = {
38009 (char *) "self",(char *) "span", NULL
38012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38017 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38035 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
38036 PyObject
*resultobj
;
38037 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38038 wxGBSizerItem
*arg2
= 0 ;
38040 PyObject
* obj0
= 0 ;
38041 PyObject
* obj1
= 0 ;
38043 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
38044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38049 if (arg2
== NULL
) {
38050 PyErr_SetString(PyExc_TypeError
,"null reference");
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38069 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
38070 PyObject
*resultobj
;
38071 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38072 wxGBPosition
*arg2
= 0 ;
38073 wxGBSpan
*arg3
= 0 ;
38075 wxGBPosition temp2
;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 PyObject
* obj2
= 0 ;
38081 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
38082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38086 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38090 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38108 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
38113 argc
= PyObject_Length(args
);
38114 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38115 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38131 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38139 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38156 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38160 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38163 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38169 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38174 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 char *kwnames
[] = {
38183 (char *) "self",(char *) "row",(char *) "col", NULL
38186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38192 if (arg2
== NULL
) {
38193 PyErr_SetString(PyExc_TypeError
,"null reference");
38196 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38199 if (arg3
== NULL
) {
38200 PyErr_SetString(PyExc_TypeError
,"null reference");
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 (arg1
)->GetEndPos(*arg2
,*arg3
);
38207 wxPyEndAllowThreads(__tstate
);
38208 if (PyErr_Occurred()) SWIG_fail
;
38210 Py_INCREF(Py_None
); resultobj
= Py_None
;
38217 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38220 wxGridBagSizer
*result
;
38221 PyObject
* obj0
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38243 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
;
38245 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38246 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38249 char *kwnames
[] = {
38250 (char *) "self",(char *) "sizer", NULL
38253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 (arg1
)->SetGBSizer(arg2
);
38262 wxPyEndAllowThreads(__tstate
);
38263 if (PyErr_Occurred()) SWIG_fail
;
38265 Py_INCREF(Py_None
); resultobj
= Py_None
;
38272 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38275 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38277 return Py_BuildValue((char *)"");
38279 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
;
38281 int arg1
= (int) 0 ;
38282 int arg2
= (int) 0 ;
38283 wxGridBagSizer
*result
;
38284 PyObject
* obj0
= 0 ;
38285 PyObject
* obj1
= 0 ;
38286 char *kwnames
[] = {
38287 (char *) "vgap",(char *) "hgap", NULL
38290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38292 arg1
= (int) SWIG_AsInt(obj0
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38296 arg2
= (int) SWIG_AsInt(obj1
);
38297 if (PyErr_Occurred()) SWIG_fail
;
38300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38301 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38313 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38314 PyObject
*resultobj
;
38315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38316 PyObject
*arg2
= (PyObject
*) 0 ;
38317 wxGBPosition
*arg3
= 0 ;
38318 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38319 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38320 int arg5
= (int) 0 ;
38321 int arg6
= (int) 0 ;
38322 PyObject
*arg7
= (PyObject
*) NULL
;
38324 wxGBPosition temp3
;
38326 PyObject
* obj0
= 0 ;
38327 PyObject
* obj1
= 0 ;
38328 PyObject
* obj2
= 0 ;
38329 PyObject
* obj3
= 0 ;
38330 PyObject
* obj4
= 0 ;
38331 PyObject
* obj5
= 0 ;
38332 PyObject
* obj6
= 0 ;
38333 char *kwnames
[] = {
38334 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38343 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38348 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38352 arg5
= (int) SWIG_AsInt(obj4
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38356 arg6
= (int) SWIG_AsInt(obj5
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38378 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
;
38380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38381 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38383 PyObject
* obj0
= 0 ;
38384 PyObject
* obj1
= 0 ;
38385 char *kwnames
[] = {
38386 (char *) "self",(char *) "item", NULL
38389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 result
= (bool)(arg1
)->Add(arg2
);
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38410 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38411 PyObject
*resultobj
;
38412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38414 PyObject
* obj0
= 0 ;
38415 char *kwnames
[] = {
38416 (char *) "self", NULL
38419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38430 wxSize
* resultptr
;
38431 resultptr
= new wxSize((wxSize
&) result
);
38432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38440 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
;
38442 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char *kwnames
[] = {
38448 (char *) "self",(char *) "sz", NULL
38451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 Py_INCREF(Py_None
); resultobj
= Py_None
;
38472 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38473 PyObject
*resultobj
;
38474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38475 wxWindow
*arg2
= (wxWindow
*) 0 ;
38476 wxGBPosition result
;
38477 PyObject
* obj0
= 0 ;
38478 PyObject
* obj1
= 0 ;
38480 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&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_wxWindow
,
38484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (arg1
)->GetItemPosition(arg2
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38493 wxGBPosition
* resultptr
;
38494 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38503 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38504 PyObject
*resultobj
;
38505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38506 wxSizer
*arg2
= (wxSizer
*) 0 ;
38507 wxGBPosition result
;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38511 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 result
= (arg1
)->GetItemPosition(arg2
);
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38524 wxGBPosition
* resultptr
;
38525 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38534 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38535 PyObject
*resultobj
;
38536 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38538 wxGBPosition result
;
38539 PyObject
* obj0
= 0 ;
38540 PyObject
* obj1
= 0 ;
38542 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38545 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38549 result
= (arg1
)->GetItemPosition(arg2
);
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38555 wxGBPosition
* resultptr
;
38556 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38565 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38570 argc
= PyObject_Length(args
);
38571 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38572 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38588 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38596 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38604 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38614 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38622 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38630 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38638 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38640 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38645 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38650 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38651 PyObject
*resultobj
;
38652 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38653 wxWindow
*arg2
= (wxWindow
*) 0 ;
38654 wxGBPosition
*arg3
= 0 ;
38656 wxGBPosition temp3
;
38657 PyObject
* obj0
= 0 ;
38658 PyObject
* obj1
= 0 ;
38659 PyObject
* obj2
= 0 ;
38661 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38668 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38672 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38686 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38687 PyObject
*resultobj
;
38688 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38689 wxSizer
*arg2
= (wxSizer
*) 0 ;
38690 wxGBPosition
*arg3
= 0 ;
38692 wxGBPosition temp3
;
38693 PyObject
* obj0
= 0 ;
38694 PyObject
* obj1
= 0 ;
38695 PyObject
* obj2
= 0 ;
38697 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38704 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38722 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38723 PyObject
*resultobj
;
38724 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38726 wxGBPosition
*arg3
= 0 ;
38728 wxGBPosition temp3
;
38729 PyObject
* obj0
= 0 ;
38730 PyObject
* obj1
= 0 ;
38731 PyObject
* obj2
= 0 ;
38733 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38736 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38740 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38746 wxPyEndAllowThreads(__tstate
);
38747 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38758 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38763 argc
= PyObject_Length(args
);
38764 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38765 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38781 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38790 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38793 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38802 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38812 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38821 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38824 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38833 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38841 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38844 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38847 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38853 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38858 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38859 PyObject
*resultobj
;
38860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38861 wxWindow
*arg2
= (wxWindow
*) 0 ;
38863 PyObject
* obj0
= 0 ;
38864 PyObject
* obj1
= 0 ;
38866 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (arg1
)->GetItemSpan(arg2
);
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 wxGBSpan
* resultptr
;
38880 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38889 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38890 PyObject
*resultobj
;
38891 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38892 wxSizer
*arg2
= (wxSizer
*) 0 ;
38894 PyObject
* obj0
= 0 ;
38895 PyObject
* obj1
= 0 ;
38897 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 result
= (arg1
)->GetItemSpan(arg2
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38910 wxGBSpan
* resultptr
;
38911 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38920 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38921 PyObject
*resultobj
;
38922 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38925 PyObject
* obj0
= 0 ;
38926 PyObject
* obj1
= 0 ;
38928 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 result
= (arg1
)->GetItemSpan(arg2
);
38937 wxPyEndAllowThreads(__tstate
);
38938 if (PyErr_Occurred()) SWIG_fail
;
38941 wxGBSpan
* resultptr
;
38942 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38951 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38956 argc
= PyObject_Length(args
);
38957 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38982 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39008 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39024 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39026 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39036 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
39037 PyObject
*resultobj
;
39038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39039 wxWindow
*arg2
= (wxWindow
*) 0 ;
39040 wxGBSpan
*arg3
= 0 ;
39043 PyObject
* obj0
= 0 ;
39044 PyObject
* obj1
= 0 ;
39045 PyObject
* obj2
= 0 ;
39047 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39054 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39058 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39060 wxPyEndAllowThreads(__tstate
);
39061 if (PyErr_Occurred()) SWIG_fail
;
39064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39072 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
39073 PyObject
*resultobj
;
39074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39075 wxSizer
*arg2
= (wxSizer
*) 0 ;
39076 wxGBSpan
*arg3
= 0 ;
39079 PyObject
* obj0
= 0 ;
39080 PyObject
* obj1
= 0 ;
39081 PyObject
* obj2
= 0 ;
39083 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39090 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39108 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39109 PyObject
*resultobj
;
39110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39112 wxGBSpan
*arg3
= 0 ;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 PyObject
* obj2
= 0 ;
39119 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39132 wxPyEndAllowThreads(__tstate
);
39133 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39144 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39149 argc
= PyObject_Length(args
);
39150 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39151 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39167 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39176 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39179 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39188 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39198 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39207 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39210 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39227 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39230 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39233 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39239 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39244 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39245 PyObject
*resultobj
;
39246 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39247 wxWindow
*arg2
= (wxWindow
*) 0 ;
39248 wxGBSizerItem
*result
;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39252 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39259 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39271 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39272 PyObject
*resultobj
;
39273 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39274 wxSizer
*arg2
= (wxSizer
*) 0 ;
39275 wxGBSizerItem
*result
;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39279 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39298 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39303 argc
= PyObject_Length(args
);
39304 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39305 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39311 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39321 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39329 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39337 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39347 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39355 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39360 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39365 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39366 PyObject
*resultobj
;
39367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39368 wxGBPosition
*arg2
= 0 ;
39369 wxGBSizerItem
*result
;
39370 wxGBPosition temp2
;
39371 PyObject
* obj0
= 0 ;
39372 PyObject
* obj1
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self",(char *) "pos", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39382 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39398 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39401 wxPoint
*arg2
= 0 ;
39402 wxGBSizerItem
*result
;
39404 PyObject
* obj0
= 0 ;
39405 PyObject
* obj1
= 0 ;
39406 char *kwnames
[] = {
39407 (char *) "self",(char *) "pt", NULL
39410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39421 wxPyEndAllowThreads(__tstate
);
39422 if (PyErr_Occurred()) SWIG_fail
;
39424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39431 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
;
39433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39434 wxObject
*arg2
= (wxObject
*) 0 ;
39435 wxGBSizerItem
*result
;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 char *kwnames
[] = {
39439 (char *) "self",(char *) "userData", NULL
39442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39461 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39462 PyObject
*resultobj
;
39463 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39464 PyObject
* obj0
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39474 (arg1
)->RecalcSizes();
39476 wxPyEndAllowThreads(__tstate
);
39477 if (PyErr_Occurred()) SWIG_fail
;
39479 Py_INCREF(Py_None
); resultobj
= Py_None
;
39486 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39487 PyObject
*resultobj
;
39488 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39490 PyObject
* obj0
= 0 ;
39491 char *kwnames
[] = {
39492 (char *) "self", NULL
39495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39500 result
= (arg1
)->CalcMin();
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39506 wxSize
* resultptr
;
39507 resultptr
= new wxSize((wxSize
&) result
);
39508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39516 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39517 PyObject
*resultobj
;
39518 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39519 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39520 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39522 PyObject
* obj0
= 0 ;
39523 PyObject
* obj1
= 0 ;
39524 PyObject
* obj2
= 0 ;
39526 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39537 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39539 wxPyEndAllowThreads(__tstate
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39551 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39552 PyObject
*resultobj
;
39553 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39554 wxGBPosition
*arg2
= 0 ;
39555 wxGBSpan
*arg3
= 0 ;
39556 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39558 wxGBPosition temp2
;
39560 PyObject
* obj0
= 0 ;
39561 PyObject
* obj1
= 0 ;
39562 PyObject
* obj2
= 0 ;
39563 PyObject
* obj3
= 0 ;
39565 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39570 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39574 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39577 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39596 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39601 argc
= PyObject_Length(args
);
39602 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39603 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39605 if ((argc
>= 2) && (argc
<= 3)) {
39609 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39619 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39628 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39632 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39640 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39645 if ((argc
>= 3) && (argc
<= 4)) {
39649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39658 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39662 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39666 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39670 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39678 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39685 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39690 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39693 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39695 return Py_BuildValue((char *)"");
39697 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39698 PyObject
*resultobj
;
39699 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39701 wxWindow
*arg3
= (wxWindow
*) 0 ;
39703 int arg5
= (int) 0 ;
39704 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39705 PyObject
* obj0
= 0 ;
39706 PyObject
* obj1
= 0 ;
39707 PyObject
* obj2
= 0 ;
39708 PyObject
* obj3
= 0 ;
39709 PyObject
* obj4
= 0 ;
39710 PyObject
* obj5
= 0 ;
39711 char *kwnames
[] = {
39712 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39718 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39719 if (PyErr_Occurred()) SWIG_fail
;
39720 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39722 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 arg5
= (int) SWIG_AsInt(obj4
);
39726 if (PyErr_Occurred()) SWIG_fail
;
39729 arg6
= (int) SWIG_AsInt(obj5
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 Py_INCREF(Py_None
); resultobj
= Py_None
;
39746 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
;
39748 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39749 wxWindow
*arg2
= (wxWindow
*) 0 ;
39750 int arg3
= (int) 0 ;
39751 PyObject
* obj0
= 0 ;
39752 PyObject
* obj1
= 0 ;
39753 PyObject
* obj2
= 0 ;
39754 char *kwnames
[] = {
39755 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39764 arg3
= (int) SWIG_AsInt(obj2
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 (arg1
)->LeftOf(arg2
,arg3
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 Py_INCREF(Py_None
); resultobj
= Py_None
;
39781 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39782 PyObject
*resultobj
;
39783 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39784 wxWindow
*arg2
= (wxWindow
*) 0 ;
39785 int arg3
= (int) 0 ;
39786 PyObject
* obj0
= 0 ;
39787 PyObject
* obj1
= 0 ;
39788 PyObject
* obj2
= 0 ;
39789 char *kwnames
[] = {
39790 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 arg3
= (int) SWIG_AsInt(obj2
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 (arg1
)->RightOf(arg2
,arg3
);
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 Py_INCREF(Py_None
); resultobj
= Py_None
;
39816 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39817 PyObject
*resultobj
;
39818 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39819 wxWindow
*arg2
= (wxWindow
*) 0 ;
39820 int arg3
= (int) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 PyObject
* obj1
= 0 ;
39823 PyObject
* obj2
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39834 arg3
= (int) SWIG_AsInt(obj2
);
39835 if (PyErr_Occurred()) SWIG_fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 (arg1
)->Above(arg2
,arg3
);
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 Py_INCREF(Py_None
); resultobj
= Py_None
;
39851 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39854 wxWindow
*arg2
= (wxWindow
*) 0 ;
39855 int arg3
= (int) 0 ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 PyObject
* obj2
= 0 ;
39859 char *kwnames
[] = {
39860 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39869 arg3
= (int) SWIG_AsInt(obj2
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 (arg1
)->Below(arg2
,arg3
);
39876 wxPyEndAllowThreads(__tstate
);
39877 if (PyErr_Occurred()) SWIG_fail
;
39879 Py_INCREF(Py_None
); resultobj
= Py_None
;
39886 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39887 PyObject
*resultobj
;
39888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39889 wxWindow
*arg2
= (wxWindow
*) 0 ;
39891 int arg4
= (int) 0 ;
39892 PyObject
* obj0
= 0 ;
39893 PyObject
* obj1
= 0 ;
39894 PyObject
* obj2
= 0 ;
39895 PyObject
* obj3
= 0 ;
39896 char *kwnames
[] = {
39897 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39905 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 arg4
= (int) SWIG_AsInt(obj3
);
39909 if (PyErr_Occurred()) SWIG_fail
;
39912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39913 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39915 wxPyEndAllowThreads(__tstate
);
39916 if (PyErr_Occurred()) SWIG_fail
;
39918 Py_INCREF(Py_None
); resultobj
= Py_None
;
39925 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39926 PyObject
*resultobj
;
39927 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39928 wxWindow
*arg2
= (wxWindow
*) 0 ;
39931 PyObject
* obj0
= 0 ;
39932 PyObject
* obj1
= 0 ;
39933 PyObject
* obj2
= 0 ;
39934 PyObject
* obj3
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39944 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39945 if (PyErr_Occurred()) SWIG_fail
;
39946 arg4
= (int) SWIG_AsInt(obj3
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39950 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39952 wxPyEndAllowThreads(__tstate
);
39953 if (PyErr_Occurred()) SWIG_fail
;
39955 Py_INCREF(Py_None
); resultobj
= Py_None
;
39962 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39963 PyObject
*resultobj
;
39964 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39966 PyObject
* obj0
= 0 ;
39967 PyObject
* obj1
= 0 ;
39968 char *kwnames
[] = {
39969 (char *) "self",(char *) "val", NULL
39972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39975 arg2
= (int) SWIG_AsInt(obj1
);
39976 if (PyErr_Occurred()) SWIG_fail
;
39978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39979 (arg1
)->Absolute(arg2
);
39981 wxPyEndAllowThreads(__tstate
);
39982 if (PyErr_Occurred()) SWIG_fail
;
39984 Py_INCREF(Py_None
); resultobj
= Py_None
;
39991 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39992 PyObject
*resultobj
;
39993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39994 PyObject
* obj0
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40004 (arg1
)->Unconstrained();
40006 wxPyEndAllowThreads(__tstate
);
40007 if (PyErr_Occurred()) SWIG_fail
;
40009 Py_INCREF(Py_None
); resultobj
= Py_None
;
40016 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40017 PyObject
*resultobj
;
40018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40019 PyObject
* obj0
= 0 ;
40020 char *kwnames
[] = {
40021 (char *) "self", NULL
40024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 Py_INCREF(Py_None
); resultobj
= Py_None
;
40041 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
;
40043 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40045 PyObject
* obj0
= 0 ;
40046 char *kwnames
[] = {
40047 (char *) "self", NULL
40050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= wxPyMake_wxObject(result
);
40069 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40070 PyObject
*resultobj
;
40071 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40073 PyObject
* obj0
= 0 ;
40074 char *kwnames
[] = {
40075 (char *) "self", NULL
40078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40083 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40085 wxPyEndAllowThreads(__tstate
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40088 resultobj
= SWIG_FromInt((int)result
);
40095 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40096 PyObject
*resultobj
;
40097 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40099 PyObject
* obj0
= 0 ;
40100 PyObject
* obj1
= 0 ;
40101 char *kwnames
[] = {
40102 (char *) "self",(char *) "which", NULL
40105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40108 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40109 if (PyErr_Occurred()) SWIG_fail
;
40111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40112 (arg1
)->SetEdge((wxEdge
)arg2
);
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40117 Py_INCREF(Py_None
); resultobj
= Py_None
;
40124 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40125 PyObject
*resultobj
;
40126 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40128 PyObject
* obj0
= 0 ;
40129 PyObject
* obj1
= 0 ;
40130 char *kwnames
[] = {
40131 (char *) "self",(char *) "v", NULL
40134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40137 arg2
= (int) SWIG_AsInt(obj1
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40141 (arg1
)->SetValue(arg2
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40146 Py_INCREF(Py_None
); resultobj
= Py_None
;
40153 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 result
= (int)(arg1
)->GetMargin();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_FromInt((int)result
);
40179 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
;
40181 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40183 PyObject
* obj0
= 0 ;
40184 PyObject
* obj1
= 0 ;
40185 char *kwnames
[] = {
40186 (char *) "self",(char *) "m", NULL
40189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40192 arg2
= (int) SWIG_AsInt(obj1
);
40193 if (PyErr_Occurred()) SWIG_fail
;
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 (arg1
)->SetMargin(arg2
);
40198 wxPyEndAllowThreads(__tstate
);
40199 if (PyErr_Occurred()) SWIG_fail
;
40201 Py_INCREF(Py_None
); resultobj
= Py_None
;
40208 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40209 PyObject
*resultobj
;
40210 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40212 PyObject
* obj0
= 0 ;
40213 char *kwnames
[] = {
40214 (char *) "self", NULL
40217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40227 resultobj
= SWIG_FromInt((int)result
);
40234 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40235 PyObject
*resultobj
;
40236 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40238 PyObject
* obj0
= 0 ;
40239 char *kwnames
[] = {
40240 (char *) "self", NULL
40243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= SWIG_FromInt((int)result
);
40260 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
;
40262 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40264 PyObject
* obj0
= 0 ;
40265 char *kwnames
[] = {
40266 (char *) "self", NULL
40269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40279 resultobj
= SWIG_FromInt((int)result
);
40286 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
;
40288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40290 PyObject
* obj0
= 0 ;
40291 char *kwnames
[] = {
40292 (char *) "self", NULL
40295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40300 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40314 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40315 PyObject
*resultobj
;
40316 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40318 PyObject
* obj0
= 0 ;
40319 PyObject
* obj1
= 0 ;
40320 char *kwnames
[] = {
40321 (char *) "self",(char *) "d", NULL
40324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40327 arg2
= (bool) SWIG_AsBool(obj1
);
40328 if (PyErr_Occurred()) SWIG_fail
;
40330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40331 (arg1
)->SetDone(arg2
);
40333 wxPyEndAllowThreads(__tstate
);
40334 if (PyErr_Occurred()) SWIG_fail
;
40336 Py_INCREF(Py_None
); resultobj
= Py_None
;
40343 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40344 PyObject
*resultobj
;
40345 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40347 PyObject
* obj0
= 0 ;
40348 char *kwnames
[] = {
40349 (char *) "self", NULL
40352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40357 result
= (int)(arg1
)->GetRelationship();
40359 wxPyEndAllowThreads(__tstate
);
40360 if (PyErr_Occurred()) SWIG_fail
;
40362 resultobj
= SWIG_FromInt((int)result
);
40369 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40370 PyObject
*resultobj
;
40371 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40373 PyObject
* obj0
= 0 ;
40374 PyObject
* obj1
= 0 ;
40375 char *kwnames
[] = {
40376 (char *) "self",(char *) "r", NULL
40379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40382 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40386 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40388 wxPyEndAllowThreads(__tstate
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40391 Py_INCREF(Py_None
); resultobj
= Py_None
;
40398 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40399 PyObject
*resultobj
;
40400 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40401 wxWindow
*arg2
= (wxWindow
*) 0 ;
40403 PyObject
* obj0
= 0 ;
40404 PyObject
* obj1
= 0 ;
40405 char *kwnames
[] = {
40406 (char *) "self",(char *) "otherW", NULL
40409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40416 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40418 wxPyEndAllowThreads(__tstate
);
40419 if (PyErr_Occurred()) SWIG_fail
;
40422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40430 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
;
40432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40433 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40434 wxWindow
*arg3
= (wxWindow
*) 0 ;
40436 PyObject
* obj0
= 0 ;
40437 PyObject
* obj1
= 0 ;
40438 PyObject
* obj2
= 0 ;
40439 char *kwnames
[] = {
40440 (char *) "self",(char *) "constraints",(char *) "win", NULL
40443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40448 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40452 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40466 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40470 wxWindow
*arg3
= (wxWindow
*) 0 ;
40471 wxWindow
*arg4
= (wxWindow
*) 0 ;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 PyObject
* obj2
= 0 ;
40476 PyObject
* obj3
= 0 ;
40477 char *kwnames
[] = {
40478 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40484 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40485 if (PyErr_Occurred()) SWIG_fail
;
40486 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40488 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40492 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40494 wxPyEndAllowThreads(__tstate
);
40495 if (PyErr_Occurred()) SWIG_fail
;
40497 resultobj
= SWIG_FromInt((int)result
);
40504 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40507 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40509 return Py_BuildValue((char *)"");
40511 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40514 wxIndividualLayoutConstraint
*result
;
40515 PyObject
* obj0
= 0 ;
40516 char *kwnames
[] = {
40517 (char *) "self", NULL
40520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40523 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40532 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40533 PyObject
*resultobj
;
40534 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40535 wxIndividualLayoutConstraint
*result
;
40536 PyObject
* obj0
= 0 ;
40537 char *kwnames
[] = {
40538 (char *) "self", NULL
40541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40544 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40553 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40554 PyObject
*resultobj
;
40555 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40556 wxIndividualLayoutConstraint
*result
;
40557 PyObject
* obj0
= 0 ;
40558 char *kwnames
[] = {
40559 (char *) "self", NULL
40562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40565 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40574 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
;
40576 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40577 wxIndividualLayoutConstraint
*result
;
40578 PyObject
* obj0
= 0 ;
40579 char *kwnames
[] = {
40580 (char *) "self", NULL
40583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40586 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40595 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40596 PyObject
*resultobj
;
40597 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40598 wxIndividualLayoutConstraint
*result
;
40599 PyObject
* obj0
= 0 ;
40600 char *kwnames
[] = {
40601 (char *) "self", NULL
40604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40607 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40616 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40617 PyObject
*resultobj
;
40618 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40619 wxIndividualLayoutConstraint
*result
;
40620 PyObject
* obj0
= 0 ;
40621 char *kwnames
[] = {
40622 (char *) "self", NULL
40625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40628 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40637 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40638 PyObject
*resultobj
;
40639 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40640 wxIndividualLayoutConstraint
*result
;
40641 PyObject
* obj0
= 0 ;
40642 char *kwnames
[] = {
40643 (char *) "self", NULL
40646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40649 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40658 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40659 PyObject
*resultobj
;
40660 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40661 wxIndividualLayoutConstraint
*result
;
40662 PyObject
* obj0
= 0 ;
40663 char *kwnames
[] = {
40664 (char *) "self", NULL
40667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40670 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40679 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40680 PyObject
*resultobj
;
40681 wxLayoutConstraints
*result
;
40682 char *kwnames
[] = {
40686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40689 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40691 wxPyEndAllowThreads(__tstate
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40701 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40702 PyObject
*resultobj
;
40703 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40704 wxWindow
*arg2
= (wxWindow
*) 0 ;
40705 int *arg3
= (int *) 0 ;
40708 PyObject
* obj0
= 0 ;
40709 PyObject
* obj1
= 0 ;
40710 char *kwnames
[] = {
40711 (char *) "self",(char *) "win", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40722 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40724 wxPyEndAllowThreads(__tstate
);
40725 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40731 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40732 resultobj
= t_output_helper(resultobj
,o
);
40740 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40741 PyObject
*resultobj
;
40742 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40744 PyObject
* obj0
= 0 ;
40745 char *kwnames
[] = {
40746 (char *) "self", NULL
40749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40754 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40756 wxPyEndAllowThreads(__tstate
);
40757 if (PyErr_Occurred()) SWIG_fail
;
40760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40768 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40771 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40773 return Py_BuildValue((char *)"");
40775 static PyMethodDef SwigMethods
[] = {
40776 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40777 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40778 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40781 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40802 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40815 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40830 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40881 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40909 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40927 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40929 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40937 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40938 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40950 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40961 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40966 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40972 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40982 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40992 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40996 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"new_EmptyImage", _wrap_new_EmptyImage
, METH_VARARGS
},
41002 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
41067 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
41070 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
41072 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
41074 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
41076 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
41078 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
41080 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
41082 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
41084 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
41086 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
41088 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
41090 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
41104 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
41122 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
41125 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41128 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41140 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41145 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41151 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41157 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41219 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41226 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41261 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41271 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41281 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41283 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41285 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41288 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41292 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41295 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41298 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41300 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41305 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41313 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41317 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41320 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41322 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41326 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41343 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41345 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41348 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41350 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41354 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41358 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41366 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41369 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41372 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41376 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41383 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41388 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41393 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41437 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41454 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41458 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41468 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41517 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41518 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41625 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41665 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41679 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41682 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41737 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41764 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41808 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41816 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41833 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41834 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41839 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41852 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41862 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41869 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41871 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41872 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41873 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41874 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41875 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41878 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41879 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41881 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41882 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41883 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41884 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41885 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41887 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41891 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41892 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41893 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41894 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41895 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41898 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41899 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41900 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41901 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41902 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41903 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41904 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41905 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41906 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41907 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41908 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41909 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41910 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41911 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41912 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41913 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41914 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41915 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41916 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41917 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41918 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41919 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41920 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41921 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41922 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41923 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41924 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41925 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41926 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41927 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41928 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41929 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41930 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41931 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41932 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41933 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41934 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41935 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41936 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41937 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41938 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41939 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41940 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41941 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41942 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41943 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41944 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41945 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41946 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41947 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41948 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41949 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41950 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41951 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41952 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41953 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41954 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41955 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41956 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41957 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41958 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41959 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41960 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41961 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41962 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41963 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41964 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41965 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41966 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41967 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41968 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41969 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41970 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41971 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41972 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41973 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41974 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41975 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41976 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41977 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41978 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41979 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41980 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41981 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41982 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41983 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41984 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41985 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41986 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41987 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41988 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41989 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41990 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41991 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41992 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41993 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41994 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41995 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41996 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41997 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41998 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41999 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
42000 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
42001 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
42002 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
42003 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
42004 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
42005 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
42006 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
42007 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
42008 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
42009 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
42010 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
42011 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
42012 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
42013 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
42014 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
42015 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
42016 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
42017 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
42018 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
42019 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
42020 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
42021 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
42022 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
42023 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
42024 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
42025 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
42026 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
42031 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42033 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42034 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42036 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42037 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42039 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42040 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42042 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42043 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42045 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42046 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42048 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42049 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42051 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42052 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42054 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42055 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42057 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42060 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42061 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42063 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42064 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42066 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42067 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42069 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42070 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42072 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42073 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42075 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42076 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42078 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42081 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42082 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42084 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42087 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42088 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42090 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42093 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42094 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42096 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42097 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42099 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42100 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42102 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42103 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42105 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42106 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42108 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42109 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42111 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42112 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42114 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42115 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42117 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42120 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42121 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42123 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42124 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42126 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42127 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42129 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42130 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42132 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42133 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42135 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42136 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42138 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42141 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42142 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42144 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42145 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42147 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42150 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42153 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42154 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42156 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42157 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42159 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42160 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42162 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42163 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42165 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42166 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42168 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42169 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42171 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42172 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42174 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42175 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42177 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42178 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42180 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42181 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42183 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42186 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42187 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42189 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42190 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42192 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42193 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42195 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42198 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42199 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42201 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42202 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42204 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42205 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42207 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42208 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42210 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42211 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42213 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42214 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42216 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42217 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42219 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42220 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42222 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42223 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42225 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42226 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42228 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42229 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42231 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42232 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42234 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42235 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42237 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42238 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42240 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42241 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42243 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42244 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42246 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42247 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42249 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42250 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42252 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42253 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42255 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42256 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42258 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42259 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42261 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42262 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42264 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42265 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42267 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42268 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42270 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42273 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42274 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42276 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42277 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42279 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42280 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42282 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42283 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42285 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42288 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42291 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42292 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42294 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42295 return (void *)((wxObject
*) ((wxSizer
*) x
));
42297 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42298 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42300 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42301 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42303 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42304 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42306 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42307 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42309 static void *_p_wxImageTo_p_wxObject(void *x
) {
42310 return (void *)((wxObject
*) ((wxImage
*) x
));
42312 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42315 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42318 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42319 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42321 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42322 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42324 static void *_p_wxControlTo_p_wxObject(void *x
) {
42325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42327 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42328 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42330 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42331 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42333 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42334 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42336 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42339 static void *_p_wxEventTo_p_wxObject(void *x
) {
42340 return (void *)((wxObject
*) ((wxEvent
*) x
));
42342 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42343 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42345 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42346 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42348 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42349 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42351 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42352 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42354 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42355 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42357 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42358 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42360 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42363 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42364 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42366 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42369 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42370 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42372 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42375 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42376 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42378 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42381 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42382 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42384 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42385 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42387 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42388 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42390 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42393 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42394 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42396 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42399 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42402 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42405 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42408 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42411 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42414 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42417 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42420 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42421 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42423 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42424 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42426 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42427 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42429 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42430 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42432 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42433 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42435 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42438 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42439 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42441 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42442 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42444 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42445 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42447 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42448 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42450 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42451 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42453 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42454 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42456 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42457 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42459 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42462 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42463 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42465 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42466 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42468 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42471 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42472 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42474 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42475 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42477 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42478 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42480 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42481 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42483 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42484 return (void *)((wxWindow
*) ((wxControl
*) x
));
42486 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42487 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42489 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42490 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42492 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42493 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42495 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42496 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42498 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42499 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42501 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42502 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42504 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42505 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42507 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42508 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42510 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42511 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42513 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42514 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42516 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42517 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42530 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}};
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42536 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}};
42537 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}};
42538 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}};
42539 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}};
42540 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}};
42541 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}};
42542 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}};
42543 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}};
42544 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}};
42545 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}};
42546 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}};
42547 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}};
42548 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}};
42549 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}};
42550 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}};
42551 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}};
42552 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}};
42553 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}};
42554 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}};
42555 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}};
42556 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}};
42557 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}};
42558 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}};
42559 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}};
42560 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}};
42561 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}};
42562 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}};
42563 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}};
42564 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}};
42565 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}};
42566 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}};
42567 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}};
42568 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}};
42569 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}};
42570 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}};
42571 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}};
42572 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}};
42573 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}};
42574 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}};
42575 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}};
42576 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}};
42577 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}};
42578 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}};
42579 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}};
42580 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}};
42581 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}};
42582 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}};
42583 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}};
42584 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}};
42585 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}};
42586 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}};
42587 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}};
42588 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}};
42589 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}};
42590 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}};
42591 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}};
42592 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}};
42593 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}};
42594 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}};
42595 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}};
42596 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}};
42597 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}};
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42627 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}};
42628 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}};
42629 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}};
42630 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}};
42631 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}};
42632 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}};
42633 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}};
42635 static swig_type_info
*swig_types_initial
[] = {
42636 _swigt__p_wxLayoutConstraints
,
42637 _swigt__p_wxRealPoint
,
42638 _swigt__p_wxSizerItem
,
42639 _swigt__p_wxGBSizerItem
,
42640 _swigt__p_wxScrollEvent
,
42641 _swigt__p_wxIndividualLayoutConstraint
,
42643 _swigt__p_wxBoxSizer
,
42644 _swigt__p_wxStaticBoxSizer
,
42645 _swigt__p_wxGridBagSizer
,
42646 _swigt__p_wxAcceleratorEntry
,
42647 _swigt__p_wxUpdateUIEvent
,
42650 _swigt__p_wxGridSizer
,
42651 _swigt__p_wxFlexGridSizer
,
42652 _swigt__p_wxInitDialogEvent
,
42653 _swigt__p_wxItemContainer
,
42654 _swigt__p_wxNcPaintEvent
,
42655 _swigt__p_wxPaintEvent
,
42656 _swigt__p_wxSysColourChangedEvent
,
42657 _swigt__p_wxMouseCaptureChangedEvent
,
42658 _swigt__p_wxDisplayChangedEvent
,
42659 _swigt__p_wxPaletteChangedEvent
,
42660 _swigt__p_wxControl
,
42662 _swigt__p_wxMenuBarBase
,
42663 _swigt__p_wxSetCursorEvent
,
42664 _swigt__p_wxFSFile
,
42666 _swigt__p_wxRegion
,
42667 _swigt__p_wxPoint2D
,
42671 _swigt__p_wxPySizer
,
42672 _swigt__p_wxVisualAttributes
,
42673 _swigt__p_wxNotifyEvent
,
42674 _swigt__p_wxPyEvent
,
42675 _swigt__p_wxPropagationDisabler
,
42676 _swigt__p_wxAppTraits
,
42677 _swigt__p_wxArrayString
,
42678 _swigt__p_wxShowEvent
,
42679 _swigt__p_wxToolTip
,
42680 _swigt__p_wxMaximizeEvent
,
42681 _swigt__p_wxIconizeEvent
,
42682 _swigt__p_wxActivateEvent
,
42683 _swigt__p_wxMoveEvent
,
42684 _swigt__p_wxSizeEvent
,
42685 _swigt__p_wxQueryNewPaletteEvent
,
42686 _swigt__p_wxWindowCreateEvent
,
42687 _swigt__p_wxIdleEvent
,
42688 _swigt__p_wxMenuItem
,
42689 _swigt__p_wxStaticBox
,
42691 _swigt__p_wxTIFFHandler
,
42692 _swigt__p_wxXPMHandler
,
42693 _swigt__p_wxPNMHandler
,
42694 _swigt__p_wxJPEGHandler
,
42695 _swigt__p_wxPCXHandler
,
42696 _swigt__p_wxGIFHandler
,
42697 _swigt__p_wxPNGHandler
,
42698 _swigt__p_wxANIHandler
,
42699 _swigt__p_wxMemoryFSHandler
,
42700 _swigt__p_wxEvtHandler
,
42701 _swigt__p_wxCURHandler
,
42702 _swigt__p_wxICOHandler
,
42703 _swigt__p_wxBMPHandler
,
42704 _swigt__p_wxImageHandler
,
42705 _swigt__p_wxFileSystemHandler
,
42706 _swigt__p_wxPyFileSystemHandler
,
42707 _swigt__p_wxInternetFSHandler
,
42708 _swigt__p_wxZipFSHandler
,
42710 _swigt__p_wxGBSpan
,
42711 _swigt__p_wxPropagateOnce
,
42712 _swigt__p_wxAcceleratorTable
,
42714 _swigt__p_wxGBPosition
,
42717 _swigt__p_wxScrollWinEvent
,
42718 _swigt__p_wxImageHistogram
,
42721 _swigt__p_wxCursor
,
42722 _swigt__p_wxObject
,
42723 _swigt__p_wxPyInputStream
,
42724 _swigt__p_wxOutputStream
,
42725 _swigt__p_wxInputStream
,
42726 _swigt__p_wxDateTime
,
42727 _swigt__p_wxKeyEvent
,
42728 _swigt__p_wxNavigationKeyEvent
,
42729 _swigt__p_wxWindowDestroyEvent
,
42730 _swigt__p_wxWindow
,
42731 _swigt__p_wxMenuBar
,
42732 _swigt__p_wxFileSystem
,
42733 _swigt__p_wxBitmap
,
42734 _swigt__p_wxMenuEvent
,
42735 _swigt__p_wxContextMenuEvent
,
42736 _swigt__p_unsigned_char
,
42737 _swigt__p_wxCloseEvent
,
42738 _swigt__p_wxEraseEvent
,
42739 _swigt__p_wxMouseEvent
,
42741 _swigt__p_wxCommandEvent
,
42742 _swigt__p_wxPyCommandEvent
,
42743 _swigt__p_wxPyDropTarget
,
42744 _swigt__p_wxChildFocusEvent
,
42745 _swigt__p_wxFocusEvent
,
42746 _swigt__p_wxDropFilesEvent
,
42747 _swigt__p_wxControlWithItems
,
42748 _swigt__p_wxColour
,
42749 _swigt__p_wxValidator
,
42750 _swigt__p_wxPyValidator
,
42755 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42757 static swig_const_info swig_const_table
[] = {
42767 SWIGEXPORT(void) SWIG_init(void) {
42768 static PyObject
*SWIG_globals
= 0;
42769 static int typeinit
= 0;
42772 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42773 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42774 d
= PyModule_GetDict(m
);
42777 for (i
= 0; swig_types_initial
[i
]; i
++) {
42778 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42782 SWIG_InstallConstants(d
,swig_const_table
);
42785 #ifndef wxPyUSE_EXPORT
42786 // Make our API structure a CObject so other modules can import it
42787 // from this module.
42788 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42789 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42793 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42794 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42795 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42796 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42797 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42798 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42799 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42800 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42801 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42802 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42803 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42804 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42805 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42806 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42807 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42808 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42809 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42810 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42811 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42812 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42813 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42814 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42815 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42816 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42817 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42818 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42819 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42820 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42821 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42822 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42823 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42824 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42825 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42826 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42827 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42828 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42829 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42830 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42831 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42832 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42833 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42834 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42835 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42836 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42837 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42838 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42839 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42840 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42841 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42842 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42843 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42844 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42845 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42846 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42847 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42848 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42849 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42850 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42851 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42852 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42853 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42854 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42855 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42856 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42857 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42858 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42859 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42860 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42861 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42862 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42863 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42864 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42865 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42866 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42867 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42868 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42869 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42870 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42871 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42872 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42873 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42874 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42875 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42876 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42877 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42878 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42879 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42880 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42881 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42882 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42883 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42884 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42885 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42886 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42887 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42888 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42889 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42890 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42891 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42892 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42893 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42894 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42895 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42896 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42897 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42898 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42899 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42900 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42901 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42902 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42903 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42904 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42905 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42906 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42907 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42908 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42909 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42910 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42911 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42912 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42913 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42914 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42915 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42916 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42917 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42918 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42919 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42920 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42921 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42922 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42923 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42924 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42925 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42926 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42927 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42928 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42929 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42930 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42931 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42932 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42933 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42934 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42935 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42936 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42937 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42938 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42939 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42940 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42941 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42942 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42943 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42944 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42945 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42946 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42947 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42948 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42949 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42950 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42951 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42952 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42953 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42954 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42955 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42956 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42957 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42958 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42959 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42960 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42961 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42962 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42963 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42964 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42965 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42966 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42967 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42968 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42969 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42970 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42971 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42972 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42973 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42974 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42975 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42976 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42977 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42978 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42979 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42980 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42981 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42982 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42983 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42984 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42985 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42986 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42987 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42988 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42989 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42990 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42991 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42992 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42993 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42994 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42995 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42996 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42997 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42998 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42999 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
43000 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
43001 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
43002 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
43003 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
43004 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
43005 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
43006 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
43007 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
43008 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
43009 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
43010 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
43011 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
43012 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
43013 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
43014 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
43015 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
43016 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
43017 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
43018 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
43019 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
43020 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
43021 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
43022 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
43023 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
43024 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
43025 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
43026 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
43027 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
43028 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
43029 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
43030 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
43031 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
43032 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
43033 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
43034 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
43035 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
43036 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
43037 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
43038 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
43039 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
43040 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
43041 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
43042 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
43043 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
43044 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
43045 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
43046 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
43047 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
43048 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
43049 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
43050 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
43051 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
43052 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
43053 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
43054 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
43055 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
43056 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
43057 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
43058 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
43059 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
43060 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
43061 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
43062 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
43063 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
43064 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
43065 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
43066 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
43067 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
43068 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
43069 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
43070 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
43071 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
43072 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
43073 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
43074 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
43075 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
43076 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
43077 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
43078 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
43079 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
43080 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
43081 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
43082 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
43083 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
43084 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
43085 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
43086 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
43087 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
43088 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
43089 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
43090 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
43091 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
43092 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
43093 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
43094 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
43095 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
43096 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
43097 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
43098 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
43099 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
43100 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
43101 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
43102 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
43103 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
43104 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
43105 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
43106 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
43107 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
43108 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
43109 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
43110 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
43111 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
43112 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
43113 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
43114 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
43115 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
43116 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
43117 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
43118 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
43119 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
43120 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
43121 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
43122 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
43123 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
43124 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
43125 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
43126 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
43127 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43128 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43129 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43130 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43131 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43132 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43133 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43134 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43135 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43136 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43137 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43138 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43139 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43140 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43141 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43142 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43143 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43144 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43145 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43146 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43147 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43148 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43149 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43150 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43151 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43152 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43153 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43154 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43155 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43156 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43157 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43158 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43159 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43160 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43161 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43162 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43163 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43164 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43165 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43166 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43167 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43168 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43169 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43170 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43171 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43172 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43173 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43174 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43175 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43176 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43177 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43178 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43179 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43180 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43181 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43182 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43183 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43184 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43185 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43186 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43187 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43188 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43189 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43190 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43191 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43192 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43193 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43194 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43195 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43196 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43197 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43198 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43199 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43200 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43201 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43202 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43203 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43204 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43205 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43206 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43207 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43208 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43209 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43210 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43211 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43212 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43213 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43214 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43215 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43216 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43217 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43218 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43219 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43220 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43221 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43222 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43223 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43224 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43225 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43226 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43227 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43228 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43229 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43230 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43231 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43232 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43233 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43234 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43235 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43236 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43237 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43238 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43239 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43240 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43241 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43242 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43243 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43244 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43245 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43246 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43247 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43248 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43249 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43250 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43251 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43252 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43253 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43254 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43255 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43256 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43257 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43258 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43259 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43260 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43261 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43262 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43263 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43264 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43265 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43266 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43267 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43268 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43269 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43270 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43271 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43272 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43273 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43274 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43275 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43276 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43277 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43278 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43279 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43280 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43281 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43282 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43283 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43284 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43285 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43286 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43287 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43288 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43289 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43290 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43291 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43292 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43293 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43294 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43295 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43296 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43297 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43298 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43299 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43300 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43301 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43302 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43303 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43304 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43305 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43306 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43307 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43308 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43309 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43310 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43311 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43312 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43313 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43314 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43315 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43316 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43317 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43318 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43319 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43320 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43321 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43322 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43323 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43324 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43325 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43326 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43327 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43328 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43329 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43330 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43331 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43332 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43333 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43334 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43335 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43336 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43337 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43338 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43339 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43340 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43341 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43342 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43343 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43344 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43345 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43346 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43347 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43348 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43349 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43350 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43351 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43352 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43353 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43354 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43355 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43356 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43357 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43358 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43359 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43360 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43361 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43362 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43363 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43364 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43365 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43367 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43370 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43372 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43373 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43374 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43375 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43376 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43377 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43378 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43379 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43380 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43381 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43382 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43383 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43384 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43385 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43386 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43387 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43388 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43389 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43390 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43391 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43392 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43393 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43394 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43395 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43396 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43397 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43398 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43399 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43400 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43401 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43402 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43403 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43404 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43405 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43406 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43407 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43408 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43409 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43410 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43411 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43412 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43413 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43414 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43415 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43416 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43417 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43418 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43419 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43420 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43421 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43422 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43423 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43424 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43425 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43426 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43427 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43428 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43429 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43430 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43431 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43432 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43433 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43434 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43435 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43436 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43437 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43438 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43439 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43440 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43441 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43442 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43443 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43444 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43445 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43446 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43447 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43448 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43449 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43450 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43451 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43452 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43453 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43454 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43455 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43456 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43457 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43458 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43459 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43460 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43461 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43462 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43463 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43464 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43465 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43466 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43467 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43468 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43469 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43470 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43471 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43472 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43473 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43474 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43475 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43476 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43477 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43478 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43479 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43480 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43481 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43482 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43483 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43484 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43485 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43486 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43487 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43488 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43489 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43490 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43491 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43492 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43493 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43494 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43495 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43496 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43497 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43500 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43501 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43502 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43503 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43504 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43505 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43506 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43507 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43508 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43509 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43510 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43511 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43512 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43513 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43514 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43515 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43516 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43517 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43518 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43519 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43520 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43521 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43522 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43523 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43524 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43525 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43526 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43527 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43528 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43529 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43530 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43531 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43532 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43533 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43534 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43535 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43536 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43537 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43538 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43539 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43540 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43541 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43542 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43543 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43544 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43545 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43546 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43547 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43548 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43549 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43550 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43551 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43553 // Initialize threading, some globals and such
43557 // Although these are defined in __version__ they need to be here too so
43558 // that an assert can be done to ensure that the wxPython and the wxWindows
43560 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43561 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43562 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));