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(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 wxSize
wxImage_GetSize(wxImage
*self
){
1117 wxSize
size(self
->GetWidth(), self
->GetHeight());
1120 PyObject
*wxImage_GetData(wxImage
*self
){
1121 unsigned char* data
= self
->GetData();
1122 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1124 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1127 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1128 unsigned char* dataPtr
;
1130 if (! PyString_Check(data
)) {
1131 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1135 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1136 dataPtr
= (unsigned char*) malloc(len
);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1138 self
->SetData(dataPtr
);
1139 // wxImage takes ownership of dataPtr...
1141 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1142 unsigned char* data
= self
->GetData();
1143 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1145 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1148 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1149 unsigned char* buffer
;
1152 bool blocked
= wxPyBeginBlockThreads();
1153 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1156 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1160 self
->SetData(buffer
);
1162 wxPyEndBlockThreads(blocked
);
1164 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1165 unsigned char* data
= self
->GetAlpha();
1169 int len
= self
->GetWidth() * self
->GetHeight();
1171 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1175 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1176 unsigned char* dataPtr
;
1178 if (! PyString_Check(data
)) {
1179 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1183 size_t len
= self
->GetWidth() * self
->GetHeight();
1184 dataPtr
= (unsigned char*) malloc(len
);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1186 self
->SetAlpha(dataPtr
);
1187 // wxImage takes ownership of dataPtr...
1189 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1190 unsigned char* data
= self
->GetAlpha();
1191 int len
= self
->GetWidth() * self
->GetHeight();
1193 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1196 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1197 unsigned char* buffer
;
1200 bool blocked
= wxPyBeginBlockThreads();
1201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1204 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1208 self
->SetAlpha(buffer
);
1210 wxPyEndBlockThreads(blocked
);
1213 SWIGSTATICINLINE(int)
1214 SWIG_CheckUnsignedLong(PyObject
* obj
)
1216 SWIG_AsUnsignedLong(obj
);
1217 if (PyErr_Occurred()) {
1225 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1226 wxBitmap
bitmap(*self
);
1229 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1230 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1231 wxBitmap
bitmap( mono
, 1 );
1234 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1235 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1236 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1237 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1238 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1239 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1240 if (PyCallable_Check(func
)) {
1241 self
->Connect(id
, lastId
, eventType
,
1242 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1243 new wxPyCallback(func
));
1245 else if (func
== Py_None
) {
1246 self
->Disconnect(id
, lastId
, eventType
,
1247 (wxObjectEventFunction
)
1248 &wxPyCallback::EventThunker
);
1252 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1255 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1256 return self
->Disconnect(id
, lastId
, eventType
,
1257 (wxObjectEventFunction
)
1258 &wxPyCallback::EventThunker
);
1260 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1261 if (_self
&& _self
!= Py_None
) {
1262 self
->SetClientObject(new wxPyOORClientData(_self
));
1265 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1267 self
->SetClientObject(NULL
); // This will delete it too
1271 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1273 return self
->m_uniChar
;
1279 #if UINT_MAX < LONG_MAX
1280 #define SWIG_FromUnsignedInt SWIG_FromLong
1282 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1286 #if UINT_MAX != ULONG_MAX
1287 SWIGSTATICINLINE(unsigned int)
1288 SWIG_AsUnsignedInt(PyObject
*obj
)
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1292 "unsigned int", UINT_MAX
));
1295 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1299 SWIGSTATICINLINE(int)
1300 SWIG_CheckUnsignedInt(PyObject
* obj
)
1302 SWIG_AsUnsignedInt(obj
);
1303 if (PyErr_Occurred()) {
1311 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1312 self
->m_size
= size
;
1314 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1317 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1318 int count
= self
->GetNumberOfFiles();
1319 wxString
* files
= self
->GetFiles();
1320 PyObject
* list
= PyList_New(count
);
1323 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1327 for (int i
=0; i
<count
; i
++) {
1328 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1334 wxPyApp
*new_wxPyApp(){
1335 wxPythonApp
= new wxPyApp();
1339 void wxApp_CleanUp() {
1344 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1348 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1349 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1350 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1351 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1352 wxWindowList
& list
= self
->GetChildren();
1353 return wxPy_ConvertList(&list
);
1355 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1357 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1362 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1369 long wxWindow_GetHandle(wxWindow
*self
){
1370 return wxPyGetWinHandle(self
);
1373 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1374 return wxWindow::FindWindowById(id
, parent
);
1377 wxWindow
* wxFindWindowByName( const wxString
& name
,
1378 const wxWindow
*parent
= NULL
) {
1379 return wxWindow::FindWindowByName(name
, parent
);
1382 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1383 const wxWindow
*parent
= NULL
) {
1384 return wxWindow::FindWindowByLabel(label
, parent
);
1389 #include <wx/msw/private.h> // to get wxGetWindowId
1393 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1395 WXHWND hWnd
= (WXHWND
)_hWnd
;
1396 long id
= wxGetWindowId(hWnd
);
1397 wxWindow
* win
= new wxWindow
;
1398 parent
->AddChild(win
);
1399 win
->SetEventHandler(win
);
1402 win
->SubclassWin(hWnd
);
1403 win
->AdoptAttributesFromHWND();
1404 win
->SetupColours();
1407 wxPyRaiseNotImplemented();
1413 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1414 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1415 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1417 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1419 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1420 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1421 wxMenuItemList
& list
= self
->GetMenuItems();
1422 return wxPy_ConvertList(&list
);
1424 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1425 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1427 wxPyClientData
* data
= new wxPyClientData(clientData
);
1428 return self
->Append(item
, data
);
1430 return self
->Append(item
);
1432 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1434 wxPyClientData
* data
= new wxPyClientData(clientData
);
1435 return self
->Insert(item
, pos
, data
);
1437 return self
->Insert(item
, pos
);
1439 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1440 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1442 Py_INCREF(data
->m_obj
);
1449 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1450 wxPyClientData
* data
= new wxPyClientData(clientData
);
1451 self
->SetClientObject(n
, data
);
1459 SWIG_FloatCast(double value
)
1462 if (!PyErr_Occurred()) {
1463 if (value
< FLT_MIN
) {
1465 PyString_FromFormat("value %g is less than float minimum %g",
1467 PyErr_SetObject(PyExc_OverflowError
, err
);
1469 } else if (value
> FLT_MAX
) {
1471 PyString_FromFormat("value %g is greater than float maximum %g",
1473 PyErr_SetObject(PyExc_OverflowError
, err
);
1476 f
= swig_numeric_cast(float, value
);
1483 SWIGSTATICINLINE(float)
1484 SWIG_AsFloat(PyObject
*obj
)
1486 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1490 SWIGSTATICINLINE(int)
1491 SWIG_CheckFloat(PyObject
* obj
)
1494 if (PyErr_Occurred()) {
1502 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1503 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1505 Py_INCREF(data
->m_obj
);
1513 // Figure out the type of the sizer item
1515 struct wxPySizerItemInfo
{
1517 : window(NULL
), sizer(NULL
), gotSize(False
),
1518 size(wxDefaultSize
), gotPos(False
), pos(-1)
1529 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1531 wxPySizerItemInfo info
;
1533 wxSize
* sizePtr
= &size
;
1535 // Find out what the type of the item is
1537 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1542 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1546 // try wxSize or (w,h)
1547 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1548 info
.size
= *sizePtr
;
1549 info
.gotSize
= True
;
1553 if (checkIdx
&& PyInt_Check(item
)) {
1554 info
.pos
= PyInt_AsLong(item
);
1560 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1561 // no expected type, figure out what kind of error message to generate
1562 if ( !checkSize
&& !checkIdx
)
1563 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1564 else if ( checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1566 else if ( !checkSize
&& checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1569 // can this one happen?
1570 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1576 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1577 self
->SetClientObject(new wxPyOORClientData(_self
));
1579 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1581 wxPyUserData
* data
= NULL
;
1582 bool blocked
= wxPyBeginBlockThreads();
1583 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1584 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1585 data
= new wxPyUserData(userData
);
1586 wxPyEndBlockThreads(blocked
);
1588 // Now call the real Add method if a valid item type was found
1590 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1591 else if ( info
.sizer
)
1592 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1593 else if (info
.gotSize
)
1594 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1595 proportion
, flag
, border
, data
);
1597 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1599 wxPyUserData
* data
= NULL
;
1600 bool blocked
= wxPyBeginBlockThreads();
1601 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1602 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1603 data
= new wxPyUserData(userData
);
1604 wxPyEndBlockThreads(blocked
);
1606 // Now call the real Insert method if a valid item type was found
1608 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1609 else if ( info
.sizer
)
1610 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1611 else if (info
.gotSize
)
1612 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1613 proportion
, flag
, border
, data
);
1615 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1617 wxPyUserData
* data
= NULL
;
1618 bool blocked
= wxPyBeginBlockThreads();
1619 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1620 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1621 data
= new wxPyUserData(userData
);
1622 wxPyEndBlockThreads(blocked
);
1624 // Now call the real Prepend method if a valid item type was found
1626 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1627 else if ( info
.sizer
)
1628 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1629 else if (info
.gotSize
)
1630 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1631 proportion
, flag
, border
, data
);
1633 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1634 bool blocked
= wxPyBeginBlockThreads();
1635 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1636 wxPyEndBlockThreads(blocked
);
1638 return self
->Remove(info
.window
);
1639 else if ( info
.sizer
)
1640 return self
->Remove(info
.sizer
);
1641 else if ( info
.gotPos
)
1642 return self
->Remove(info
.pos
);
1646 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1647 bool blocked
= wxPyBeginBlockThreads();
1648 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1649 wxPyEndBlockThreads(blocked
);
1651 return self
->Detach(info
.window
);
1652 else if ( info
.sizer
)
1653 return self
->Detach(info
.sizer
);
1654 else if ( info
.gotPos
)
1655 return self
->Detach(info
.pos
);
1659 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1660 bool blocked
= wxPyBeginBlockThreads();
1661 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1662 wxPyEndBlockThreads(blocked
);
1664 self
->SetItemMinSize(info
.window
, size
);
1665 else if ( info
.sizer
)
1666 self
->SetItemMinSize(info
.sizer
, size
);
1667 else if ( info
.gotPos
)
1668 self
->SetItemMinSize(info
.pos
, size
);
1670 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1671 wxSizerItemList
& list
= self
->GetChildren();
1672 return wxPy_ConvertList(&list
);
1674 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1675 bool blocked
= wxPyBeginBlockThreads();
1676 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1677 wxPyEndBlockThreads(blocked
);
1679 self
->Show(info
.window
, show
);
1680 else if ( info
.sizer
)
1681 self
->Show(info
.sizer
, show
);
1683 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1684 bool blocked
= wxPyBeginBlockThreads();
1685 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1686 wxPyEndBlockThreads(blocked
);
1688 self
->Hide(info
.window
);
1689 else if ( info
.sizer
)
1690 self
->Hide(info
.sizer
);
1692 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1693 bool blocked
= wxPyBeginBlockThreads();
1694 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1695 wxPyEndBlockThreads(blocked
);
1697 return self
->IsShown(info
.window
);
1698 else if ( info
.sizer
)
1699 return self
->IsShown(info
.sizer
);
1705 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1706 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1707 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1712 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1714 if (source
== Py_None
) {
1715 **obj
= wxGBPosition(-1,-1);
1718 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1721 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1723 if (source
== Py_None
) {
1724 **obj
= wxGBSpan(-1,-1);
1727 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1731 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1735 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1736 bool blocked
= wxPyBeginBlockThreads();
1737 PyObject
* tup
= PyTuple_New(2);
1738 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1739 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1740 wxPyEndBlockThreads(blocked
);
1743 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1744 self
->SetRowspan(rowspan
);
1745 self
->SetColspan(colspan
);
1747 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1748 bool blocked
= wxPyBeginBlockThreads();
1749 PyObject
* tup
= PyTuple_New(2);
1750 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1751 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1752 wxPyEndBlockThreads(blocked
);
1755 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1757 wxPyUserData
* data
= NULL
;
1758 bool blocked
= wxPyBeginBlockThreads();
1759 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1760 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1761 data
= new wxPyUserData(userData
);
1762 wxPyEndBlockThreads(blocked
);
1764 // Now call the real Add method if a valid item type was found
1766 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1767 else if ( info
.sizer
)
1768 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1769 else if (info
.gotSize
)
1770 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1771 pos
, span
, flag
, border
, data
);
1779 static int _wrap_EmptyString_set(PyObject
*_val
) {
1780 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1785 static PyObject
*_wrap_EmptyString_get() {
1790 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1792 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1799 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxObject
*arg1
= (wxObject
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1805 (char *) "self", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 result
= wxObject_GetClassName(arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1831 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxObject
*arg1
= (wxObject
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxObject_Destroy(arg1
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1859 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1861 return Py_BuildValue((char *)"");
1863 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxSize
*arg1
= (wxSize
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "x", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 arg2
= (int) SWIG_AsInt(obj1
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1878 if (arg1
) (arg1
)->x
= arg2
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxSize
*arg1
= (wxSize
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 result
= (int) ((arg1
)->x
);
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxSize
*arg1
= (wxSize
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1913 PyObject
* obj1
= 0 ;
1915 (char *) "self",(char *) "y", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 arg2
= (int) SWIG_AsInt(obj1
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1923 if (arg1
) (arg1
)->y
= arg2
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxSize
*arg1
= (wxSize
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 result
= (int) ((arg1
)->y
);
1946 resultobj
= SWIG_FromInt((int)result
);
1953 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 int arg1
= (int) 0 ;
1956 int arg2
= (int) 0 ;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1961 (char *) "w",(char *) "h", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1966 arg1
= (int) SWIG_AsInt(obj0
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1970 arg2
= (int) SWIG_AsInt(obj1
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1987 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxSize
*arg1
= (wxSize
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1992 (char *) "self", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxSize
*arg1
= (wxSize
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "sz", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2047 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxSize
*arg1
= (wxSize
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "sz", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2082 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxSize
*arg1
= (wxSize
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2091 (char *) "self",(char *) "sz", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2110 resultptr
= new wxSize((wxSize
&) result
);
2111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2119 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxSize
*arg1
= (wxSize
*) 0 ;
2125 PyObject
* obj0
= 0 ;
2126 PyObject
* obj1
= 0 ;
2128 (char *) "self",(char *) "sz", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2136 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2147 resultptr
= new wxSize((wxSize
&) result
);
2148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2156 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxSize
*arg1
= (wxSize
*) 0 ;
2161 PyObject
* obj0
= 0 ;
2162 PyObject
* obj1
= 0 ;
2164 (char *) "self",(char *) "sz", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 (arg1
)->IncTo((wxSize
const &)*arg2
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxSize
*arg1
= (wxSize
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj1
= 0 ;
2196 (char *) "self",(char *) "sz", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 (arg1
)->DecTo((wxSize
const &)*arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxSize
*arg1
= (wxSize
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2227 PyObject
* obj2
= 0 ;
2229 (char *) "self",(char *) "w",(char *) "h", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 arg2
= (int) SWIG_AsInt(obj1
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2237 arg3
= (int) SWIG_AsInt(obj2
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 (arg1
)->Set(arg2
,arg3
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxSize
*arg1
= (wxSize
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "w", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 arg2
= (int) SWIG_AsInt(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetWidth(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxSize
*arg1
= (wxSize
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2289 (char *) "self",(char *) "h", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 arg2
= (int) SWIG_AsInt(obj1
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->SetHeight(arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 resultobj
= SWIG_FromInt((int)result
);
2337 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxSize
*arg1
= (wxSize
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "self", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 resultobj
= SWIG_FromInt((int)result
);
2363 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxSize
*arg1
= (wxSize
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxSize
*arg1
= (wxSize
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2399 (char *) "self",(char *) "size", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxSize
*arg1
= (wxSize
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (PyObject
*)wxSize_Get(arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2449 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2452 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2454 return Py_BuildValue((char *)"");
2456 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "x", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2469 arg2
= (double) SWIG_AsDouble(obj1
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2471 if (arg1
) (arg1
)->x
= arg2
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 result
= (double) ((arg1
)->x
);
2494 resultobj
= SWIG_FromDouble((double)result
);
2501 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2508 (char *) "self",(char *) "y", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (double) SWIG_AsDouble(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2516 if (arg1
) (arg1
)->y
= arg2
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 result
= (double) ((arg1
)->y
);
2539 resultobj
= SWIG_FromDouble((double)result
);
2546 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 double arg1
= (double) 0.0 ;
2549 double arg2
= (double) 0.0 ;
2550 wxRealPoint
*result
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "x",(char *) "y", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2559 arg1
= (double) SWIG_AsDouble(obj0
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2563 arg2
= (double) SWIG_AsDouble(obj1
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2580 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 Py_INCREF(Py_None
); resultobj
= Py_None
;
2605 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2608 wxRealPoint
*arg2
= 0 ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "pt", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2640 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2643 wxRealPoint
*arg2
= 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "pt", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2675 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2678 wxRealPoint
*arg2
= 0 ;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2684 (char *) "self",(char *) "pt", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 wxRealPoint
* resultptr
;
2703 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2712 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2715 wxRealPoint
*arg2
= 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "pt", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2729 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 wxRealPoint
* resultptr
;
2740 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2749 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2754 PyObject
* obj0
= 0 ;
2755 PyObject
* obj1
= 0 ;
2756 PyObject
* obj2
= 0 ;
2758 (char *) "self",(char *) "x",(char *) "y", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2764 arg2
= (double) SWIG_AsDouble(obj1
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2766 arg3
= (double) SWIG_AsDouble(obj2
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 wxRealPoint_Set(arg1
,arg2
,arg3
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2808 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2811 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2813 return Py_BuildValue((char *)"");
2815 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxPoint
*arg1
= (wxPoint
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "self",(char *) "x", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2828 arg2
= (int) SWIG_AsInt(obj1
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2830 if (arg1
) (arg1
)->x
= arg2
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxPoint
*arg1
= (wxPoint
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 result
= (int) ((arg1
)->x
);
2853 resultobj
= SWIG_FromInt((int)result
);
2860 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxPoint
*arg1
= (wxPoint
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2867 (char *) "self",(char *) "y", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2873 arg2
= (int) SWIG_AsInt(obj1
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2875 if (arg1
) (arg1
)->y
= arg2
;
2877 Py_INCREF(Py_None
); resultobj
= Py_None
;
2884 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxPoint
*arg1
= (wxPoint
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2890 (char *) "self", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 result
= (int) ((arg1
)->y
);
2898 resultobj
= SWIG_FromInt((int)result
);
2905 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 int arg1
= (int) 0 ;
2908 int arg2
= (int) 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2913 (char *) "x",(char *) "y", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2918 arg1
= (int) SWIG_AsInt(obj0
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2922 arg2
= (int) SWIG_AsInt(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2939 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxPoint
*arg1
= (wxPoint
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 Py_INCREF(Py_None
); resultobj
= Py_None
;
2964 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxPoint
*arg1
= (wxPoint
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2973 (char *) "self",(char *) "pt", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2999 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxPoint
*arg1
= (wxPoint
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "pt", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3034 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxPoint
*arg1
= (wxPoint
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "pt", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3061 wxPoint
* resultptr
;
3062 resultptr
= new wxPoint((wxPoint
&) result
);
3063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3071 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxPoint
*arg1
= (wxPoint
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3078 PyObject
* obj1
= 0 ;
3080 (char *) "self",(char *) "pt", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3098 wxPoint
* resultptr
;
3099 resultptr
= new wxPoint((wxPoint
&) result
);
3100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3108 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxPoint
*arg1
= (wxPoint
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3117 (char *) "self",(char *) "pt", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3131 result
= (wxPoint
*) &_result_ref
;
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3144 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxPoint
*arg1
= (wxPoint
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3151 PyObject
* obj1
= 0 ;
3153 (char *) "self",(char *) "pt", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3167 result
= (wxPoint
*) &_result_ref
;
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3180 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPoint
*arg1
= (wxPoint
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3187 PyObject
* obj2
= 0 ;
3189 (char *) "self",(char *) "x",(char *) "y", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 arg2
= (long) SWIG_AsLong(obj1
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3197 arg3
= (long) SWIG_AsLong(obj2
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 wxPoint_Set(arg1
,arg2
,arg3
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxPoint
*arg1
= (wxPoint
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3219 (char *) "self", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (PyObject
*)wxPoint_Get(arg1
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3239 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3242 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3244 return Py_BuildValue((char *)"");
3246 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 int arg1
= (int) 0 ;
3249 int arg2
= (int) 0 ;
3250 int arg3
= (int) 0 ;
3251 int arg4
= (int) 0 ;
3253 PyObject
* obj0
= 0 ;
3254 PyObject
* obj1
= 0 ;
3255 PyObject
* obj2
= 0 ;
3256 PyObject
* obj3
= 0 ;
3258 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3263 arg1
= (int) SWIG_AsInt(obj0
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 arg2
= (int) SWIG_AsInt(obj1
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 arg3
= (int) SWIG_AsInt(obj2
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 arg4
= (int) SWIG_AsInt(obj3
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3292 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "topLeft",(char *) "bottomRight", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3308 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3328 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "pos",(char *) "size", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3344 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3364 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxRect
*arg1
= (wxRect
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3369 (char *) "self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxRect
*arg1
= (wxRect
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (int)((wxRect
const *)arg1
)->GetX();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_FromInt((int)result
);
3415 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxRect
*arg1
= (wxRect
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3422 (char *) "self",(char *) "x", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (int) SWIG_AsInt(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 Py_INCREF(Py_None
); resultobj
= Py_None
;
3444 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxRect
*arg1
= (wxRect
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3450 (char *) "self", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (int)(arg1
)->GetY();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= SWIG_FromInt((int)result
);
3470 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxRect
*arg1
= (wxRect
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3475 PyObject
* obj1
= 0 ;
3477 (char *) "self",(char *) "y", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 arg2
= (int) SWIG_AsInt(obj1
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 Py_INCREF(Py_None
); resultobj
= Py_None
;
3499 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxRect
*arg1
= (wxRect
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3505 (char *) "self", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_FromInt((int)result
);
3525 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxRect
*arg1
= (wxRect
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "w", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 arg2
= (int) SWIG_AsInt(obj1
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->SetWidth(arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxRect
*arg1
= (wxRect
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "self", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_FromInt((int)result
);
3580 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3582 wxRect
*arg1
= (wxRect
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3587 (char *) "self",(char *) "h", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 arg2
= (int) SWIG_AsInt(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->SetHeight(arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxRect
*arg1
= (wxRect
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3615 (char *) "self", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= ((wxRect
const *)arg1
)->GetPosition();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 wxPoint
* resultptr
;
3630 resultptr
= new wxPoint((wxPoint
&) result
);
3631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3639 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxRect
*arg1
= (wxRect
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "p", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxRect
*arg1
= (wxRect
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= ((wxRect
const *)arg1
)->GetSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3692 resultptr
= new wxSize((wxSize
&) result
);
3693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3701 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxRect
*arg1
= (wxRect
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3709 (char *) "self",(char *) "s", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3717 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 (arg1
)->SetSize((wxSize
const &)*arg2
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3726 Py_INCREF(Py_None
); resultobj
= Py_None
;
3733 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxRect
*arg1
= (wxRect
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3739 (char *) "self", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 wxPoint
* resultptr
;
3754 resultptr
= new wxPoint((wxPoint
&) result
);
3755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3763 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxRect
*arg1
= (wxRect
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "p", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxRect
*arg1
= (wxRect
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3801 (char *) "self", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 wxPoint
* resultptr
;
3816 resultptr
= new wxPoint((wxPoint
&) result
);
3817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3825 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxRect
*arg1
= (wxRect
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "self",(char *) "p", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 Py_INCREF(Py_None
); resultobj
= Py_None
;
3857 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxRect
*arg1
= (wxRect
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_FromInt((int)result
);
3883 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxRect
*arg1
= (wxRect
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (int)((wxRect
const *)arg1
)->GetTop();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_FromInt((int)result
);
3909 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxRect
*arg1
= (wxRect
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_FromInt((int)result
);
3935 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRect
*arg1
= (wxRect
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= (int)((wxRect
const *)arg1
)->GetRight();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_FromInt((int)result
);
3961 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxRect
*arg1
= (wxRect
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "left", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3974 arg2
= (int) SWIG_AsInt(obj1
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetLeft(arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxRect
*arg1
= (wxRect
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "right", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4003 arg2
= (int) SWIG_AsInt(obj1
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 (arg1
)->SetRight(arg2
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 Py_INCREF(Py_None
); resultobj
= Py_None
;
4019 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxRect
*arg1
= (wxRect
*) 0 ;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "self",(char *) "top", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4032 arg2
= (int) SWIG_AsInt(obj1
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 (arg1
)->SetTop(arg2
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxRect
*arg1
= (wxRect
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "bottom", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetBottom(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRect
*arg1
= (wxRect
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4085 PyObject
* obj2
= 0 ;
4087 (char *) "self",(char *) "dx",(char *) "dy", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4095 arg3
= (int) SWIG_AsInt(obj2
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4101 result
= (wxRect
*) &_result_ref
;
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4114 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxRect
*arg1
= (wxRect
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4124 (char *) "self",(char *) "dx",(char *) "dy", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4130 arg2
= (int) SWIG_AsInt(obj1
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4132 arg3
= (int) SWIG_AsInt(obj2
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4138 result
= (wxRect
*) &_result_ref
;
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4151 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRect
*arg1
= (wxRect
*) 0 ;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 PyObject
* obj2
= 0 ;
4160 (char *) "self",(char *) "dx",(char *) "dy", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 arg2
= (int) SWIG_AsInt(obj1
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4168 arg3
= (int) SWIG_AsInt(obj2
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 (arg1
)->Offset(arg2
,arg3
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "pt", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 (arg1
)->Offset((wxPoint
const &)*arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxRect
*arg1
= (wxRect
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4225 (char *) "self",(char *) "rect", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4239 result
= (wxRect
*) &_result_ref
;
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4252 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRect
*arg1
= (wxRect
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4261 (char *) "self",(char *) "rect", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4280 resultptr
= new wxRect((wxRect
&) result
);
4281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4289 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxRect
*arg1
= (wxRect
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "rect", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4312 result
= (wxRect
*) &_result_ref
;
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4325 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxRect
*arg1
= (wxRect
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "rect", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4360 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxRect
*arg1
= (wxRect
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "rect", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4395 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRect
*arg1
= (wxRect
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 PyObject
* obj2
= 0 ;
4405 (char *) "self",(char *) "x",(char *) "y", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4411 arg2
= (int) SWIG_AsInt(obj1
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4413 arg3
= (int) SWIG_AsInt(obj2
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxRect
*arg1
= (wxRect
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4440 (char *) "self",(char *) "pt", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4466 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxRect
*arg1
= (wxRect
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4475 (char *) "self",(char *) "rect", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4483 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxRect
*arg1
= (wxRect
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "x", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4514 arg2
= (int) SWIG_AsInt(obj1
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4516 if (arg1
) (arg1
)->x
= arg2
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxRect
*arg1
= (wxRect
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 result
= (int) ((arg1
)->x
);
4539 resultobj
= SWIG_FromInt((int)result
);
4546 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxRect
*arg1
= (wxRect
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4553 (char *) "self",(char *) "y", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= (int) SWIG_AsInt(obj1
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4561 if (arg1
) (arg1
)->y
= arg2
;
4563 Py_INCREF(Py_None
); resultobj
= Py_None
;
4570 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxRect
*arg1
= (wxRect
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 result
= (int) ((arg1
)->y
);
4584 resultobj
= SWIG_FromInt((int)result
);
4591 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxRect
*arg1
= (wxRect
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4598 (char *) "self",(char *) "width", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 arg2
= (int) SWIG_AsInt(obj1
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4606 if (arg1
) (arg1
)->width
= arg2
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxRect
*arg1
= (wxRect
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 result
= (int) ((arg1
)->width
);
4629 resultobj
= SWIG_FromInt((int)result
);
4636 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRect
*arg1
= (wxRect
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4643 (char *) "self",(char *) "height", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4649 arg2
= (int) SWIG_AsInt(obj1
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4651 if (arg1
) (arg1
)->height
= arg2
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxRect
*arg1
= (wxRect
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4666 (char *) "self", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 result
= (int) ((arg1
)->height
);
4674 resultobj
= SWIG_FromInt((int)result
);
4681 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxRect
*arg1
= (wxRect
*) 0 ;
4684 int arg2
= (int) 0 ;
4685 int arg3
= (int) 0 ;
4686 int arg4
= (int) 0 ;
4687 int arg5
= (int) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 PyObject
* obj2
= 0 ;
4691 PyObject
* obj3
= 0 ;
4692 PyObject
* obj4
= 0 ;
4694 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4701 arg2
= (int) SWIG_AsInt(obj1
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4705 arg3
= (int) SWIG_AsInt(obj2
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 arg4
= (int) SWIG_AsInt(obj3
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 arg5
= (int) SWIG_AsInt(obj4
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (PyObject
*)wxRect_Get(arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4756 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxRect
*arg1
= (wxRect
*) 0 ;
4766 wxRect
*arg2
= (wxRect
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4771 (char *) "r1",(char *) "r2", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4793 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 double arg1
= (double) 0.0 ;
4796 double arg2
= (double) 0.0 ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4801 (char *) "x",(char *) "y", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 arg1
= (double) SWIG_AsDouble(obj0
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4810 arg2
= (double) SWIG_AsDouble(obj1
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4827 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxPoint2D
*arg1
= 0 ;
4832 PyObject
* obj0
= 0 ;
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4840 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4856 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4869 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4885 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4888 int *arg2
= (int *) 0 ;
4889 int *arg3
= (int *) 0 ;
4892 PyObject
* obj0
= 0 ;
4894 (char *) "self", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4912 resultobj
= t_output_helper(resultobj
,o
);
4915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4916 resultobj
= t_output_helper(resultobj
,o
);
4924 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4927 int *arg2
= (int *) 0 ;
4928 int *arg3
= (int *) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 Py_INCREF(Py_None
); resultobj
= Py_None
;
4950 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4951 resultobj
= t_output_helper(resultobj
,o
);
4954 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4955 resultobj
= t_output_helper(resultobj
,o
);
4963 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "self", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_FromDouble((double)result
);
4989 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_FromDouble((double)result
);
5015 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5022 (char *) "self",(char *) "length", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5028 arg2
= (double) SWIG_AsDouble(obj1
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetVectorLength(arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5051 (char *) "self",(char *) "degrees", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 arg2
= (double) SWIG_AsDouble(obj1
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetVectorAngle(arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5076 wxPoint2D
*arg2
= 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "pt", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_FromDouble((double)result
);
5106 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5109 wxPoint2D
*arg2
= 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "pt", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_FromDouble((double)result
);
5139 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5142 wxPoint2D
*arg2
= 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "self",(char *) "vec", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_FromDouble((double)result
);
5172 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5175 wxPoint2D
*arg2
= 0 ;
5178 PyObject
* obj0
= 0 ;
5179 PyObject
* obj1
= 0 ;
5181 (char *) "self",(char *) "vec", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_FromDouble((double)result
);
5205 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (arg1
)->operator -();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 wxPoint2D
* resultptr
;
5226 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5235 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5238 wxPoint2D
*arg2
= 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5244 (char *) "self",(char *) "pt", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5258 result
= (wxPoint2D
*) &_result_ref
;
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5271 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5274 wxPoint2D
*arg2
= 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5280 (char *) "self",(char *) "pt", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5288 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5294 result
= (wxPoint2D
*) &_result_ref
;
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5307 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5310 wxPoint2D
*arg2
= 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "pt", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5330 result
= (wxPoint2D
*) &_result_ref
;
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5343 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5346 wxPoint2D
*arg2
= 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5352 (char *) "self",(char *) "pt", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5366 result
= (wxPoint2D
*) &_result_ref
;
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5379 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5382 wxPoint2D
*arg2
= 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "pt", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5414 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5417 wxPoint2D
*arg2
= 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "pt", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5431 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5449 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "m_x", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= (double) SWIG_AsDouble(obj1
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5464 if (arg1
) (arg1
)->m_x
= arg2
;
5466 Py_INCREF(Py_None
); resultobj
= Py_None
;
5473 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 result
= (double) ((arg1
)->m_x
);
5487 resultobj
= SWIG_FromDouble((double)result
);
5494 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "m_y", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 arg2
= (double) SWIG_AsDouble(obj1
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5509 if (arg1
) (arg1
)->m_y
= arg2
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "self", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 result
= (double) ((arg1
)->m_y
);
5532 resultobj
= SWIG_FromDouble((double)result
);
5539 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5542 double arg2
= (double) 0 ;
5543 double arg3
= (double) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5548 (char *) "self",(char *) "x",(char *) "y", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5555 arg2
= (double) SWIG_AsDouble(obj1
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5559 arg3
= (double) SWIG_AsDouble(obj2
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 wxPoint2D_Set(arg1
,arg2
,arg3
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5602 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5605 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5607 return Py_BuildValue((char *)"");
5609 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5615 static PyObject
*_wrap_DefaultPosition_get() {
5618 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5623 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5624 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5629 static PyObject
*_wrap_DefaultSize_get() {
5632 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5637 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 PyObject
*arg1
= (PyObject
*) 0 ;
5640 wxPyInputStream
*result
;
5641 PyObject
* obj0
= 0 ;
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5662 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->eof();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5743 int arg2
= (int) -1 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "size", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (int) SWIG_AsInt(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (PyObject
*)(arg1
)->read(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5772 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5775 int arg2
= (int) -1 ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "self",(char *) "size", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 arg2
= (int) SWIG_AsInt(obj1
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (PyObject
*)(arg1
)->readline(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5804 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5807 int arg2
= (int) -1 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "sizehint", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 arg2
= (int) SWIG_AsInt(obj1
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5836 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5840 int arg3
= (int) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5845 (char *) "self",(char *) "offset",(char *) "whence", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (int) SWIG_AsInt(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 arg3
= (int) SWIG_AsInt(obj2
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->seek(arg2
,arg3
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (int)(arg1
)->tell();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_FromInt((int)result
);
5897 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (char)(arg1
)->Peek();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_FromChar((char)result
);
5923 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (char)(arg1
)->GetC();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_FromChar((char)result
);
5949 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (size_t)(arg1
)->LastRead();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5975 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)(arg1
)->CanRead();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (bool)(arg1
)->Eof();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6031 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "c", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 arg2
= (char) SWIG_AsChar(obj1
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->Ungetch(arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6067 int arg3
= (int) wxFromStart
;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6073 (char *) "self",(char *) "pos",(char *) "mode", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 arg2
= (long) SWIG_AsLong(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_FromLong((long)result
);
6099 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "self", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (long)(arg1
)->TellI();
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_FromLong((long)result
);
6125 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6130 return Py_BuildValue((char *)"");
6132 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6135 PyObject
*arg2
= (PyObject
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "obj", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 wxOutputStream_write(arg1
,arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6163 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6165 return Py_BuildValue((char *)"");
6167 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6170 wxString
*arg2
= 0 ;
6171 wxString
*arg3
= 0 ;
6172 wxString
*arg4
= 0 ;
6175 wxPyInputStream
*temp1
;
6177 bool temp2
= False
;
6178 bool temp3
= False
;
6179 bool temp4
= False
;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 PyObject
* obj3
= 0 ;
6185 PyObject
* obj4
= 0 ;
6187 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6192 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6193 arg1
= temp1
->m_wxis
;
6196 PyErr_Clear(); // clear the failure of the wxPyConvert above
6197 arg1
= wxPyCBInputStream_create(obj0
, False
);
6199 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6206 arg2
= wxString_in_helper(obj1
);
6207 if (arg2
== NULL
) SWIG_fail
;
6211 arg3
= wxString_in_helper(obj2
);
6212 if (arg3
== NULL
) SWIG_fail
;
6216 arg4
= wxString_in_helper(obj3
);
6217 if (arg4
== NULL
) SWIG_fail
;
6220 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6221 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= wxPyMake_wxObject(result
);
6271 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 Py_INCREF(Py_None
); resultobj
= Py_None
;
6296 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6299 wxInputStream
*result
;
6300 PyObject
* obj0
= 0 ;
6302 (char *) "self", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxInputStream
*)(arg1
)->GetStream();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6316 wxPyInputStream
* _ptr
= NULL
;
6319 _ptr
= new wxPyInputStream(result
);
6321 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6329 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6335 (char *) "self", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6345 result
= (wxString
*) &_result_ref
;
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6364 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 wxString
const &_result_ref
= (arg1
)->GetLocation();
6380 result
= (wxString
*) &_result_ref
;
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6390 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6399 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6405 (char *) "self", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6415 result
= (wxString
*) &_result_ref
;
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6434 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6440 (char *) "self", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (arg1
)->GetModificationTime();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 wxDateTime
* resultptr
;
6455 resultptr
= new wxDateTime((wxDateTime
&) result
);
6456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6464 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6474 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6476 return Py_BuildValue((char *)"");
6478 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxPyFileSystemHandler
*result
;
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6500 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6503 PyObject
*arg2
= (PyObject
*) 0 ;
6504 PyObject
*arg3
= (PyObject
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "self",(char *) "_class", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 Py_INCREF(Py_None
); resultobj
= Py_None
;
6531 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6534 wxString
*arg2
= 0 ;
6536 bool temp2
= False
;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6540 (char *) "self",(char *) "location", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6547 arg2
= wxString_in_helper(obj1
);
6548 if (arg2
== NULL
) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6575 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6578 wxFileSystem
*arg2
= 0 ;
6579 wxString
*arg3
= 0 ;
6581 bool temp3
= False
;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6584 PyObject
* obj2
= 0 ;
6586 (char *) "self",(char *) "fs",(char *) "location", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6596 PyErr_SetString(PyExc_TypeError
,"null reference");
6600 arg3
= wxString_in_helper(obj2
);
6601 if (arg3
== NULL
) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= wxPyMake_wxObject(result
);
6628 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6631 wxString
*arg2
= 0 ;
6632 int arg3
= (int) 0 ;
6634 bool temp2
= False
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 PyObject
* obj2
= 0 ;
6639 (char *) "self",(char *) "spec",(char *) "flags", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 arg2
= wxString_in_helper(obj1
);
6647 if (arg2
== NULL
) SWIG_fail
;
6651 arg3
= (int) SWIG_AsInt(obj2
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6682 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (arg1
)->FindNext();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6714 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6717 wxString
*arg2
= 0 ;
6719 bool temp2
= False
;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "location", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 arg2
= wxString_in_helper(obj1
);
6731 if (arg2
== NULL
) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6762 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6765 wxString
*arg2
= 0 ;
6767 bool temp2
= False
;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "location", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 arg2
= wxString_in_helper(obj1
);
6779 if (arg2
== NULL
) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6810 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6813 wxString
*arg2
= 0 ;
6815 bool temp2
= False
;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "location", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 arg2
= wxString_in_helper(obj1
);
6827 if (arg2
== NULL
) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6858 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6861 wxString
*arg2
= 0 ;
6863 bool temp2
= False
;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "location", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 arg2
= wxString_in_helper(obj1
);
6875 if (arg2
== NULL
) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6906 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6909 wxString
*arg2
= 0 ;
6911 bool temp2
= False
;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "location", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 arg2
= wxString_in_helper(obj1
);
6923 if (arg2
== NULL
) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6954 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6957 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6959 return Py_BuildValue((char *)"");
6961 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxFileSystem
*result
;
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (wxFileSystem
*)new wxFileSystem();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= wxPyMake_wxObject(result
);
6985 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7013 wxString
*arg2
= 0 ;
7014 bool arg3
= (bool) False
;
7015 bool temp2
= False
;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7018 PyObject
* obj2
= 0 ;
7020 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 arg2
= wxString_in_helper(obj1
);
7028 if (arg2
== NULL
) SWIG_fail
;
7032 arg3
= (bool) SWIG_AsBool(obj2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "self", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (arg1
)->GetPath();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7089 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7092 wxString
*arg2
= 0 ;
7094 bool temp2
= False
;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "location", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7105 arg2
= wxString_in_helper(obj1
);
7106 if (arg2
== NULL
) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= wxPyMake_wxObject(result
);
7133 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7136 wxString
*arg2
= 0 ;
7137 int arg3
= (int) 0 ;
7139 bool temp2
= False
;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7142 PyObject
* obj2
= 0 ;
7144 (char *) "self",(char *) "spec",(char *) "flags", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 arg2
= wxString_in_helper(obj1
);
7152 if (arg2
== NULL
) SWIG_fail
;
7156 arg3
= (int) SWIG_AsInt(obj2
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7187 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "self", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (arg1
)->FindNext();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7219 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "handler", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxFileSystem::AddHandler(arg1
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxFileSystem::CleanUpHandlers();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxString
*arg1
= 0 ;
7269 bool temp1
= False
;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "filename", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7277 arg1
= wxString_in_helper(obj0
);
7278 if (arg1
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7309 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7312 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7314 return Py_BuildValue((char *)"");
7316 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxString
*arg1
= 0 ;
7320 bool temp1
= False
;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "url", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7328 arg1
= wxString_in_helper(obj0
);
7329 if (arg1
== NULL
) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7360 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxInternetFSHandler
*result
;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7382 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7385 wxString
*arg2
= 0 ;
7387 bool temp2
= False
;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7391 (char *) "self",(char *) "location", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= wxString_in_helper(obj1
);
7399 if (arg2
== NULL
) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7429 wxFileSystem
*arg2
= 0 ;
7430 wxString
*arg3
= 0 ;
7432 bool temp3
= False
;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7435 PyObject
* obj2
= 0 ;
7437 (char *) "self",(char *) "fs",(char *) "location", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7447 PyErr_SetString(PyExc_TypeError
,"null reference");
7451 arg3
= wxString_in_helper(obj2
);
7452 if (arg3
== NULL
) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= wxPyMake_wxObject(result
);
7479 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7484 return Py_BuildValue((char *)"");
7486 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxZipFSHandler
*result
;
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7508 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7511 wxString
*arg2
= 0 ;
7513 bool temp2
= False
;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "location", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 arg2
= wxString_in_helper(obj1
);
7525 if (arg2
== NULL
) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7555 wxFileSystem
*arg2
= 0 ;
7556 wxString
*arg3
= 0 ;
7558 bool temp3
= False
;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7563 (char *) "self",(char *) "fs",(char *) "location", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7573 PyErr_SetString(PyExc_TypeError
,"null reference");
7577 arg3
= wxString_in_helper(obj2
);
7578 if (arg3
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= wxPyMake_wxObject(result
);
7605 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7608 wxString
*arg2
= 0 ;
7609 int arg3
= (int) 0 ;
7611 bool temp2
= False
;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7614 PyObject
* obj2
= 0 ;
7616 (char *) "self",(char *) "spec",(char *) "flags", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 arg2
= wxString_in_helper(obj1
);
7624 if (arg2
== NULL
) SWIG_fail
;
7628 arg3
= (int) SWIG_AsInt(obj2
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7659 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (arg1
)->FindNext();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7691 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7694 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7696 return Py_BuildValue((char *)"");
7698 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxString
*arg1
= 0 ;
7703 bool temp1
= False
;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7708 (char *) "filename",(char *) "image",(char *) "type", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7713 arg1
= wxString_in_helper(obj0
);
7714 if (arg1
== NULL
) SWIG_fail
;
7717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7721 PyErr_SetString(PyExc_TypeError
,"null reference");
7724 arg3
= (long) SWIG_AsLong(obj2
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 Py_INCREF(Py_None
); resultobj
= Py_None
;
7748 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxString
*arg1
= 0 ;
7751 wxBitmap
*arg2
= 0 ;
7753 bool temp1
= False
;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7758 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7771 PyErr_SetString(PyExc_TypeError
,"null reference");
7774 arg3
= (long) SWIG_AsLong(obj2
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxString
*arg1
= 0 ;
7801 PyObject
*arg2
= (PyObject
*) 0 ;
7802 bool temp1
= False
;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7806 (char *) "filename",(char *) "data", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 arg1
= wxString_in_helper(obj0
);
7812 if (arg1
== NULL
) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxMemoryFSHandler
*result
;
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7860 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxString
*arg1
= 0 ;
7863 bool temp1
= False
;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "filename", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7871 arg1
= wxString_in_helper(obj0
);
7872 if (arg1
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7900 wxString
*arg2
= 0 ;
7902 bool temp2
= False
;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "location", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 arg2
= wxString_in_helper(obj1
);
7914 if (arg2
== NULL
) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7941 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7944 wxFileSystem
*arg2
= 0 ;
7945 wxString
*arg3
= 0 ;
7947 bool temp3
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7952 (char *) "self",(char *) "fs",(char *) "location", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7962 PyErr_SetString(PyExc_TypeError
,"null reference");
7966 arg3
= wxString_in_helper(obj2
);
7967 if (arg3
== NULL
) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= wxPyMake_wxObject(result
);
7994 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7997 wxString
*arg2
= 0 ;
7998 int arg3
= (int) 0 ;
8000 bool temp2
= False
;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8005 (char *) "self",(char *) "spec",(char *) "flags", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8012 arg2
= wxString_in_helper(obj1
);
8013 if (arg2
== NULL
) SWIG_fail
;
8017 arg3
= (int) SWIG_AsInt(obj2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8048 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (arg1
)->FindNext();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8080 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8083 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8085 return Py_BuildValue((char *)"");
8087 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "self", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (arg1
)->GetName();
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8119 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (arg1
)->GetExtension();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8151 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (long)(arg1
)->GetType();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_FromLong((long)result
);
8177 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetMimeType();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8209 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8212 wxString
*arg2
= 0 ;
8214 bool temp2
= False
;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8218 (char *) "self",(char *) "name", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 arg2
= wxString_in_helper(obj1
);
8226 if (arg2
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8253 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8256 wxString
*arg2
= 0 ;
8257 bool temp2
= False
;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "name", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= wxString_in_helper(obj1
);
8269 if (arg2
== NULL
) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->SetName((wxString
const &)*arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8297 wxString
*arg2
= 0 ;
8298 bool temp2
= False
;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8302 (char *) "self",(char *) "extension", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8309 arg2
= wxString_in_helper(obj1
);
8310 if (arg2
== NULL
) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetExtension((wxString
const &)*arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8335 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8342 (char *) "self",(char *) "type", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (long) SWIG_AsLong(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 (arg1
)->SetType(arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8367 wxString
*arg2
= 0 ;
8368 bool temp2
= False
;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8372 (char *) "self",(char *) "mimetype", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8379 arg2
= wxString_in_helper(obj1
);
8380 if (arg2
== NULL
) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8408 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8410 return Py_BuildValue((char *)"");
8412 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxImageHistogram
*result
;
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxImageHistogram
*)new wxImageHistogram();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8434 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 unsigned char arg1
;
8437 unsigned char arg2
;
8438 unsigned char arg3
;
8439 unsigned long result
;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8442 PyObject
* obj2
= 0 ;
8444 (char *) "r",(char *) "g",(char *) "b", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8448 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8450 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8468 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8471 unsigned char *arg2
= (unsigned char *) 0 ;
8472 unsigned char *arg3
= (unsigned char *) 0 ;
8473 unsigned char *arg4
= (unsigned char *) 0 ;
8474 unsigned char arg5
= (unsigned char) 1 ;
8475 unsigned char arg6
= (unsigned char) 0 ;
8476 unsigned char arg7
= (unsigned char) 0 ;
8478 unsigned char temp2
;
8479 unsigned char temp3
;
8480 unsigned char temp4
;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8483 PyObject
* obj2
= 0 ;
8484 PyObject
* obj3
= 0 ;
8486 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8496 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8519 resultobj
= t_output_helper(resultobj
,o
);
8522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8523 resultobj
= t_output_helper(resultobj
,o
);
8526 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8527 resultobj
= t_output_helper(resultobj
,o
);
8535 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8538 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8540 return Py_BuildValue((char *)"");
8542 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxString
*arg1
= 0 ;
8545 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8546 int arg3
= (int) -1 ;
8548 bool temp1
= False
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8553 (char *) "name",(char *) "type",(char *) "index", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 arg1
= wxString_in_helper(obj0
);
8559 if (arg1
== NULL
) SWIG_fail
;
8563 arg2
= (long) SWIG_AsLong(obj1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 arg3
= (int) SWIG_AsInt(obj2
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8592 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxImage
*arg1
= (wxImage
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "self", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxString
*arg1
= 0 ;
8620 wxString
*arg2
= 0 ;
8621 int arg3
= (int) -1 ;
8623 bool temp1
= False
;
8624 bool temp2
= False
;
8625 PyObject
* obj0
= 0 ;
8626 PyObject
* obj1
= 0 ;
8627 PyObject
* obj2
= 0 ;
8629 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8634 arg1
= wxString_in_helper(obj0
);
8635 if (arg1
== NULL
) SWIG_fail
;
8639 arg2
= wxString_in_helper(obj1
);
8640 if (arg2
== NULL
) SWIG_fail
;
8644 arg3
= (int) SWIG_AsInt(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8677 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxInputStream
*arg1
= 0 ;
8680 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8681 int arg3
= (int) -1 ;
8683 wxPyInputStream
*temp1
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8689 (char *) "stream",(char *) "type",(char *) "index", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8695 arg1
= temp1
->m_wxis
;
8698 PyErr_Clear(); // clear the failure of the wxPyConvert above
8699 arg1
= wxPyCBInputStream_create(obj0
, False
);
8701 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8708 arg2
= (long) SWIG_AsLong(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 arg3
= (int) SWIG_AsInt(obj2
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8737 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxInputStream
*arg1
= 0 ;
8740 wxString
*arg2
= 0 ;
8741 int arg3
= (int) -1 ;
8743 wxPyInputStream
*temp1
;
8745 bool temp2
= False
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8750 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8756 arg1
= temp1
->m_wxis
;
8759 PyErr_Clear(); // clear the failure of the wxPyConvert above
8760 arg1
= wxPyCBInputStream_create(obj0
, False
);
8762 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8769 arg2
= wxString_in_helper(obj1
);
8770 if (arg2
== NULL
) SWIG_fail
;
8774 arg3
= (int) SWIG_AsInt(obj2
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8807 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 int arg1
= (int) 0 ;
8810 int arg2
= (int) 0 ;
8811 bool arg3
= (bool) True
;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8817 (char *) "width",(char *) "height",(char *) "clear", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8822 arg1
= (int) SWIG_AsInt(obj0
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 arg2
= (int) SWIG_AsInt(obj1
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 arg3
= (bool) SWIG_AsBool(obj2
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8847 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxBitmap
*arg1
= 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "bitmap", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8861 PyErr_SetString(PyExc_TypeError
,"null reference");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8878 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8882 unsigned char *arg3
= (unsigned char *) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8888 (char *) "width",(char *) "height",(char *) "data", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8892 arg1
= (int) SWIG_AsInt(obj0
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8894 arg2
= (int) SWIG_AsInt(obj1
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8912 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxImage
*arg1
= (wxImage
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "self",(char *) "width",(char *) "height", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= (int) SWIG_AsInt(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8929 arg3
= (int) SWIG_AsInt(obj2
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->Create(arg2
,arg3
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxImage
*arg1
= (wxImage
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxImage
*arg1
= (wxImage
*) 0 ;
8975 SwigValueWrapper
< wxImage
> result
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8980 (char *) "self",(char *) "width",(char *) "height", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg2
= (int) SWIG_AsInt(obj1
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8988 arg3
= (int) SWIG_AsInt(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= (arg1
)->Scale(arg2
,arg3
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 wxImage
* resultptr
;
8999 resultptr
= new wxImage((wxImage
&) result
);
9000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9008 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxImage
*arg1
= (wxImage
*) 0 ;
9013 SwigValueWrapper
< wxImage
> result
;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9018 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 arg2
= (int) SWIG_AsInt(obj1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9026 arg3
= (int) SWIG_AsInt(obj2
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 wxImage
* resultptr
;
9037 resultptr
= new wxImage((wxImage
&) result
);
9038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9046 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxImage
*arg1
= (wxImage
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 PyObject
* obj2
= 0 ;
9056 (char *) "self",(char *) "width",(char *) "height", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= (int) SWIG_AsInt(obj1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9064 arg3
= (int) SWIG_AsInt(obj2
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9070 result
= (wxImage
*) &_result_ref
;
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9083 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxImage
*arg1
= (wxImage
*) 0 ;
9088 unsigned char arg4
;
9089 unsigned char arg5
;
9090 unsigned char arg6
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9093 PyObject
* obj2
= 0 ;
9094 PyObject
* obj3
= 0 ;
9095 PyObject
* obj4
= 0 ;
9096 PyObject
* obj5
= 0 ;
9098 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 arg2
= (int) SWIG_AsInt(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9106 arg3
= (int) SWIG_AsInt(obj2
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxImage
*arg1
= (wxImage
*) 0 ;
9133 unsigned char result
;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9138 (char *) "self",(char *) "x",(char *) "y", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 arg2
= (int) SWIG_AsInt(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9146 arg3
= (int) SWIG_AsInt(obj2
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9162 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxImage
*arg1
= (wxImage
*) 0 ;
9167 unsigned char result
;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9172 (char *) "self",(char *) "x",(char *) "y", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 arg2
= (int) SWIG_AsInt(obj1
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg3
= (int) SWIG_AsInt(obj2
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9196 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxImage
*arg1
= (wxImage
*) 0 ;
9201 unsigned char result
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9206 (char *) "self",(char *) "x",(char *) "y", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 arg2
= (int) SWIG_AsInt(obj1
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9214 arg3
= (int) SWIG_AsInt(obj2
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9230 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxImage
*arg1
= (wxImage
*) 0 ;
9235 unsigned char arg4
;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 PyObject
* obj2
= 0 ;
9239 PyObject
* obj3
= 0 ;
9241 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int) SWIG_AsInt(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9249 arg3
= (int) SWIG_AsInt(obj2
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxImage
*arg1
= (wxImage
*) 0 ;
9272 unsigned char result
;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9277 (char *) "self",(char *) "x",(char *) "y", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= (int) SWIG_AsInt(obj1
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9285 arg3
= (int) SWIG_AsInt(obj2
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9301 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxImage
*arg1
= (wxImage
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)(arg1
)->HasAlpha();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9329 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxImage
*arg1
= (wxImage
*) 0 ;
9332 byte
*arg2
= (byte
*) 0 ;
9333 byte
*arg3
= (byte
*) 0 ;
9334 byte
*arg4
= (byte
*) 0 ;
9335 byte arg5
= (byte
) 0 ;
9336 byte arg6
= (byte
) 0 ;
9337 byte arg7
= (byte
) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 PyObject
* obj3
= 0 ;
9347 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9380 resultobj
= t_output_helper(resultobj
,o
);
9383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9384 resultobj
= t_output_helper(resultobj
,o
);
9387 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9388 resultobj
= t_output_helper(resultobj
,o
);
9396 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxImage
*arg1
= (wxImage
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9407 PyObject
* obj3
= 0 ;
9408 PyObject
* obj4
= 0 ;
9410 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9420 PyErr_SetString(PyExc_TypeError
,"null reference");
9423 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9425 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxString
*arg1
= 0 ;
9449 bool temp1
= False
;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "name", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9457 arg1
= wxString_in_helper(obj0
);
9458 if (arg1
== NULL
) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9485 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxString
*arg1
= 0 ;
9488 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9490 bool temp1
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9494 (char *) "name",(char *) "type", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9499 arg1
= wxString_in_helper(obj0
);
9500 if (arg1
== NULL
) SWIG_fail
;
9504 arg2
= (long) SWIG_AsLong(obj1
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_FromInt((int)result
);
9529 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxImage
*arg1
= (wxImage
*) 0 ;
9532 wxString
*arg2
= 0 ;
9533 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9534 int arg4
= (int) -1 ;
9536 bool temp2
= False
;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 PyObject
* obj2
= 0 ;
9540 PyObject
* obj3
= 0 ;
9542 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 arg3
= (long) SWIG_AsLong(obj2
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 arg4
= (int) SWIG_AsInt(obj3
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9585 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxImage
*arg1
= (wxImage
*) 0 ;
9588 wxString
*arg2
= 0 ;
9589 wxString
*arg3
= 0 ;
9590 int arg4
= (int) -1 ;
9592 bool temp2
= False
;
9593 bool temp3
= False
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9597 PyObject
* obj3
= 0 ;
9599 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 arg2
= wxString_in_helper(obj1
);
9607 if (arg2
== NULL
) SWIG_fail
;
9611 arg3
= wxString_in_helper(obj2
);
9612 if (arg3
== NULL
) SWIG_fail
;
9616 arg4
= (int) SWIG_AsInt(obj3
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxImage
*arg1
= (wxImage
*) 0 ;
9654 wxString
*arg2
= 0 ;
9657 bool temp2
= False
;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9660 PyObject
* obj2
= 0 ;
9662 (char *) "self",(char *) "name",(char *) "type", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9673 arg3
= (int) SWIG_AsInt(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxImage
*arg1
= (wxImage
*) 0 ;
9702 wxString
*arg2
= 0 ;
9703 wxString
*arg3
= 0 ;
9705 bool temp2
= False
;
9706 bool temp3
= False
;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 PyObject
* obj2
= 0 ;
9711 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 arg2
= wxString_in_helper(obj1
);
9719 if (arg2
== NULL
) SWIG_fail
;
9723 arg3
= wxString_in_helper(obj2
);
9724 if (arg3
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxInputStream
*arg1
= 0 ;
9763 wxPyInputStream
*temp1
;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "stream", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9772 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9773 arg1
= temp1
->m_wxis
;
9776 PyErr_Clear(); // clear the failure of the wxPyConvert above
9777 arg1
= wxPyCBInputStream_create(obj0
, False
);
9779 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)wxImage::CanRead(*arg1
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxImage
*arg1
= (wxImage
*) 0 ;
9812 wxInputStream
*arg2
= 0 ;
9813 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9814 int arg4
= (int) -1 ;
9816 wxPyInputStream
*temp2
;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 PyObject
* obj2
= 0 ;
9821 PyObject
* obj3
= 0 ;
9823 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9831 arg2
= temp2
->m_wxis
;
9834 PyErr_Clear(); // clear the failure of the wxPyConvert above
9835 arg2
= wxPyCBInputStream_create(obj1
, False
);
9837 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9844 arg3
= (long) SWIG_AsLong(obj2
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 arg4
= (int) SWIG_AsInt(obj3
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxImage
*arg1
= (wxImage
*) 0 ;
9878 wxInputStream
*arg2
= 0 ;
9879 wxString
*arg3
= 0 ;
9880 int arg4
= (int) -1 ;
9882 wxPyInputStream
*temp2
;
9884 bool temp3
= False
;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 PyObject
* obj2
= 0 ;
9888 PyObject
* obj3
= 0 ;
9890 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",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
= wxString_in_helper(obj2
);
9912 if (arg3
== NULL
) SWIG_fail
;
9916 arg4
= (int) SWIG_AsInt(obj3
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImage
*arg1
= (wxImage
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->Ok();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9979 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImage
*arg1
= (wxImage
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)(arg1
)->GetWidth();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_FromInt((int)result
);
10005 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxImage
*arg1
= (wxImage
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)(arg1
)->GetHeight();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_FromInt((int)result
);
10031 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxImage
*arg1
= (wxImage
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= wxImage_GetSize(arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 wxSize
* resultptr
;
10052 resultptr
= new wxSize((wxSize
&) result
);
10053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10061 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxImage
*arg1
= (wxImage
*) 0 ;
10065 SwigValueWrapper
< wxImage
> result
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "rect", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 wxImage
* resultptr
;
10089 resultptr
= new wxImage((wxImage
&) result
);
10090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10098 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxImage
*arg1
= (wxImage
*) 0 ;
10101 SwigValueWrapper
< wxImage
> result
;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",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
= (arg1
)->Copy();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 wxImage
* resultptr
;
10119 resultptr
= new wxImage((wxImage
&) result
);
10120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10128 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxImage
*arg1
= (wxImage
*) 0 ;
10131 wxImage
*arg2
= 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 PyObject
* obj2
= 0 ;
10137 PyObject
* obj3
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10148 if (arg2
== NULL
) {
10149 PyErr_SetString(PyExc_TypeError
,"null reference");
10152 arg3
= (int) SWIG_AsInt(obj2
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10154 arg4
= (int) SWIG_AsInt(obj3
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 Py_INCREF(Py_None
); resultobj
= Py_None
;
10170 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxImage
*arg1
= (wxImage
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (PyObject
*)wxImage_GetData(arg1
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= result
;
10196 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxImage
*arg1
= (wxImage
*) 0 ;
10199 PyObject
*arg2
= (PyObject
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "data", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxImage_SetData(arg1
,arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 Py_INCREF(Py_None
); resultobj
= Py_None
;
10224 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxImage
*arg1
= (wxImage
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= result
;
10250 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxImage
*arg1
= (wxImage
*) 0 ;
10253 PyObject
*arg2
= (PyObject
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "data", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxImage_SetDataBuffer(arg1
,arg2
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 Py_INCREF(Py_None
); resultobj
= Py_None
;
10278 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxImage
*arg1
= (wxImage
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
;
10304 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10307 PyObject
*arg2
= (PyObject
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "data", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 wxImage_SetAlphaData(arg1
,arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 Py_INCREF(Py_None
); resultobj
= Py_None
;
10332 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxImage
*arg1
= (wxImage
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= result
;
10358 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxImage
*arg1
= (wxImage
*) 0 ;
10361 PyObject
*arg2
= (PyObject
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "data", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxImage_SetAlphaBuffer(arg1
,arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10389 unsigned char arg2
;
10390 unsigned char arg3
;
10391 unsigned char arg4
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 PyObject
* obj3
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10405 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10407 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImage
*arg1
= (wxImage
*) 0 ;
10426 unsigned char result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (unsigned char)(arg1
)->GetMaskRed();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10449 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxImage
*arg1
= (wxImage
*) 0 ;
10452 unsigned char result
;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (unsigned char)(arg1
)->GetMaskGreen();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10475 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxImage
*arg1
= (wxImage
*) 0 ;
10478 unsigned char result
;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (unsigned char)(arg1
)->GetMaskBlue();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10501 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxImage
*arg1
= (wxImage
*) 0 ;
10504 bool arg2
= (bool) True
;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "mask", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 arg2
= (bool) SWIG_AsBool(obj1
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->SetMask(arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxImage
*arg1
= (wxImage
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->HasMask();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxImage
*arg1
= (wxImage
*) 0 ;
10564 wxPoint
*arg3
= 0 ;
10565 bool arg4
= (bool) True
;
10566 wxPoint
*arg5
= (wxPoint
*) NULL
;
10567 SwigValueWrapper
< wxImage
> result
;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 PyObject
* obj3
= 0 ;
10573 PyObject
* obj4
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 arg2
= (double) SWIG_AsDouble(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10588 arg4
= (bool) SWIG_AsBool(obj3
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 wxImage
* resultptr
;
10604 resultptr
= new wxImage((wxImage
&) result
);
10605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10613 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxImage
*arg1
= (wxImage
*) 0 ;
10616 bool arg2
= (bool) True
;
10617 SwigValueWrapper
< wxImage
> result
;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "clockwise", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 arg2
= (bool) SWIG_AsBool(obj1
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (arg1
)->Rotate90(arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 wxImage
* resultptr
;
10640 resultptr
= new wxImage((wxImage
&) result
);
10641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10649 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxImage
*arg1
= (wxImage
*) 0 ;
10652 bool arg2
= (bool) True
;
10653 SwigValueWrapper
< wxImage
> result
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "horizontally", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 arg2
= (bool) SWIG_AsBool(obj1
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (arg1
)->Mirror(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 wxImage
* resultptr
;
10676 resultptr
= new wxImage((wxImage
&) result
);
10677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10685 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImage
*arg1
= (wxImage
*) 0 ;
10688 unsigned char arg2
;
10689 unsigned char arg3
;
10690 unsigned char arg4
;
10691 unsigned char arg5
;
10692 unsigned char arg6
;
10693 unsigned char arg7
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 PyObject
* obj4
= 0 ;
10699 PyObject
* obj5
= 0 ;
10700 PyObject
* obj6
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10710 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 Py_INCREF(Py_None
); resultobj
= Py_None
;
10734 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxImage
*arg1
= (wxImage
*) 0 ;
10737 unsigned char arg2
;
10738 unsigned char arg3
;
10739 unsigned char arg4
;
10740 SwigValueWrapper
< wxImage
> result
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 PyObject
* obj3
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10754 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 wxImage
* resultptr
;
10767 resultptr
= new wxImage((wxImage
&) result
);
10768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10776 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxImage
*arg1
= (wxImage
*) 0 ;
10779 wxString
*arg2
= 0 ;
10780 wxString
*arg3
= 0 ;
10781 bool temp2
= False
;
10782 bool temp3
= False
;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "name",(char *) "value", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 arg2
= wxString_in_helper(obj1
);
10795 if (arg2
== NULL
) SWIG_fail
;
10799 arg3
= wxString_in_helper(obj2
);
10800 if (arg3
== NULL
) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxImage
*arg1
= (wxImage
*) 0 ;
10836 wxString
*arg2
= 0 ;
10838 bool temp2
= False
;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "name",(char *) "value", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 arg2
= wxString_in_helper(obj1
);
10851 if (arg2
== NULL
) SWIG_fail
;
10854 arg3
= (int) SWIG_AsInt(obj2
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxImage
*arg1
= (wxImage
*) 0 ;
10881 wxString
*arg2
= 0 ;
10883 bool temp2
= False
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "name", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 arg2
= wxString_in_helper(obj1
);
10895 if (arg2
== NULL
) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10926 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxImage
*arg1
= (wxImage
*) 0 ;
10929 wxString
*arg2
= 0 ;
10931 bool temp2
= False
;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "name", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 arg2
= wxString_in_helper(obj1
);
10943 if (arg2
== NULL
) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_FromInt((int)result
);
10968 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxImage
*arg1
= (wxImage
*) 0 ;
10971 wxString
*arg2
= 0 ;
10973 bool temp2
= False
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "name", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 arg2
= wxString_in_helper(obj1
);
10985 if (arg2
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11015 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11016 unsigned long result
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "stopafter", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11044 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxImage
*arg1
= (wxImage
*) 0 ;
11047 wxImageHistogram
*arg2
= 0 ;
11048 unsigned long result
;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char *kwnames
[] = {
11052 (char *) "self",(char *) "h", NULL
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11061 if (arg2
== NULL
) {
11062 PyErr_SetString(PyExc_TypeError
,"null reference");
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11079 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "handler", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 wxImage::AddHandler(arg1
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11107 PyObject
* obj0
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "handler", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 wxImage::InsertHandler(arg1
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxString
*arg1
= 0 ;
11133 bool temp1
= False
;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "name", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11141 arg1
= wxString_in_helper(obj0
);
11142 if (arg1
== NULL
) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11172 char *kwnames
[] = {
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= wxImage::GetImageExtWildcard();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11197 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxImage
*arg1
= (wxImage
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= wxImage_ConvertToBitmap(arg1
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 wxBitmap
* resultptr
;
11218 resultptr
= new wxBitmap((wxBitmap
&) result
);
11219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11227 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxImage
*arg1
= (wxImage
*) 0 ;
11230 unsigned char arg2
;
11231 unsigned char arg3
;
11232 unsigned char arg4
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 PyObject
* obj3
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11247 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 wxBitmap
* resultptr
;
11260 resultptr
= new wxBitmap((wxBitmap
&) result
);
11261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11269 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11272 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11274 return Py_BuildValue((char *)"");
11276 static int _wrap_NullImage_set(PyObject
*_val
) {
11277 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11282 static PyObject
*_wrap_NullImage_get() {
11285 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11290 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11291 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11296 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11301 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11303 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11310 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11311 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11316 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11321 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11323 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11330 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11331 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11336 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11341 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11343 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11350 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11351 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11356 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11361 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11363 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11370 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11371 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11376 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11381 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11383 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11390 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxBMPHandler
*result
;
11393 char *kwnames
[] = {
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (wxBMPHandler
*)new wxBMPHandler();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11412 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11417 return Py_BuildValue((char *)"");
11419 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxICOHandler
*result
;
11422 char *kwnames
[] = {
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (wxICOHandler
*)new wxICOHandler();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11441 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11444 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11446 return Py_BuildValue((char *)"");
11448 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxCURHandler
*result
;
11451 char *kwnames
[] = {
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (wxCURHandler
*)new wxCURHandler();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11470 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11473 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11475 return Py_BuildValue((char *)"");
11477 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxANIHandler
*result
;
11480 char *kwnames
[] = {
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxANIHandler
*)new wxANIHandler();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11499 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11504 return Py_BuildValue((char *)"");
11506 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxPNGHandler
*result
;
11509 char *kwnames
[] = {
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxPNGHandler
*)new wxPNGHandler();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11528 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11533 return Py_BuildValue((char *)"");
11535 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxGIFHandler
*result
;
11538 char *kwnames
[] = {
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (wxGIFHandler
*)new wxGIFHandler();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11557 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxPCXHandler
*result
;
11567 char *kwnames
[] = {
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (wxPCXHandler
*)new wxPCXHandler();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11586 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11589 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11591 return Py_BuildValue((char *)"");
11593 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxJPEGHandler
*result
;
11596 char *kwnames
[] = {
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11615 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxPNMHandler
*result
;
11625 char *kwnames
[] = {
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxPNMHandler
*)new wxPNMHandler();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11644 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11649 return Py_BuildValue((char *)"");
11651 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxXPMHandler
*result
;
11654 char *kwnames
[] = {
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (wxXPMHandler
*)new wxXPMHandler();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11673 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11678 return Py_BuildValue((char *)"");
11680 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxTIFFHandler
*result
;
11683 char *kwnames
[] = {
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11702 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11707 return Py_BuildValue((char *)"");
11709 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxEvtHandler
*result
;
11712 char *kwnames
[] = {
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (wxEvtHandler
*)new wxEvtHandler();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= wxPyMake_wxObject(result
);
11733 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11736 wxEvtHandler
*result
;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= wxPyMake_wxObject(result
);
11761 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11764 wxEvtHandler
*result
;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= wxPyMake_wxObject(result
);
11789 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11792 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "handler", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetNextHandler(arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11821 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "handler", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->SetPreviousHandler(arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 Py_INCREF(Py_None
); resultobj
= Py_None
;
11847 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11875 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "enabled", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg2
= (bool) SWIG_AsBool(obj1
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetEvtHandlerEnabled(arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11907 wxEvent
*arg2
= 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "event", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11921 if (arg2
== NULL
) {
11922 PyErr_SetString(PyExc_TypeError
,"null reference");
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11941 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11944 wxEvent
*arg2
= 0 ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "event", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11957 if (arg2
== NULL
) {
11958 PyErr_SetString(PyExc_TypeError
,"null reference");
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 (arg1
)->AddPendingEvent(*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 Py_INCREF(Py_None
); resultobj
= Py_None
;
11975 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->ProcessPendingEvents();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12006 PyObject
*arg5
= (PyObject
*) 0 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 PyObject
* obj3
= 0 ;
12011 PyObject
* obj4
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= (int) SWIG_AsInt(obj1
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12021 arg3
= (int) SWIG_AsInt(obj2
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12023 arg4
= (int) SWIG_AsInt(obj3
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12044 int arg3
= (int) -1 ;
12045 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 PyObject
* obj2
= 0 ;
12050 PyObject
* obj3
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12058 arg2
= (int) SWIG_AsInt(obj1
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 arg3
= (int) SWIG_AsInt(obj2
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12087 PyObject
*arg2
= (PyObject
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "_self", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 wxEvtHandler__setOORInfo(arg1
,arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12115 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12117 return Py_BuildValue((char *)"");
12119 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxEventType result
;
12122 char *kwnames
[] = {
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (wxEventType
)wxNewEventType();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_FromInt((int)result
);
12141 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxEvent
*arg1
= (wxEvent
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxEvent
*arg1
= (wxEvent
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self",(char *) "typ", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12179 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 (arg1
)->SetEventType(arg2
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 Py_INCREF(Py_None
); resultobj
= Py_None
;
12195 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxEvent
*arg1
= (wxEvent
*) 0 ;
12198 wxEventType result
;
12199 PyObject
* obj0
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_FromInt((int)result
);
12221 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxEvent
*arg1
= (wxEvent
*) 0 ;
12225 PyObject
* obj0
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= wxPyMake_wxObject(result
);
12249 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxEvent
*arg1
= (wxEvent
*) 0 ;
12252 wxObject
*arg2
= (wxObject
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "obj", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 (arg1
)->SetEventObject(arg2
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 Py_INCREF(Py_None
); resultobj
= Py_None
;
12278 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxEvent
*arg1
= (wxEvent
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_FromLong((long)result
);
12304 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxEvent
*arg1
= (wxEvent
*) 0 ;
12307 long arg2
= (long) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self",(char *) "ts", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 arg2
= (long) SWIG_AsLong(obj1
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 (arg1
)->SetTimestamp(arg2
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 Py_INCREF(Py_None
); resultobj
= Py_None
;
12335 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxEvent
*arg1
= (wxEvent
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (int)((wxEvent
const *)arg1
)->GetId();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_FromInt((int)result
);
12361 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxEvent
*arg1
= (wxEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "Id", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 arg2
= (int) SWIG_AsInt(obj1
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->SetId(arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 Py_INCREF(Py_None
); resultobj
= Py_None
;
12390 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxEvent
*arg1
= (wxEvent
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12418 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxEvent
*arg1
= (wxEvent
*) 0 ;
12421 bool arg2
= (bool) True
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "skip", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 arg2
= (bool) SWIG_AsBool(obj1
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->Skip(arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12449 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxEvent
*arg1
= (wxEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12477 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxEvent
*arg1
= (wxEvent
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12505 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxEvent
*arg1
= (wxEvent
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (int)(arg1
)->StopPropagation();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_FromInt((int)result
);
12531 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxEvent
*arg1
= (wxEvent
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "propagationLevel", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 arg2
= (int) SWIG_AsInt(obj1
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->ResumePropagation(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxEvent
*arg1
= (wxEvent
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (wxEvent
*)(arg1
)->Clone();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12586 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12589 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12591 return Py_BuildValue((char *)"");
12593 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxEvent
*arg1
= 0 ;
12596 wxPropagationDisabler
*result
;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "event", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12606 if (arg1
== NULL
) {
12607 PyErr_SetString(PyExc_TypeError
,"null reference");
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12624 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 Py_INCREF(Py_None
); resultobj
= Py_None
;
12649 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12652 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12654 return Py_BuildValue((char *)"");
12656 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxEvent
*arg1
= 0 ;
12659 wxPropagateOnce
*result
;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "event", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12669 if (arg1
== NULL
) {
12670 PyErr_SetString(PyExc_TypeError
,"null reference");
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12687 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12715 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12717 return Py_BuildValue((char *)"");
12719 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12722 int arg2
= (int) 0 ;
12723 wxCommandEvent
*result
;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "commandType",(char *) "winid", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12732 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12736 arg2
= (int) SWIG_AsInt(obj1
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12753 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_FromInt((int)result
);
12779 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12782 wxString
*arg2
= 0 ;
12783 bool temp2
= False
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "s", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12794 arg2
= wxString_in_helper(obj1
);
12795 if (arg2
== NULL
) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->SetString((wxString
const &)*arg2
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12820 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
;
12822 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12852 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12880 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self",(char *) "extraLong", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 arg2
= (long) SWIG_AsLong(obj1
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->SetExtraLong(arg2
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_FromLong((long)result
);
12963 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "i", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12976 arg2
= (int) SWIG_AsInt(obj1
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->SetInt(arg2
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_FromLong((long)result
);
13018 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13044 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13047 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13049 return Py_BuildValue((char *)"");
13051 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13054 int arg2
= (int) 0 ;
13055 wxNotifyEvent
*result
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "commandType",(char *) "winid", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 arg2
= (int) SWIG_AsInt(obj1
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13085 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 Py_INCREF(Py_None
); resultobj
= Py_None
;
13135 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)(arg1
)->IsAllowed();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13163 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13168 return Py_BuildValue((char *)"");
13170 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13173 int arg2
= (int) 0 ;
13174 int arg3
= (int) 0 ;
13175 int arg4
= (int) 0 ;
13176 wxScrollEvent
*result
;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 PyObject
* obj2
= 0 ;
13180 PyObject
* obj3
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13187 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 arg2
= (int) SWIG_AsInt(obj1
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 arg3
= (int) SWIG_AsInt(obj2
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 arg4
= (int) SWIG_AsInt(obj3
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13216 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_FromInt((int)result
);
13242 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_FromInt((int)result
);
13268 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "orient", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= (int) SWIG_AsInt(obj1
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->SetOrientation(arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self",(char *) "pos", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13310 arg2
= (int) SWIG_AsInt(obj1
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetPosition(arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13329 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13331 return Py_BuildValue((char *)"");
13333 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13336 int arg2
= (int) 0 ;
13337 int arg3
= (int) 0 ;
13338 wxScrollWinEvent
*result
;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 PyObject
* obj2
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13348 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 arg2
= (int) SWIG_AsInt(obj1
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 arg3
= (int) SWIG_AsInt(obj2
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13373 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_FromInt((int)result
);
13399 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_FromInt((int)result
);
13425 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "orient", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 arg2
= (int) SWIG_AsInt(obj1
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetOrientation(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self",(char *) "pos", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 arg2
= (int) SWIG_AsInt(obj1
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->SetPosition(arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 Py_INCREF(Py_None
); resultobj
= Py_None
;
13483 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13486 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13488 return Py_BuildValue((char *)"");
13490 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13493 wxMouseEvent
*result
;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "mouseType", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13501 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= wxPyMake_wxObject(result
);
13520 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13548 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13551 int arg2
= (int) wxMOUSE_BTN_ANY
;
13553 PyObject
* obj0
= 0 ;
13554 PyObject
* obj1
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self",(char *) "but", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13563 arg2
= (int) SWIG_AsInt(obj1
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13582 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13585 int arg2
= (int) wxMOUSE_BTN_ANY
;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "but", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 arg2
= (int) SWIG_AsInt(obj1
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13616 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13619 int arg2
= (int) wxMOUSE_BTN_ANY
;
13621 PyObject
* obj0
= 0 ;
13622 PyObject
* obj1
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self",(char *) "but", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 arg2
= (int) SWIG_AsInt(obj1
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13650 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "but", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 arg2
= (int) SWIG_AsInt(obj1
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13682 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "but", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= (int) SWIG_AsInt(obj1
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13714 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_FromInt((int)result
);
13740 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13768 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13796 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
;
13798 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13800 PyObject
* obj0
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13824 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13852 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13880 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13936 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13964 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13992 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13996 PyObject
* obj0
= 0 ;
13997 char *kwnames
[] = {
13998 (char *) "self", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14020 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14024 PyObject
* obj0
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14048 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14052 PyObject
* obj0
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14076 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14104 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14108 PyObject
* obj0
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (bool)(arg1
)->LeftIsDown();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14132 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)(arg1
)->MiddleIsDown();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (bool)(arg1
)->RightIsDown();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14216 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14300 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (arg1
)->GetPosition();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 wxPoint
* resultptr
;
14321 resultptr
= new wxPoint((wxPoint
&) result
);
14322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14330 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14333 long *arg2
= (long *) 0 ;
14334 long *arg3
= (long *) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 (arg1
)->GetPosition(arg2
,arg3
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14357 resultobj
= t_output_helper(resultobj
,o
);
14360 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14361 resultobj
= t_output_helper(resultobj
,o
);
14369 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self",(char *) "dc", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14386 if (arg2
== NULL
) {
14387 PyErr_SetString(PyExc_TypeError
,"null reference");
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 wxPoint
* resultptr
;
14399 resultptr
= new wxPoint((wxPoint
&) result
);
14400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14408 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_FromInt((int)result
);
14434 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_FromInt((int)result
);
14460 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_FromInt((int)result
);
14486 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_FromInt((int)result
);
14512 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_FromInt((int)result
);
14538 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14566 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self",(char *) "m_x", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 arg2
= (int) SWIG_AsInt(obj1
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14581 if (arg1
) (arg1
)->m_x
= arg2
;
14583 Py_INCREF(Py_None
); resultobj
= Py_None
;
14590 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 result
= (int) ((arg1
)->m_x
);
14604 resultobj
= SWIG_FromInt((int)result
);
14611 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "m_y", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg2
= (int) SWIG_AsInt(obj1
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14626 if (arg1
) (arg1
)->m_y
= arg2
;
14628 Py_INCREF(Py_None
); resultobj
= Py_None
;
14635 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 result
= (int) ((arg1
)->m_y
);
14649 resultobj
= SWIG_FromInt((int)result
);
14656 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "m_leftDown", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (bool) SWIG_AsBool(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14671 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 result
= (bool) ((arg1
)->m_leftDown
);
14695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14703 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "m_middleDown", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg2
= (bool) SWIG_AsBool(obj1
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14718 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 result
= (bool) ((arg1
)->m_middleDown
);
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "m_rightDown", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 arg2
= (bool) SWIG_AsBool(obj1
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14765 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14767 Py_INCREF(Py_None
); resultobj
= Py_None
;
14774 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 result
= (bool) ((arg1
)->m_rightDown
);
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14797 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self",(char *) "m_controlDown", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 arg2
= (bool) SWIG_AsBool(obj1
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14812 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 result
= (bool) ((arg1
)->m_controlDown
);
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self",(char *) "m_shiftDown", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 arg2
= (bool) SWIG_AsBool(obj1
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14859 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 result
= (bool) ((arg1
)->m_shiftDown
);
14883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14891 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "m_altDown", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 arg2
= (bool) SWIG_AsBool(obj1
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14906 if (arg1
) (arg1
)->m_altDown
= arg2
;
14908 Py_INCREF(Py_None
); resultobj
= Py_None
;
14915 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 result
= (bool) ((arg1
)->m_altDown
);
14930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14938 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self",(char *) "m_metaDown", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 arg2
= (bool) SWIG_AsBool(obj1
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14953 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 result
= (bool) ((arg1
)->m_metaDown
);
14977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14985 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "m_wheelRotation", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 arg2
= (int) SWIG_AsInt(obj1
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15000 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 result
= (int) ((arg1
)->m_wheelRotation
);
15023 resultobj
= SWIG_FromInt((int)result
);
15030 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "m_wheelDelta", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 arg2
= (int) SWIG_AsInt(obj1
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15045 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 result
= (int) ((arg1
)->m_wheelDelta
);
15068 resultobj
= SWIG_FromInt((int)result
);
15075 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "m_linesPerAction", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 arg2
= (int) SWIG_AsInt(obj1
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15090 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 result
= (int) ((arg1
)->m_linesPerAction
);
15113 resultobj
= SWIG_FromInt((int)result
);
15120 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15123 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15125 return Py_BuildValue((char *)"");
15127 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 int arg1
= (int) 0 ;
15130 int arg2
= (int) 0 ;
15131 wxSetCursorEvent
*result
;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "x",(char *) "y", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15140 arg1
= (int) SWIG_AsInt(obj0
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 arg2
= (int) SWIG_AsInt(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15161 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 resultobj
= SWIG_FromInt((int)result
);
15187 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_FromInt((int)result
);
15213 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15216 wxCursor
*arg2
= 0 ;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self",(char *) "cursor", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15229 if (arg2
== NULL
) {
15230 PyErr_SetString(PyExc_TypeError
,"null reference");
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 Py_INCREF(Py_None
); resultobj
= Py_None
;
15247 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15263 result
= (wxCursor
*) &_result_ref
;
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 wxCursor
* resultptr
= new wxCursor(*result
);
15271 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15279 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15307 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15310 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15312 return Py_BuildValue((char *)"");
15314 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15317 wxKeyEvent
*result
;
15318 PyObject
* obj0
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "keyType", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15325 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15342 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15370 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15398 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15426 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15454 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15482 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15486 PyObject
* obj0
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_FromInt((int)result
);
15508 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_FromInt((int)result
);
15534 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15537 unsigned int result
;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15560 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15563 unsigned int result
;
15564 PyObject
* obj0
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15586 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (arg1
)->GetPosition();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 wxPoint
* resultptr
;
15607 resultptr
= new wxPoint((wxPoint
&) result
);
15608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15616 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15619 long *arg2
= (long *) 0 ;
15620 long *arg3
= (long *) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 (arg1
)->GetPosition(arg2
,arg3
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15643 resultobj
= t_output_helper(resultobj
,o
);
15646 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15647 resultobj
= t_output_helper(resultobj
,o
);
15655 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_FromInt((int)result
);
15681 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_FromInt((int)result
);
15707 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "m_x", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15720 arg2
= (int) SWIG_AsInt(obj1
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15722 if (arg1
) (arg1
)->m_x
= arg2
;
15724 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 result
= (int) ((arg1
)->m_x
);
15745 resultobj
= SWIG_FromInt((int)result
);
15752 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self",(char *) "m_y", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 arg2
= (int) SWIG_AsInt(obj1
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15767 if (arg1
) (arg1
)->m_y
= arg2
;
15769 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 result
= (int) ((arg1
)->m_y
);
15790 resultobj
= SWIG_FromInt((int)result
);
15797 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self",(char *) "m_keyCode", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= (long) SWIG_AsLong(obj1
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15812 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 result
= (long) ((arg1
)->m_keyCode
);
15835 resultobj
= SWIG_FromLong((long)result
);
15842 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "m_controlDown", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 arg2
= (bool) SWIG_AsBool(obj1
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15857 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 result
= (bool) ((arg1
)->m_controlDown
);
15881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15889 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "m_shiftDown", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 arg2
= (bool) SWIG_AsBool(obj1
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15904 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15906 Py_INCREF(Py_None
); resultobj
= Py_None
;
15913 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 result
= (bool) ((arg1
)->m_shiftDown
);
15928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "m_altDown", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 arg2
= (bool) SWIG_AsBool(obj1
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15951 if (arg1
) (arg1
)->m_altDown
= arg2
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 result
= (bool) ((arg1
)->m_altDown
);
15975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "m_metaDown", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 arg2
= (bool) SWIG_AsBool(obj1
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15998 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 result
= (bool) ((arg1
)->m_metaDown
);
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self",(char *) "m_scanCode", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 arg2
= (bool) SWIG_AsBool(obj1
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16045 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16047 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 result
= (bool) ((arg1
)->m_scanCode
);
16069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16080 unsigned int arg2
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "m_rawCode", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16092 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16104 unsigned int result
;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 result
= (unsigned int) ((arg1
)->m_rawCode
);
16115 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16122 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16125 unsigned int arg2
;
16126 PyObject
* obj0
= 0 ;
16127 PyObject
* obj1
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self",(char *) "m_rawFlags", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16137 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16139 Py_INCREF(Py_None
); resultobj
= Py_None
;
16146 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16149 unsigned int result
;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16160 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16167 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16170 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16172 return Py_BuildValue((char *)"");
16174 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16177 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16178 int arg2
= (int) 0 ;
16179 wxSizeEvent
*result
;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "sz",(char *) "winid", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16191 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16195 arg2
= (int) SWIG_AsInt(obj1
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16212 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 wxSize
* resultptr
;
16233 resultptr
= new wxSize((wxSize
&) result
);
16234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16242 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 wxRect
* resultptr
;
16263 resultptr
= new wxRect((wxRect
&) result
);
16264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16272 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "rect", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16287 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->SetRect(arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "size", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16317 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16318 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 wxSizeEvent_SetSize(arg1
,arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16337 wxSize
*arg2
= (wxSize
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "m_size", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 if (arg1
) (arg1
)->m_size
= *arg2
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 result
= (wxSize
*)& ((arg1
)->m_size
);
16372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16379 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16382 wxRect
*arg2
= (wxRect
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self",(char *) "m_rect", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 if (arg1
) (arg1
)->m_rect
= *arg2
;
16396 Py_INCREF(Py_None
); resultobj
= Py_None
;
16403 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 result
= (wxRect
*)& ((arg1
)->m_rect
);
16417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16424 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16427 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16429 return Py_BuildValue((char *)"");
16431 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16434 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16435 int arg2
= (int) 0 ;
16436 wxMoveEvent
*result
;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "pos",(char *) "winid", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16448 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16452 arg2
= (int) SWIG_AsInt(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16469 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 wxPoint
* resultptr
;
16490 resultptr
= new wxPoint((wxPoint
&) result
);
16491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16499 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 wxRect
* resultptr
;
16520 resultptr
= new wxRect((wxRect
&) result
);
16521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16529 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "rect", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16544 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->SetRect(arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self",(char *) "pos", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16575 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 wxMoveEvent_SetPosition(arg1
,arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16594 wxPoint
*arg2
= (wxPoint
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self",(char *) "m_pos", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 if (arg1
) (arg1
)->m_pos
= *arg2
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16636 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16639 wxRect
*arg2
= (wxRect
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "m_rect", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 if (arg1
) (arg1
)->m_rect
= *arg2
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16660 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 result
= (wxRect
*)& ((arg1
)->m_rect
);
16674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16681 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16684 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16686 return Py_BuildValue((char *)"");
16688 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 int arg1
= (int) 0 ;
16691 wxPaintEvent
*result
;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "Id", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16699 arg1
= (int) SWIG_AsInt(obj0
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16716 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16719 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16721 return Py_BuildValue((char *)"");
16723 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 int arg1
= (int) 0 ;
16726 wxNcPaintEvent
*result
;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "winid", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16734 arg1
= (int) SWIG_AsInt(obj0
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16751 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16754 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16756 return Py_BuildValue((char *)"");
16758 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 int arg1
= (int) 0 ;
16761 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16762 wxEraseEvent
*result
;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "Id",(char *) "dc", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16771 arg1
= (int) SWIG_AsInt(obj0
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16792 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= wxPyMake_wxObject(result
);
16820 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16823 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16825 return Py_BuildValue((char *)"");
16827 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16830 int arg2
= (int) 0 ;
16831 wxFocusEvent
*result
;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "type",(char *) "winid", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16840 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 arg2
= (int) SWIG_AsInt(obj1
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16861 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= wxPyMake_wxObject(result
);
16889 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16892 wxWindow
*arg2
= (wxWindow
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self",(char *) "win", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetWindow(arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16921 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16923 return Py_BuildValue((char *)"");
16925 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxWindow
*arg1
= (wxWindow
*) NULL
;
16928 wxChildFocusEvent
*result
;
16929 PyObject
* obj0
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "win", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16953 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= wxPyMake_wxObject(result
);
16981 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16984 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16986 return Py_BuildValue((char *)"");
16988 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16991 bool arg2
= (bool) True
;
16992 int arg3
= (int) 0 ;
16993 wxActivateEvent
*result
;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 PyObject
* obj2
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "type",(char *) "active",(char *) "Id", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17003 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 arg2
= (bool) SWIG_AsBool(obj1
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 arg3
= (int) SWIG_AsInt(obj2
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17028 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17056 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17059 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17061 return Py_BuildValue((char *)"");
17063 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 int arg1
= (int) 0 ;
17066 wxInitDialogEvent
*result
;
17067 PyObject
* obj0
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "Id", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17074 arg1
= (int) SWIG_AsInt(obj0
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17091 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17094 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17096 return Py_BuildValue((char *)"");
17098 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17101 int arg2
= (int) 0 ;
17102 wxMenu
*arg3
= (wxMenu
*) NULL
;
17103 wxMenuEvent
*result
;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 PyObject
* obj2
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "type",(char *) "winid",(char *) "menu", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17113 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 arg2
= (int) SWIG_AsInt(obj1
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17121 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17138 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
;
17140 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17142 PyObject
* obj0
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_FromInt((int)result
);
17164 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17192 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= wxPyMake_wxObject(result
);
17220 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17223 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17225 return Py_BuildValue((char *)"");
17227 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17230 int arg2
= (int) 0 ;
17231 wxCloseEvent
*result
;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "type",(char *) "winid", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17240 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 arg2
= (int) SWIG_AsInt(obj1
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17261 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self",(char *) "logOff", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 arg2
= (bool) SWIG_AsBool(obj1
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->SetLoggingOff(arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17318 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17321 bool arg2
= (bool) True
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "veto", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17332 arg2
= (bool) SWIG_AsBool(obj1
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 (arg1
)->Veto(arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 Py_INCREF(Py_None
); resultobj
= Py_None
;
17349 static PyObject
*_wrap_CloseEvent_SetCanVeto(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 *) "canVeto", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",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
)->SetCanVeto(arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_CloseEvent_CanVeto(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_CanVeto",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
)->CanVeto();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17406 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17437 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17439 return Py_BuildValue((char *)"");
17441 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 int arg1
= (int) 0 ;
17444 bool arg2
= (bool) False
;
17445 wxShowEvent
*result
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "winid",(char *) "show", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17454 arg1
= (int) SWIG_AsInt(obj0
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 arg2
= (bool) SWIG_AsBool(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17475 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "show", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 arg2
= (bool) SWIG_AsBool(obj1
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->SetShow(arg2
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17504 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17532 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17535 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17537 return Py_BuildValue((char *)"");
17539 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 int arg1
= (int) 0 ;
17542 bool arg2
= (bool) True
;
17543 wxIconizeEvent
*result
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "id",(char *) "iconized", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 arg1
= (int) SWIG_AsInt(obj0
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17556 arg2
= (bool) SWIG_AsBool(obj1
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17573 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (bool)(arg1
)->Iconized();
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17601 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17604 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17606 return Py_BuildValue((char *)"");
17608 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 int arg1
= (int) 0 ;
17611 wxMaximizeEvent
*result
;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "id", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17619 arg1
= (int) SWIG_AsInt(obj0
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17636 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17639 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17641 return Py_BuildValue((char *)"");
17643 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17647 PyObject
* obj0
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (arg1
)->GetPosition();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 wxPoint
* resultptr
;
17664 resultptr
= new wxPoint((wxPoint
&) result
);
17665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17673 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (int)(arg1
)->GetNumberOfFiles();
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_FromInt((int)result
);
17699 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= result
;
17725 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17728 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17730 return Py_BuildValue((char *)"");
17732 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 int arg1
= (int) 0 ;
17735 wxUpdateUIEvent
*result
;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "commandId", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17743 arg1
= (int) SWIG_AsInt(obj0
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17760 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17816 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17848 static PyObject
*_wrap_UpdateUIEvent_GetSetText(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_GetSetText",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
)->GetSetText();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(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_GetSetChecked",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
)->GetSetChecked();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(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_GetSetEnabled",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
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "check", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (bool) SWIG_AsBool(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->Check(arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "enable", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= (bool) SWIG_AsBool(obj1
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->Enable(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 Py_INCREF(Py_None
); resultobj
= Py_None
;
17990 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17993 wxString
*arg2
= 0 ;
17994 bool temp2
= False
;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self",(char *) "text", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 arg2
= wxString_in_helper(obj1
);
18006 if (arg2
== NULL
) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->SetText((wxString
const &)*arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "updateInterval", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18040 arg1
= (long) SWIG_AsLong(obj0
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18059 char *kwnames
[] = {
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_FromLong((long)result
);
18078 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxWindow
*arg1
= (wxWindow
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "win", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18106 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 char *kwnames
[] = {
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 wxUpdateUIEvent::ResetUpdateTime();
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18130 PyObject
* obj0
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "mode", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18136 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18152 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18155 char *kwnames
[] = {
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (int)wxUpdateUIEvent::GetMode();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_FromInt((int)result
);
18174 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18177 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18179 return Py_BuildValue((char *)"");
18181 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxSysColourChangedEvent
*result
;
18184 char *kwnames
[] = {
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18203 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18208 return Py_BuildValue((char *)"");
18210 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 int arg1
= (int) 0 ;
18213 wxWindow
*arg2
= (wxWindow
*) NULL
;
18214 wxMouseCaptureChangedEvent
*result
;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "winid",(char *) "gainedCapture", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 arg1
= (int) SWIG_AsInt(obj0
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18244 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= wxPyMake_wxObject(result
);
18272 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18275 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18277 return Py_BuildValue((char *)"");
18279 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxDisplayChangedEvent
*result
;
18282 char *kwnames
[] = {
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18301 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18304 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18306 return Py_BuildValue((char *)"");
18308 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 int arg1
= (int) 0 ;
18311 wxPaletteChangedEvent
*result
;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "id", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18319 arg1
= (int) SWIG_AsInt(obj0
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18336 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18339 wxWindow
*arg2
= (wxWindow
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self",(char *) "win", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetChangedWindow(arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 Py_INCREF(Py_None
); resultobj
= Py_None
;
18365 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= wxPyMake_wxObject(result
);
18393 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18396 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18398 return Py_BuildValue((char *)"");
18400 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 int arg1
= (int) 0 ;
18403 wxQueryNewPaletteEvent
*result
;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "winid", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18411 arg1
= (int) SWIG_AsInt(obj0
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18428 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "realized", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 arg2
= (bool) SWIG_AsBool(obj1
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->SetPaletteRealized(arg2
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18488 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18490 return Py_BuildValue((char *)"");
18492 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxNavigationKeyEvent
*result
;
18495 char *kwnames
[] = {
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18514 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18542 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self",(char *) "bForward", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 arg2
= (bool) SWIG_AsBool(obj1
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetDirection(arg2
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18599 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "bIs", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18612 arg2
= (bool) SWIG_AsBool(obj1
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->SetWindowChange(arg2
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 Py_INCREF(Py_None
); resultobj
= Py_None
;
18628 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= wxPyMake_wxObject(result
);
18656 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18659 wxWindow
*arg2
= (wxWindow
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "win", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 (arg1
)->SetCurrentFocus(arg2
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 Py_INCREF(Py_None
); resultobj
= Py_None
;
18685 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18688 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18690 return Py_BuildValue((char *)"");
18692 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxWindow
*arg1
= (wxWindow
*) NULL
;
18695 wxWindowCreateEvent
*result
;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "win", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18720 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= wxPyMake_wxObject(result
);
18748 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18751 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18753 return Py_BuildValue((char *)"");
18755 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxWindow
*arg1
= (wxWindow
*) NULL
;
18758 wxWindowDestroyEvent
*result
;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "win", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18783 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= wxPyMake_wxObject(result
);
18811 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18814 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18816 return Py_BuildValue((char *)"");
18818 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18821 int arg2
= (int) 0 ;
18822 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18823 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18824 wxContextMenuEvent
*result
;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 PyObject
* obj2
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "type",(char *) "winid",(char *) "pt", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18835 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 arg2
= (int) SWIG_AsInt(obj1
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18862 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18866 PyObject
* obj0
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18878 result
= (wxPoint
*) &_result_ref
;
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18891 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18894 wxPoint
*arg2
= 0 ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "pos", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18923 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18926 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18928 return Py_BuildValue((char *)"");
18930 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxIdleEvent
*result
;
18933 char *kwnames
[] = {
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (wxIdleEvent
*)new wxIdleEvent();
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18952 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18955 bool arg2
= (bool) True
;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self",(char *) "needMore", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 arg2
= (bool) SWIG_AsBool(obj1
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->RequestMore(arg2
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19011 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "mode", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19020 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19039 char *kwnames
[] = {
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (int)wxIdleEvent::GetMode();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_FromInt((int)result
);
19058 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxWindow
*arg1
= (wxWindow
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "win", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (bool)wxIdleEvent::CanSend(arg1
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19086 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19089 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19091 return Py_BuildValue((char *)"");
19093 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 int arg1
= (int) 0 ;
19096 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "winid",(char *) "commandType", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 arg1
= (int) SWIG_AsInt(obj0
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19110 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19127 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 Py_INCREF(Py_None
); resultobj
= Py_None
;
19152 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19155 PyObject
*arg2
= (PyObject
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self",(char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->SetSelf(arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (PyObject
*)(arg1
)->GetSelf();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
;
19206 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19209 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19211 return Py_BuildValue((char *)"");
19213 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19216 int arg2
= (int) 0 ;
19217 wxPyCommandEvent
*result
;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "commandType",(char *) "id", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19230 arg2
= (int) SWIG_AsInt(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19247 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 Py_INCREF(Py_None
); resultobj
= Py_None
;
19272 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19275 PyObject
*arg2
= (PyObject
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "self", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 (arg1
)->SetSelf(arg2
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 Py_INCREF(Py_None
); resultobj
= Py_None
;
19300 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (PyObject
*)(arg1
)->GetSelf();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= result
;
19326 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19329 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19331 return Py_BuildValue((char *)"");
19333 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19336 char *kwnames
[] = {
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (wxPyApp
*)new_wxPyApp();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= wxPyMake_wxObject(result
);
19357 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19385 PyObject
*arg2
= (PyObject
*) 0 ;
19386 PyObject
*arg3
= (PyObject
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 PyObject
* obj2
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "self",(char *) "_class", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19445 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19448 wxString
*arg2
= 0 ;
19449 bool temp2
= False
;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "name", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 arg2
= wxString_in_helper(obj1
);
19461 if (arg2
== NULL
) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetAppName((wxString
const &)*arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19518 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19521 wxString
*arg2
= 0 ;
19522 bool temp2
= False
;
19523 PyObject
* obj0
= 0 ;
19524 PyObject
* obj1
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self",(char *) "name", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 arg2
= wxString_in_helper(obj1
);
19534 if (arg2
== NULL
) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->SetClassName((wxString
const &)*arg2
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19575 result
= (wxString
*) &_result_ref
;
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19585 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19594 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19597 wxString
*arg2
= 0 ;
19598 bool temp2
= False
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "name", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 arg2
= wxString_in_helper(obj1
);
19610 if (arg2
== NULL
) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19635 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19638 wxAppTraits
*result
;
19639 PyObject
* obj0
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19661 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->ProcessPendingEvents();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19689 bool arg2
= (bool) False
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "onlyIfNeeded", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 arg2
= (bool) SWIG_AsBool(obj1
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 result
= (bool)(arg1
)->Yield(arg2
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19720 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19733 (arg1
)->WakeUpIdle();
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 Py_INCREF(Py_None
); resultobj
= Py_None
;
19745 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (int)(arg1
)->MainLoop();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_FromInt((int)result
);
19771 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 Py_INCREF(Py_None
); resultobj
= Py_None
;
19796 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->ExitMainLoop();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)(arg1
)->Pending();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19849 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (bool)(arg1
)->Dispatch();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19877 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (bool)(arg1
)->ProcessIdle();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19905 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19908 wxWindow
*arg2
= (wxWindow
*) 0 ;
19909 wxIdleEvent
*arg3
= 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 PyObject
* obj2
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "win",(char *) "event", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19926 if (arg3
== NULL
) {
19927 PyErr_SetString(PyExc_TypeError
,"null reference");
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19946 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19974 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19977 wxWindow
*arg2
= (wxWindow
*) 0 ;
19978 PyObject
* obj0
= 0 ;
19979 PyObject
* obj1
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "win", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 (arg1
)->SetTopWindow(arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= wxPyMake_wxObject(result
);
20031 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self",(char *) "flag", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 arg2
= (bool) SWIG_AsBool(obj1
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 (arg1
)->SetExitOnFrameDelete(arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20088 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self",(char *) "flag", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 arg2
= (bool) SWIG_AsBool(obj1
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 (arg1
)->SetUseBestVisual(arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 Py_INCREF(Py_None
); resultobj
= Py_None
;
20117 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20145 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "mode", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 arg2
= (int) SWIG_AsInt(obj1
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->SetPrintMode(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 Py_INCREF(Py_None
); resultobj
= Py_None
;
20174 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_FromInt((int)result
);
20200 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self",(char *) "mode", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 arg2
= (int) SWIG_AsInt(obj1
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->SetAssertMode(arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 Py_INCREF(Py_None
); resultobj
= Py_None
;
20229 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20231 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (int)(arg1
)->GetAssertMode();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_FromInt((int)result
);
20255 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20258 char *kwnames
[] = {
20262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20279 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20282 char *kwnames
[] = {
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_FromLong((long)result
);
20301 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20304 char *kwnames
[] = {
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_FromLong((long)result
);
20323 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20326 char *kwnames
[] = {
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (long)wxPyApp::GetMacExitMenuItemId();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_FromLong((long)result
);
20345 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20348 char *kwnames
[] = {
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= wxPyApp::GetMacHelpMenuTitleName();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20373 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "val", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20382 arg1
= (bool) SWIG_AsBool(obj0
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 Py_INCREF(Py_None
); resultobj
= Py_None
;
20398 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "val", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20407 arg1
= (long) SWIG_AsLong(obj0
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 wxPyApp::SetMacAboutMenuItemId(arg1
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "val", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20432 arg1
= (long) SWIG_AsLong(obj0
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 Py_INCREF(Py_None
); resultobj
= Py_None
;
20448 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "val", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20457 arg1
= (long) SWIG_AsLong(obj0
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxPyApp::SetMacExitMenuItemId(arg1
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20473 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxString
*arg1
= 0 ;
20476 bool temp1
= False
;
20477 PyObject
* obj0
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "val", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20484 arg1
= wxString_in_helper(obj0
);
20485 if (arg1
== NULL
) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 Py_INCREF(Py_None
); resultobj
= Py_None
;
20510 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->_BootstrapApp();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20538 char *kwnames
[] = {
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (int)wxPyApp::GetComCtl32Version();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_FromInt((int)result
);
20557 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20560 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20562 return Py_BuildValue((char *)"");
20564 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 char *kwnames
[] = {
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 Py_INCREF(Py_None
); resultobj
= Py_None
;
20585 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20588 char *kwnames
[] = {
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (bool)wxYield();
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20609 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20612 char *kwnames
[] = {
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)wxYieldIfNeeded();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxWindow
*arg1
= (wxWindow
*) NULL
;
20636 bool arg2
= (bool) False
;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "win",(char *) "onlyIfNeeded", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (bool) SWIG_AsBool(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)wxSafeYield(arg1
,arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20669 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 char *kwnames
[] = {
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20693 wxEvent
*arg2
= 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "dest",(char *) "event", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20706 if (arg2
== NULL
) {
20707 PyErr_SetString(PyExc_TypeError
,"null reference");
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 wxPostEvent(arg1
,*arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 char *kwnames
[] = {
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 Py_INCREF(Py_None
); resultobj
= Py_None
;
20745 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20748 char *kwnames
[] = {
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20755 result
= (wxPyApp
*)wxPyGetApp();
20757 wxPyEndAllowThreads(__tstate
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= wxPyMake_wxObject(result
);
20769 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 int arg1
= (int) 0 ;
20772 int arg2
= (int) 0 ;
20773 int arg3
= (int) 0 ;
20774 wxAcceleratorEntry
*result
;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 PyObject
* obj2
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20784 arg1
= (int) SWIG_AsInt(obj0
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20788 arg2
= (int) SWIG_AsInt(obj1
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 arg3
= (int) SWIG_AsInt(obj2
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20809 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 PyObject
* obj2
= 0 ;
20843 PyObject
* obj3
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 arg2
= (int) SWIG_AsInt(obj1
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20853 arg3
= (int) SWIG_AsInt(obj2
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20855 arg4
= (int) SWIG_AsInt(obj3
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->Set(arg2
,arg3
,arg4
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (int)(arg1
)->GetFlags();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_FromInt((int)result
);
20897 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (int)(arg1
)->GetKeyCode();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_FromInt((int)result
);
20923 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (int)(arg1
)->GetCommand();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_FromInt((int)result
);
20949 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20952 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20954 return Py_BuildValue((char *)"");
20956 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20959 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20960 wxAcceleratorTable
*result
;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20968 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20969 if (arg2
) arg1
= PyList_Size(obj0
);
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20992 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 Py_INCREF(Py_None
); resultobj
= Py_None
;
21017 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21045 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21048 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21050 return Py_BuildValue((char *)"");
21052 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21053 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21058 static PyObject
*_wrap_NullAcceleratorTable_get() {
21061 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21066 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxString
*arg1
= 0 ;
21069 wxAcceleratorEntry
*result
;
21070 bool temp1
= False
;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "label", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21078 arg1
= wxString_in_helper(obj0
);
21079 if (arg1
== NULL
) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21104 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21105 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21110 static PyObject
*_wrap_PanelNameStr_get() {
21115 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21117 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21124 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxVisualAttributes
*result
;
21127 char *kwnames
[] = {
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21146 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 delete_wxVisualAttributes(arg1
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 Py_INCREF(Py_None
); resultobj
= Py_None
;
21171 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21174 wxFont
*arg2
= (wxFont
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "font", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21186 if (arg1
) (arg1
)->font
= *arg2
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 result
= (wxFont
*)& ((arg1
)->font
);
21209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21216 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21219 wxColour
*arg2
= (wxColour
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self",(char *) "colFg", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 if (arg1
) (arg1
)->colFg
= *arg2
;
21233 Py_INCREF(Py_None
); resultobj
= Py_None
;
21240 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 result
= (wxColour
*)& ((arg1
)->colFg
);
21254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21261 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21264 wxColour
*arg2
= (wxColour
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "colBg", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 if (arg1
) (arg1
)->colBg
= *arg2
;
21278 Py_INCREF(Py_None
); resultobj
= Py_None
;
21285 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 result
= (wxColour
*)& ((arg1
)->colBg
);
21299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21306 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21309 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21311 return Py_BuildValue((char *)"");
21313 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxWindow
*arg1
= (wxWindow
*) 0 ;
21316 int arg2
= (int) (int)-1 ;
21317 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21318 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21319 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21320 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21321 long arg5
= (long) 0 ;
21322 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21323 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21327 bool temp6
= False
;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 PyObject
* obj2
= 0 ;
21331 PyObject
* obj3
= 0 ;
21332 PyObject
* obj4
= 0 ;
21333 PyObject
* obj5
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 arg2
= (int const) SWIG_AsInt(obj1
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21348 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21354 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21358 arg5
= (long) SWIG_AsLong(obj4
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21363 arg6
= wxString_in_helper(obj5
);
21364 if (arg6
== NULL
) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= wxPyMake_wxObject(result
);
21392 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21395 char *kwnames
[] = {
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (wxWindow
*)new wxWindow();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= wxPyMake_wxObject(result
);
21416 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxWindow
*arg1
= (wxWindow
*) 0 ;
21419 wxWindow
*arg2
= (wxWindow
*) 0 ;
21420 int arg3
= (int) (int)-1 ;
21421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21425 long arg6
= (long) 0 ;
21426 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21431 bool temp7
= False
;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 PyObject
* obj2
= 0 ;
21435 PyObject
* obj3
= 0 ;
21436 PyObject
* obj4
= 0 ;
21437 PyObject
* obj5
= 0 ;
21438 PyObject
* obj6
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 arg3
= (int const) SWIG_AsInt(obj2
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21455 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21461 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21465 arg6
= (long) SWIG_AsLong(obj5
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21470 arg7
= wxString_in_helper(obj6
);
21471 if (arg7
== NULL
) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21499 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxWindow
*arg1
= (wxWindow
*) 0 ;
21502 bool arg2
= (bool) False
;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "force", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21514 arg2
= (bool) SWIG_AsBool(obj1
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (bool)(arg1
)->Close(arg2
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21533 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxWindow
*arg1
= (wxWindow
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)(arg1
)->Destroy();
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21561 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxWindow
*arg1
= (wxWindow
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (bool)(arg1
)->DestroyChildren();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21589 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxWindow
*arg1
= (wxWindow
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21617 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxWindow
*arg1
= (wxWindow
*) 0 ;
21620 wxString
*arg2
= 0 ;
21621 bool temp2
= False
;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "title", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 arg2
= wxString_in_helper(obj1
);
21633 if (arg2
== NULL
) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetTitle((wxString
const &)*arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxWindow
*arg1
= (wxWindow
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= ((wxWindow
const *)arg1
)->GetTitle();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21690 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxWindow
*arg1
= (wxWindow
*) 0 ;
21693 wxString
*arg2
= 0 ;
21694 bool temp2
= False
;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "label", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 arg2
= wxString_in_helper(obj1
);
21706 if (arg2
== NULL
) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 (arg1
)->SetLabel((wxString
const &)*arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 Py_INCREF(Py_None
); resultobj
= Py_None
;
21731 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxWindow
*arg1
= (wxWindow
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= ((wxWindow
const *)arg1
)->GetLabel();
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21763 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxWindow
*arg1
= (wxWindow
*) 0 ;
21766 wxString
*arg2
= 0 ;
21767 bool temp2
= False
;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "name", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21778 arg2
= wxString_in_helper(obj1
);
21779 if (arg2
== NULL
) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->SetName((wxString
const &)*arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxWindow
*arg1
= (wxWindow
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= ((wxWindow
const *)arg1
)->GetName();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21836 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxWindow
*arg1
= (wxWindow
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "variant", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21865 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxWindow
*arg1
= (wxWindow
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= SWIG_FromInt((int)result
);
21891 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxWindow
*arg1
= (wxWindow
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "winid", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 arg2
= (int) SWIG_AsInt(obj1
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 (arg1
)->SetId(arg2
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 Py_INCREF(Py_None
); resultobj
= Py_None
;
21920 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxWindow
*arg1
= (wxWindow
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (int)((wxWindow
const *)arg1
)->GetId();
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_FromInt((int)result
);
21946 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21949 char *kwnames
[] = {
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (int)wxWindow::NewControlId();
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_FromInt((int)result
);
21968 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21972 PyObject
* obj0
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "winid", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21978 arg1
= (int) SWIG_AsInt(obj0
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (int)wxWindow::NextControlId(arg1
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_FromInt((int)result
);
21994 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "winid", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22004 arg1
= (int) SWIG_AsInt(obj0
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (int)wxWindow::PrevControlId(arg1
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= SWIG_FromInt((int)result
);
22020 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxWindow
*arg1
= (wxWindow
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "size", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->SetSize((wxSize
const &)*arg2
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 Py_INCREF(Py_None
); resultobj
= Py_None
;
22052 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxWindow
*arg1
= (wxWindow
*) 0 ;
22059 int arg6
= (int) wxSIZE_AUTO
;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 PyObject
* obj2
= 0 ;
22063 PyObject
* obj3
= 0 ;
22064 PyObject
* obj4
= 0 ;
22065 PyObject
* obj5
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 arg2
= (int) SWIG_AsInt(obj1
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22075 arg3
= (int) SWIG_AsInt(obj2
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22077 arg4
= (int) SWIG_AsInt(obj3
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22079 arg5
= (int) SWIG_AsInt(obj4
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 arg6
= (int) SWIG_AsInt(obj5
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 Py_INCREF(Py_None
); resultobj
= Py_None
;
22099 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxWindow
*arg1
= (wxWindow
*) 0 ;
22103 int arg3
= (int) wxSIZE_AUTO
;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22120 arg3
= (int) SWIG_AsInt(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxWindow
*arg1
= (wxWindow
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "width",(char *) "height", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 arg2
= (int) SWIG_AsInt(obj1
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22154 arg3
= (int) SWIG_AsInt(obj2
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->SetSize(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxWindow
*arg1
= (wxWindow
*) 0 ;
22173 wxPoint
*arg2
= 0 ;
22174 int arg3
= (int) wxSIZE_USE_EXISTING
;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "pt",(char *) "flags", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22191 arg3
= (int) SWIG_AsInt(obj2
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxWindow
*arg1
= (wxWindow
*) 0 ;
22213 int arg4
= (int) wxSIZE_USE_EXISTING
;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 PyObject
* obj3
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 arg2
= (int) SWIG_AsInt(obj1
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22227 arg3
= (int) SWIG_AsInt(obj2
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 arg4
= (int) SWIG_AsInt(obj3
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 (arg1
)->Move(arg2
,arg3
,arg4
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 Py_INCREF(Py_None
); resultobj
= Py_None
;
22247 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 Py_INCREF(Py_None
); resultobj
= Py_None
;
22272 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxWindow
*arg1
= (wxWindow
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxWindow
*arg1
= (wxWindow
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "size", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxWindow
*arg1
= (wxWindow
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 PyObject
* obj2
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "width",(char *) "height", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 arg2
= (int) SWIG_AsInt(obj1
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22346 arg3
= (int) SWIG_AsInt(obj2
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 (arg1
)->SetClientSize(arg2
,arg3
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 Py_INCREF(Py_None
); resultobj
= Py_None
;
22362 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxWindow
*arg1
= (wxWindow
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 char *kwnames
[] = {
22370 (char *) "self",(char *) "rect", NULL
22373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxWindow
*arg1
= (wxWindow
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (arg1
)->GetPosition();
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 wxPoint
* resultptr
;
22415 resultptr
= new wxPoint((wxPoint
&) result
);
22416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22424 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxWindow
*arg1
= (wxWindow
*) 0 ;
22427 int *arg2
= (int *) 0 ;
22428 int *arg3
= (int *) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->GetPosition(arg2
,arg3
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22450 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22451 resultobj
= t_output_helper(resultobj
,o
);
22454 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22455 resultobj
= t_output_helper(resultobj
,o
);
22463 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxWindow
*arg1
= (wxWindow
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= ((wxWindow
const *)arg1
)->GetSize();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 wxSize
* resultptr
;
22484 resultptr
= new wxSize((wxSize
&) result
);
22485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22493 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 int *arg2
= (int *) 0 ;
22497 int *arg3
= (int *) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22520 resultobj
= t_output_helper(resultobj
,o
);
22523 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22524 resultobj
= t_output_helper(resultobj
,o
);
22532 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxWindow
*arg1
= (wxWindow
*) 0 ;
22536 PyObject
* obj0
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= ((wxWindow
const *)arg1
)->GetRect();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 wxRect
* resultptr
;
22553 resultptr
= new wxRect((wxRect
&) result
);
22554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22562 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxWindow
*arg1
= (wxWindow
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22582 wxSize
* resultptr
;
22583 resultptr
= new wxSize((wxSize
&) result
);
22584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22592 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22594 wxWindow
*arg1
= (wxWindow
*) 0 ;
22595 int *arg2
= (int *) 0 ;
22596 int *arg3
= (int *) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22619 resultobj
= t_output_helper(resultobj
,o
);
22622 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22623 resultobj
= t_output_helper(resultobj
,o
);
22631 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 wxPoint
* resultptr
;
22652 resultptr
= new wxPoint((wxPoint
&) result
);
22653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22661 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxWindow
*arg1
= (wxWindow
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 wxRect
* resultptr
;
22682 resultptr
= new wxRect((wxRect
&) result
);
22683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22691 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxWindow
*arg1
= (wxWindow
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 wxSize
* resultptr
;
22712 resultptr
= new wxSize((wxSize
&) result
);
22713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22721 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 int *arg2
= (int *) 0 ;
22725 int *arg3
= (int *) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22747 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22748 resultobj
= t_output_helper(resultobj
,o
);
22751 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22752 resultobj
= t_output_helper(resultobj
,o
);
22760 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxWindow
*arg1
= (wxWindow
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 wxSize
* resultptr
;
22781 resultptr
= new wxSize((wxSize
&) result
);
22782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22790 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxWindow
*arg1
= (wxWindow
*) 0 ;
22793 int arg2
= (int) wxBOTH
;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "direction", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 arg2
= (int) SWIG_AsInt(obj1
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->Center(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 Py_INCREF(Py_None
); resultobj
= Py_None
;
22821 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxWindow
*arg1
= (wxWindow
*) 0 ;
22824 int arg2
= (int) wxBOTH
;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "dir", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 arg2
= (int) SWIG_AsInt(obj1
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->CenterOnScreen(arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 Py_INCREF(Py_None
); resultobj
= Py_None
;
22852 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxWindow
*arg1
= (wxWindow
*) 0 ;
22855 int arg2
= (int) wxBOTH
;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "dir", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (int) SWIG_AsInt(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->CenterOnParent(arg2
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxWindow
*arg1
= (wxWindow
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxWindow
*arg1
= (wxWindow
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 (arg1
)->FitInside();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22934 PyObject
*resultobj
;
22935 wxWindow
*arg1
= (wxWindow
*) 0 ;
22938 int arg4
= (int) -1 ;
22939 int arg5
= (int) -1 ;
22940 int arg6
= (int) -1 ;
22941 int arg7
= (int) -1 ;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 PyObject
* obj2
= 0 ;
22945 PyObject
* obj3
= 0 ;
22946 PyObject
* obj4
= 0 ;
22947 PyObject
* obj5
= 0 ;
22948 PyObject
* obj6
= 0 ;
22950 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 arg2
= (int) SWIG_AsInt(obj1
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22955 arg3
= (int) SWIG_AsInt(obj2
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 arg4
= (int) SWIG_AsInt(obj3
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 arg5
= (int) SWIG_AsInt(obj4
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 arg6
= (int) SWIG_AsInt(obj5
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22970 arg7
= (int) SWIG_AsInt(obj6
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22987 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22988 PyObject
*resultobj
;
22989 wxWindow
*arg1
= (wxWindow
*) 0 ;
22991 wxSize
const &arg3_defvalue
= wxDefaultSize
;
22992 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
22993 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22994 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 PyObject
* obj2
= 0 ;
23001 PyObject
* obj3
= 0 ;
23003 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23013 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23019 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 Py_INCREF(Py_None
); resultobj
= Py_None
;
23036 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23041 argc
= PyObject_Length(args
);
23042 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23043 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23045 if ((argc
>= 2) && (argc
<= 4)) {
23049 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23058 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23062 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23065 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23069 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23072 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23075 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23081 if ((argc
>= 3) && (argc
<= 7)) {
23085 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23093 _v
= SWIG_CheckInt(argv
[1]);
23095 _v
= SWIG_CheckInt(argv
[2]);
23098 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23100 _v
= SWIG_CheckInt(argv
[3]);
23103 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23105 _v
= SWIG_CheckInt(argv
[4]);
23108 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23110 _v
= SWIG_CheckInt(argv
[5]);
23113 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23115 _v
= SWIG_CheckInt(argv
[6]);
23117 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23127 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23132 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23133 PyObject
*resultobj
;
23134 wxWindow
*arg1
= (wxWindow
*) 0 ;
23137 int arg4
= (int) -1 ;
23138 int arg5
= (int) -1 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 PyObject
* obj2
= 0 ;
23142 PyObject
* obj3
= 0 ;
23143 PyObject
* obj4
= 0 ;
23145 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 arg2
= (int) SWIG_AsInt(obj1
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23150 arg3
= (int) SWIG_AsInt(obj2
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 arg4
= (int) SWIG_AsInt(obj3
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 arg5
= (int) SWIG_AsInt(obj4
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 Py_INCREF(Py_None
); resultobj
= Py_None
;
23174 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23175 PyObject
*resultobj
;
23176 wxWindow
*arg1
= (wxWindow
*) 0 ;
23178 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23179 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 PyObject
* obj2
= 0 ;
23186 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 Py_INCREF(Py_None
); resultobj
= Py_None
;
23213 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23218 argc
= PyObject_Length(args
);
23219 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23220 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23222 if ((argc
>= 2) && (argc
<= 3)) {
23226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23235 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23239 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23242 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23245 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23250 if ((argc
>= 3) && (argc
<= 5)) {
23254 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23262 _v
= SWIG_CheckInt(argv
[1]);
23264 _v
= SWIG_CheckInt(argv
[2]);
23267 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23269 _v
= SWIG_CheckInt(argv
[3]);
23272 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23274 _v
= SWIG_CheckInt(argv
[4]);
23276 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23284 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23289 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxWindow
*arg1
= (wxWindow
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= SWIG_FromInt((int)result
);
23315 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxWindow
*arg1
= (wxWindow
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_FromInt((int)result
);
23341 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxWindow
*arg1
= (wxWindow
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_FromInt((int)result
);
23367 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxWindow
*arg1
= (wxWindow
*) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_FromInt((int)result
);
23393 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxWindow
*arg1
= (wxWindow
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 wxSize
* resultptr
;
23414 resultptr
= new wxSize((wxSize
&) result
);
23415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23423 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxWindow
*arg1
= (wxWindow
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 wxSize
* resultptr
;
23444 resultptr
= new wxSize((wxSize
&) result
);
23445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23453 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "size", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 Py_INCREF(Py_None
); resultobj
= Py_None
;
23485 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxWindow
*arg1
= (wxWindow
*) 0 ;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 PyObject
* obj2
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self",(char *) "w",(char *) "h", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23500 arg2
= (int) SWIG_AsInt(obj1
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23502 arg3
= (int) SWIG_AsInt(obj2
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 (arg1
)->SetVirtualSize(arg2
,arg3
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 Py_INCREF(Py_None
); resultobj
= Py_None
;
23518 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxWindow
*arg1
= (wxWindow
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 wxSize
* resultptr
;
23539 resultptr
= new wxSize((wxSize
&) result
);
23540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23548 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxWindow
*arg1
= (wxWindow
*) 0 ;
23551 int *arg2
= (int *) 0 ;
23552 int *arg3
= (int *) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23575 resultobj
= t_output_helper(resultobj
,o
);
23578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23579 resultobj
= t_output_helper(resultobj
,o
);
23587 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxWindow
*arg1
= (wxWindow
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 wxSize
* resultptr
;
23608 resultptr
= new wxSize((wxSize
&) result
);
23609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23617 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxWindow
*arg1
= (wxWindow
*) 0 ;
23620 bool arg2
= (bool) True
;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "show", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 arg2
= (bool) SWIG_AsBool(obj1
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (bool)(arg1
)->Show(arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23651 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxWindow
*arg1
= (wxWindow
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (bool)(arg1
)->Hide();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23679 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxWindow
*arg1
= (wxWindow
*) 0 ;
23682 bool arg2
= (bool) True
;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "enable", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (bool) SWIG_AsBool(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (bool)(arg1
)->Enable(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23713 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->Disable();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23741 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxWindow
*arg1
= (wxWindow
*) 0 ;
23745 PyObject
* obj0
= 0 ;
23746 char *kwnames
[] = {
23747 (char *) "self", NULL
23750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23769 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxWindow
*arg1
= (wxWindow
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "self", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23797 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxWindow
*arg1
= (wxWindow
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "style", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 arg2
= (long) SWIG_AsLong(obj1
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 (arg1
)->SetWindowStyleFlag(arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 Py_INCREF(Py_None
); resultobj
= Py_None
;
23826 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxWindow
*arg1
= (wxWindow
*) 0 ;
23830 PyObject
* obj0
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_FromLong((long)result
);
23852 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxWindow
*arg1
= (wxWindow
*) 0 ;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self",(char *) "flag", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23866 arg2
= (int) SWIG_AsInt(obj1
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23884 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxWindow
*arg1
= (wxWindow
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23912 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxWindow
*arg1
= (wxWindow
*) 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self",(char *) "exStyle", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23925 arg2
= (long) SWIG_AsLong(obj1
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 (arg1
)->SetExtraStyle(arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23941 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxWindow
*arg1
= (wxWindow
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "self", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= SWIG_FromLong((long)result
);
23967 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxWindow
*arg1
= (wxWindow
*) 0 ;
23970 bool arg2
= (bool) True
;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self",(char *) "modal", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 arg2
= (bool) SWIG_AsBool(obj1
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->MakeModal(arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
23998 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxWindow
*arg1
= (wxWindow
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "enableTheme", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 arg2
= (bool) SWIG_AsBool(obj1
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 (arg1
)->SetThemeEnabled(arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 Py_INCREF(Py_None
); resultobj
= Py_None
;
24027 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxWindow
*arg1
= (wxWindow
*) 0 ;
24031 PyObject
* obj0
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24055 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxWindow
*arg1
= (wxWindow
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 (arg1
)->SetFocus();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 Py_INCREF(Py_None
); resultobj
= Py_None
;
24080 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxWindow
*arg1
= (wxWindow
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->SetFocusFromKbd();
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 Py_INCREF(Py_None
); resultobj
= Py_None
;
24105 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24108 char *kwnames
[] = {
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (wxWindow
*)wxWindow::FindFocus();
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
);
24129 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24157 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxWindow
*arg1
= (wxWindow
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24185 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= wxPyMake_wxObject(result
);
24213 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24216 wxWindow
*arg2
= (wxWindow
*) 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self",(char *) "child", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= wxPyMake_wxObject(result
);
24245 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxWindow
*arg1
= (wxWindow
*) 0 ;
24248 wxWindow
*arg2
= (wxWindow
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "win", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 (arg1
)->SetTmpDefaultItem(arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 Py_INCREF(Py_None
); resultobj
= Py_None
;
24274 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxWindow
*arg1
= (wxWindow
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= result
;
24300 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxWindow
*arg1
= (wxWindow
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= wxPyMake_wxObject(result
);
24328 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= wxPyMake_wxObject(result
);
24356 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxWindow
*arg1
= (wxWindow
*) 0 ;
24360 PyObject
* obj0
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24384 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxWindow
*arg1
= (wxWindow
*) 0 ;
24387 wxWindow
*arg2
= (wxWindow
*) 0 ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "newParent", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (bool)(arg1
)->Reparent(arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24416 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxWindow
*arg1
= (wxWindow
*) 0 ;
24419 wxWindow
*arg2
= (wxWindow
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "child", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->AddChild(arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxWindow
*arg1
= (wxWindow
*) 0 ;
24448 wxWindow
*arg2
= (wxWindow
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "child", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->RemoveChild(arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxWindow
*arg1
= (wxWindow
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "winid", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 arg2
= (long) SWIG_AsLong(obj1
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= wxPyMake_wxObject(result
);
24506 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxWindow
*arg1
= (wxWindow
*) 0 ;
24509 wxString
*arg2
= 0 ;
24511 bool temp2
= False
;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "name", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 arg2
= wxString_in_helper(obj1
);
24523 if (arg2
== NULL
) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
);
24550 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxWindow
*arg1
= (wxWindow
*) 0 ;
24553 wxEvtHandler
*result
;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= wxPyMake_wxObject(result
);
24578 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxWindow
*arg1
= (wxWindow
*) 0 ;
24581 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "handler", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetEventHandler(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24607 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxWindow
*arg1
= (wxWindow
*) 0 ;
24610 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "handler", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->PushEventHandler(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxWindow
*arg1
= (wxWindow
*) 0 ;
24639 bool arg2
= (bool) False
;
24640 wxEvtHandler
*result
;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "deleteHandler", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 arg2
= (bool) SWIG_AsBool(obj1
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= wxPyMake_wxObject(result
);
24670 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxWindow
*arg1
= (wxWindow
*) 0 ;
24673 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "handler", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24702 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxWindow
*arg1
= (wxWindow
*) 0 ;
24705 wxValidator
*arg2
= 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "validator", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24718 if (arg2
== NULL
) {
24719 PyErr_SetString(PyExc_TypeError
,"null reference");
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxWindow
*arg1
= (wxWindow
*) 0 ;
24739 wxValidator
*result
;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxValidator
*)(arg1
)->GetValidator();
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= wxPyMake_wxObject(result
);
24764 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (bool)(arg1
)->Validate();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24792 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxWindow
*arg1
= (wxWindow
*) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (bool)(arg1
)->TransferDataToWindow();
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24820 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxWindow
*arg1
= (wxWindow
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (bool)(arg1
)->TransferDataFromWindow();
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24848 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxWindow
*arg1
= (wxWindow
*) 0 ;
24851 PyObject
* obj0
= 0 ;
24852 char *kwnames
[] = {
24853 (char *) "self", NULL
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->InitDialog();
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 Py_INCREF(Py_None
); resultobj
= Py_None
;
24873 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxWindow
*arg1
= (wxWindow
*) 0 ;
24876 wxAcceleratorTable
*arg2
= 0 ;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self",(char *) "accel", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24889 if (arg2
== NULL
) {
24890 PyErr_SetString(PyExc_TypeError
,"null reference");
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 Py_INCREF(Py_None
); resultobj
= Py_None
;
24907 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxWindow
*arg1
= (wxWindow
*) 0 ;
24910 wxAcceleratorTable
*result
;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24933 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxWindow
*arg1
= (wxWindow
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 PyObject
* obj2
= 0 ;
24943 PyObject
* obj3
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24951 arg2
= (int) SWIG_AsInt(obj1
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24953 arg3
= (int) SWIG_AsInt(obj2
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24955 arg4
= (int) SWIG_AsInt(obj3
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24973 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxWindow
*arg1
= (wxWindow
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self",(char *) "hotkeyId", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24987 arg2
= (int) SWIG_AsInt(obj1
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25005 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxWindow
*arg1
= (wxWindow
*) 0 ;
25008 wxPoint
*arg2
= 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "pt", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25032 wxPoint
* resultptr
;
25033 resultptr
= new wxPoint((wxPoint
&) result
);
25034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25042 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxWindow
*arg1
= (wxWindow
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self",(char *) "sz", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25069 wxSize
* resultptr
;
25070 resultptr
= new wxSize((wxSize
&) result
);
25071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25079 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxWindow
*arg1
= (wxWindow
*) 0 ;
25082 wxPoint
*arg2
= 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "pt", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25106 wxPoint
* resultptr
;
25107 resultptr
= new wxPoint((wxPoint
&) result
);
25108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25116 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "sz", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 wxSize
* resultptr
;
25144 resultptr
= new wxSize((wxSize
&) result
);
25145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25153 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxWindow
*arg1
= (wxWindow
*) 0 ;
25156 wxPoint
*arg2
= 0 ;
25159 PyObject
* obj0
= 0 ;
25160 PyObject
* obj1
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self",(char *) "pt", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 wxPoint
* resultptr
;
25181 resultptr
= new wxPoint((wxPoint
&) result
);
25182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25190 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxWindow
*arg1
= (wxWindow
*) 0 ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self",(char *) "sz", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25217 wxSize
* resultptr
;
25218 resultptr
= new wxSize((wxSize
&) result
);
25219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25227 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxWindow
*arg1
= (wxWindow
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 PyObject
* obj2
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "x",(char *) "y", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25242 arg2
= (int) SWIG_AsInt(obj1
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25244 arg3
= (int) SWIG_AsInt(obj2
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 (arg1
)->WarpPointer(arg2
,arg3
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 Py_INCREF(Py_None
); resultobj
= Py_None
;
25260 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxWindow
*arg1
= (wxWindow
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->CaptureMouse();
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxWindow
*arg1
= (wxWindow
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->ReleaseMouse();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25313 char *kwnames
[] = {
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (wxWindow
*)wxWindow::GetCapture();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= wxPyMake_wxObject(result
);
25334 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25362 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 bool arg2
= (bool) True
;
25366 wxRect
*arg3
= (wxRect
*) NULL
;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 PyObject
* obj2
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25378 arg2
= (bool) SWIG_AsBool(obj1
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25382 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "rect", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 Py_INCREF(Py_None
); resultobj
= Py_None
;
25431 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxWindow
*arg1
= (wxWindow
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->ClearBackground();
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 Py_INCREF(Py_None
); resultobj
= Py_None
;
25481 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxWindow
*arg1
= (wxWindow
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 Py_INCREF(Py_None
); resultobj
= Py_None
;
25506 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxWindow
*arg1
= (wxWindow
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 Py_INCREF(Py_None
); resultobj
= Py_None
;
25531 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxWindow
*arg1
= (wxWindow
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self",(char *) "dc", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25547 if (arg2
== NULL
) {
25548 PyErr_SetString(PyExc_TypeError
,"null reference");
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->PrepareDC(*arg2
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxWindow
*arg1
= (wxWindow
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25581 result
= (wxRegion
*) &_result_ref
;
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25594 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxWindow
*arg1
= (wxWindow
*) 0 ;
25598 PyObject
* obj0
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 wxRect
* resultptr
;
25615 resultptr
= new wxRect((wxRect
&) result
);
25616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25624 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxWindow
*arg1
= (wxWindow
*) 0 ;
25629 int arg4
= (int) 1 ;
25630 int arg5
= (int) 1 ;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 PyObject
* obj2
= 0 ;
25635 PyObject
* obj3
= 0 ;
25636 PyObject
* obj4
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25644 arg2
= (int) SWIG_AsInt(obj1
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25646 arg3
= (int) SWIG_AsInt(obj2
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 arg4
= (int) SWIG_AsInt(obj3
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25653 arg5
= (int) SWIG_AsInt(obj4
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25672 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxWindow
*arg1
= (wxWindow
*) 0 ;
25675 wxPoint
*arg2
= 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self",(char *) "pt", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25707 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxWindow
*arg1
= (wxWindow
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "rect", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25742 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxWindow
*arg1
= (wxWindow
*) 0 ;
25745 wxVisualAttributes result
;
25746 PyObject
* obj0
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25762 wxVisualAttributes
* resultptr
;
25763 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25772 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25775 wxVisualAttributes result
;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "variant", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25783 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxVisualAttributes
* resultptr
;
25795 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25804 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25807 wxColour
*arg2
= 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "colour", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25839 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxWindow
*arg1
= (wxWindow
*) 0 ;
25842 wxColour
*arg2
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "colour", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25874 wxColour
*arg2
= 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "colour", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25906 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxWindow
*arg1
= (wxWindow
*) 0 ;
25909 wxColour
*arg2
= 0 ;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "colour", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 Py_INCREF(Py_None
); resultobj
= Py_None
;
25938 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 wxColour
* resultptr
;
25959 resultptr
= new wxColour((wxColour
&) result
);
25960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25968 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxWindow
*arg1
= (wxWindow
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 wxColour
* resultptr
;
25989 resultptr
= new wxColour((wxColour
&) result
);
25990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25998 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 wxCursor
*arg2
= 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "cursor", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26015 if (arg2
== NULL
) {
26016 PyErr_SetString(PyExc_TypeError
,"null reference");
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26035 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxWindow
*arg1
= (wxWindow
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26051 result
= (wxCursor
*) &_result_ref
;
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26058 wxCursor
* resultptr
= new wxCursor(*result
);
26059 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26067 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxWindow
*arg1
= (wxWindow
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "font", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26084 if (arg2
== NULL
) {
26085 PyErr_SetString(PyExc_TypeError
,"null reference");
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26104 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "font", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26120 if (arg2
== NULL
) {
26121 PyErr_SetString(PyExc_TypeError
,"null reference");
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 Py_INCREF(Py_None
); resultobj
= Py_None
;
26138 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxWindow
*arg1
= (wxWindow
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 wxFont
&_result_ref
= (arg1
)->GetFont();
26154 result
= (wxFont
*) &_result_ref
;
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 wxFont
* resultptr
= new wxFont(*result
);
26162 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26170 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26172 wxWindow
*arg1
= (wxWindow
*) 0 ;
26173 wxCaret
*arg2
= (wxCaret
*) 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self",(char *) "caret", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->SetCaret(arg2
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 Py_INCREF(Py_None
); resultobj
= Py_None
;
26199 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 PyObject
* obj0
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26225 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_FromInt((int)result
);
26251 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxWindow
*arg1
= (wxWindow
*) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_FromInt((int)result
);
26277 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxWindow
*arg1
= (wxWindow
*) 0 ;
26280 wxString
*arg2
= 0 ;
26281 int *arg3
= (int *) 0 ;
26282 int *arg4
= (int *) 0 ;
26283 bool temp2
= False
;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self",(char *) "string", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26298 arg2
= wxString_in_helper(obj1
);
26299 if (arg2
== NULL
) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 Py_INCREF(Py_None
); resultobj
= Py_None
;
26311 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26312 resultobj
= t_output_helper(resultobj
,o
);
26315 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26316 resultobj
= t_output_helper(resultobj
,o
);
26332 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxWindow
*arg1
= (wxWindow
*) 0 ;
26335 wxString
*arg2
= 0 ;
26336 int *arg3
= (int *) 0 ;
26337 int *arg4
= (int *) 0 ;
26338 int *arg5
= (int *) 0 ;
26339 int *arg6
= (int *) 0 ;
26340 wxFont
*arg7
= (wxFont
*) NULL
;
26341 bool temp2
= False
;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 PyObject
* obj2
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "string",(char *) "font", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26361 arg2
= wxString_in_helper(obj1
);
26362 if (arg2
== NULL
) SWIG_fail
;
26366 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 Py_INCREF(Py_None
); resultobj
= Py_None
;
26378 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26379 resultobj
= t_output_helper(resultobj
,o
);
26382 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26383 resultobj
= t_output_helper(resultobj
,o
);
26386 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26387 resultobj
= t_output_helper(resultobj
,o
);
26390 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26391 resultobj
= t_output_helper(resultobj
,o
);
26407 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxWindow
*arg1
= (wxWindow
*) 0 ;
26410 int *arg2
= (int *) 0 ;
26411 int *arg3
= (int *) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 PyObject
* obj1
= 0 ;
26416 PyObject
* obj2
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "x",(char *) "y", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26425 temp2
= PyInt_AsLong(obj1
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26430 temp3
= PyInt_AsLong(obj2
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26444 resultobj
= t_output_helper(resultobj
,o
);
26447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26448 resultobj
= t_output_helper(resultobj
,o
);
26456 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 int *arg2
= (int *) 0 ;
26460 int *arg3
= (int *) 0 ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 PyObject
* obj2
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "x",(char *) "y", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26474 temp2
= PyInt_AsLong(obj1
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26479 temp3
= PyInt_AsLong(obj2
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26493 resultobj
= t_output_helper(resultobj
,o
);
26496 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26497 resultobj
= t_output_helper(resultobj
,o
);
26505 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 wxPoint
*arg2
= 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "pt", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26532 wxPoint
* resultptr
;
26533 resultptr
= new wxPoint((wxPoint
&) result
);
26534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26542 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
;
26544 wxWindow
*arg1
= (wxWindow
*) 0 ;
26545 wxPoint
*arg2
= 0 ;
26548 PyObject
* obj0
= 0 ;
26549 PyObject
* obj1
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self",(char *) "pt", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxPoint
* resultptr
;
26570 resultptr
= new wxPoint((wxPoint
&) result
);
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26579 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxWindow
*arg1
= (wxWindow
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 PyObject
* obj2
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self",(char *) "x",(char *) "y", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 arg2
= (int) SWIG_AsInt(obj1
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26597 arg3
= (int) SWIG_AsInt(obj2
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_FromInt((int)result
);
26613 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxWindow
*arg1
= (wxWindow
*) 0 ;
26616 wxPoint
*arg2
= 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "pt", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_FromInt((int)result
);
26646 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26647 PyObject
*resultobj
;
26648 wxWindow
*arg1
= (wxWindow
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26654 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 arg2
= (long) SWIG_AsLong(obj1
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_FromInt((int)result
);
26673 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26674 PyObject
*resultobj
;
26675 wxWindow
*arg1
= (wxWindow
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26679 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_FromInt((int)result
);
26696 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26701 argc
= PyObject_Length(args
);
26702 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26703 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26709 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26717 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26732 _v
= SWIG_CheckLong(argv
[1]);
26734 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26739 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26744 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxWindow
*arg1
= (wxWindow
*) 0 ;
26747 long arg2
= (long) wxUPDATE_UI_NONE
;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self",(char *) "flags", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 arg2
= (long) SWIG_AsLong(obj1
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->UpdateWindowUI(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxWindow
*arg1
= (wxWindow
*) 0 ;
26778 wxMenu
*arg2
= (wxMenu
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 PyObject
* obj2
= 0 ;
26785 PyObject
* obj3
= 0 ;
26786 char *kwnames
[] = {
26787 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 arg3
= (int) SWIG_AsInt(obj2
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26797 arg4
= (int) SWIG_AsInt(obj3
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26815 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
;
26817 wxWindow
*arg1
= (wxWindow
*) 0 ;
26818 wxMenu
*arg2
= (wxMenu
*) 0 ;
26819 wxPoint
*arg3
= 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 PyObject
* obj2
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self",(char *) "menu",(char *) "pos", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26836 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26854 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxWindow
*arg1
= (wxWindow
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (long)wxWindow_GetHandle(arg1
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= SWIG_FromLong((long)result
);
26880 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxWindow
*arg1
= (wxWindow
*) 0 ;
26883 wxPaintEvent
*arg2
= 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "event", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26896 if (arg2
== NULL
) {
26897 PyErr_SetString(PyExc_TypeError
,"null reference");
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 (arg1
)->OnPaint(*arg2
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 Py_INCREF(Py_None
); resultobj
= Py_None
;
26914 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxWindow
*arg1
= (wxWindow
*) 0 ;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "orient", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 arg2
= (int) SWIG_AsInt(obj1
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26946 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxWindow
*arg1
= (wxWindow
*) 0 ;
26953 bool arg6
= (bool) True
;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 PyObject
* obj2
= 0 ;
26957 PyObject
* obj3
= 0 ;
26958 PyObject
* obj4
= 0 ;
26959 PyObject
* obj5
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26967 arg2
= (int) SWIG_AsInt(obj1
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26969 arg3
= (int) SWIG_AsInt(obj2
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26971 arg4
= (int) SWIG_AsInt(obj3
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26973 arg5
= (int) SWIG_AsInt(obj4
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 arg6
= (bool) SWIG_AsBool(obj5
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 Py_INCREF(Py_None
); resultobj
= Py_None
;
26993 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
;
26995 wxWindow
*arg1
= (wxWindow
*) 0 ;
26998 bool arg4
= (bool) True
;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 PyObject
* obj2
= 0 ;
27002 PyObject
* obj3
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 arg2
= (int) SWIG_AsInt(obj1
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27012 arg3
= (int) SWIG_AsInt(obj2
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 arg4
= (bool) SWIG_AsBool(obj3
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 Py_INCREF(Py_None
); resultobj
= Py_None
;
27032 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxWindow
*arg1
= (wxWindow
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "orientation", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27046 arg2
= (int) SWIG_AsInt(obj1
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= SWIG_FromInt((int)result
);
27062 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxWindow
*arg1
= (wxWindow
*) 0 ;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 char *kwnames
[] = {
27070 (char *) "self",(char *) "orientation", NULL
27073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27076 arg2
= (int) SWIG_AsInt(obj1
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_FromInt((int)result
);
27092 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxWindow
*arg1
= (wxWindow
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "orientation", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27106 arg2
= (int) SWIG_AsInt(obj1
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_FromInt((int)result
);
27122 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxWindow
*arg1
= (wxWindow
*) 0 ;
27127 wxRect
*arg4
= (wxRect
*) NULL
;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 PyObject
* obj2
= 0 ;
27131 PyObject
* obj3
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 arg2
= (int) SWIG_AsInt(obj1
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27141 arg3
= (int) SWIG_AsInt(obj2
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 Py_INCREF(Py_None
); resultobj
= Py_None
;
27161 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxWindow
*arg1
= (wxWindow
*) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "self",(char *) "lines", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27175 arg2
= (int) SWIG_AsInt(obj1
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (bool)(arg1
)->ScrollLines(arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self",(char *) "pages", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27207 arg2
= (int) SWIG_AsInt(obj1
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (bool)(arg1
)->ScrollPages(arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27225 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxWindow
*arg1
= (wxWindow
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->LineUp();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (bool)(arg1
)->LineDown();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27281 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxWindow
*arg1
= (wxWindow
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 result
= (bool)(arg1
)->PageUp();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27309 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (bool)(arg1
)->PageDown();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxWindow
*arg1
= (wxWindow
*) 0 ;
27340 wxString
*arg2
= 0 ;
27341 bool temp2
= False
;
27342 PyObject
* obj0
= 0 ;
27343 PyObject
* obj1
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self",(char *) "text", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 arg2
= wxString_in_helper(obj1
);
27353 if (arg2
== NULL
) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27378 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxWindow
*arg1
= (wxWindow
*) 0 ;
27381 wxString
*arg2
= 0 ;
27382 bool temp2
= False
;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "text", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27393 arg2
= wxString_in_helper(obj1
);
27394 if (arg2
== NULL
) SWIG_fail
;
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 Py_INCREF(Py_None
); resultobj
= Py_None
;
27419 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxWindow
*arg1
= (wxWindow
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "self", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27451 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxWindow
*arg1
= (wxWindow
*) 0 ;
27454 wxString
*arg2
= 0 ;
27455 bool temp2
= False
;
27456 PyObject
* obj0
= 0 ;
27457 PyObject
* obj1
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "tip", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 arg2
= wxString_in_helper(obj1
);
27467 if (arg2
== NULL
) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "tip", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 (arg1
)->SetToolTip(arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 Py_INCREF(Py_None
); resultobj
= Py_None
;
27521 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxWindow
*arg1
= (wxWindow
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 resultobj
= wxPyMake_wxObject(result
);
27549 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxWindow
*arg1
= (wxWindow
*) 0 ;
27552 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self",(char *) "dropTarget", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27563 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->SetDropTarget(arg2
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 Py_INCREF(Py_None
); resultobj
= Py_None
;
27578 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxWindow
*arg1
= (wxWindow
*) 0 ;
27581 wxPyDropTarget
*result
;
27582 PyObject
* obj0
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "self", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27604 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxWindow
*arg1
= (wxWindow
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self",(char *) "accept", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27617 arg2
= (bool) SWIG_AsBool(obj1
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 (arg1
)->DragAcceptFiles(arg2
);
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 Py_INCREF(Py_None
); resultobj
= Py_None
;
27633 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
;
27635 wxWindow
*arg1
= (wxWindow
*) 0 ;
27636 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self",(char *) "constraints", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 (arg1
)->SetConstraints(arg2
);
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 Py_INCREF(Py_None
); resultobj
= Py_None
;
27662 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxWindow
*arg1
= (wxWindow
*) 0 ;
27665 wxLayoutConstraints
*result
;
27666 PyObject
* obj0
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27688 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxWindow
*arg1
= (wxWindow
*) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 char *kwnames
[] = {
27695 (char *) "self",(char *) "autoLayout", NULL
27698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 arg2
= (bool) SWIG_AsBool(obj1
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 (arg1
)->SetAutoLayout(arg2
);
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27710 Py_INCREF(Py_None
); resultobj
= Py_None
;
27717 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27718 PyObject
*resultobj
;
27719 wxWindow
*arg1
= (wxWindow
*) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27745 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxWindow
*arg1
= (wxWindow
*) 0 ;
27749 PyObject
* obj0
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "self", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (bool)(arg1
)->Layout();
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27773 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxWindow
*arg1
= (wxWindow
*) 0 ;
27776 wxSizer
*arg2
= (wxSizer
*) 0 ;
27777 bool arg3
= (bool) True
;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 PyObject
* obj2
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 arg3
= (bool) SWIG_AsBool(obj2
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 (arg1
)->SetSizer(arg2
,arg3
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 Py_INCREF(Py_None
); resultobj
= Py_None
;
27808 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxWindow
*arg1
= (wxWindow
*) 0 ;
27811 wxSizer
*arg2
= (wxSizer
*) 0 ;
27812 bool arg3
= (bool) True
;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 PyObject
* obj2
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 arg3
= (bool) SWIG_AsBool(obj2
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 Py_INCREF(Py_None
); resultobj
= Py_None
;
27843 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxWindow
*arg1
= (wxWindow
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= wxPyMake_wxSizer(result
);
27871 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxWindow
*arg1
= (wxWindow
*) 0 ;
27874 wxSizer
*arg2
= (wxSizer
*) 0 ;
27875 PyObject
* obj0
= 0 ;
27876 PyObject
* obj1
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self",(char *) "sizer", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->SetContainingSizer(arg2
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxWindow
*arg1
= (wxWindow
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= wxPyMake_wxSizer(result
);
27928 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxWindow
*arg1
= (wxWindow
*) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 (arg1
)->InheritAttributes();
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 Py_INCREF(Py_None
); resultobj
= Py_None
;
27953 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxWindow
*arg1
= (wxWindow
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27981 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27984 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27986 return Py_BuildValue((char *)"");
27988 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27991 wxWindow
*arg2
= (wxWindow
*) NULL
;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "id",(char *) "parent", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28000 arg1
= (long) SWIG_AsLong(obj0
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= wxPyMake_wxObject(result
);
28022 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxString
*arg1
= 0 ;
28025 wxWindow
*arg2
= (wxWindow
*) NULL
;
28027 bool temp1
= False
;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "name",(char *) "parent", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28036 arg1
= wxString_in_helper(obj0
);
28037 if (arg1
== NULL
) SWIG_fail
;
28041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= wxPyMake_wxObject(result
);
28068 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxString
*arg1
= 0 ;
28071 wxWindow
*arg2
= (wxWindow
*) NULL
;
28073 bool temp1
= False
;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "label",(char *) "parent", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28082 arg1
= wxString_in_helper(obj0
);
28083 if (arg1
== NULL
) SWIG_fail
;
28087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= wxPyMake_wxObject(result
);
28114 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxWindow
*arg1
= (wxWindow
*) 0 ;
28117 unsigned long arg2
;
28119 PyObject
* obj0
= 0 ;
28120 PyObject
* obj1
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "parent",(char *) "_hWnd", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28128 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= wxPyMake_wxObject(result
);
28146 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxValidator
*result
;
28149 char *kwnames
[] = {
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxValidator
*)new wxValidator();
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= wxPyMake_wxObject(result
);
28170 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxValidator
*arg1
= (wxValidator
*) 0 ;
28173 wxValidator
*result
;
28174 PyObject
* obj0
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (wxValidator
*)(arg1
)->Clone();
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= wxPyMake_wxObject(result
);
28198 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxValidator
*arg1
= (wxValidator
*) 0 ;
28201 wxWindow
*arg2
= (wxWindow
*) 0 ;
28203 PyObject
* obj0
= 0 ;
28204 PyObject
* obj1
= 0 ;
28205 char *kwnames
[] = {
28206 (char *) "self",(char *) "parent", NULL
28209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (bool)(arg1
)->Validate(arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28230 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxValidator
*arg1
= (wxValidator
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (bool)(arg1
)->TransferToWindow();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28258 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxValidator
*arg1
= (wxValidator
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)(arg1
)->TransferFromWindow();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28286 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxValidator
*arg1
= (wxValidator
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (wxWindow
*)(arg1
)->GetWindow();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= wxPyMake_wxObject(result
);
28314 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
;
28316 wxValidator
*arg1
= (wxValidator
*) 0 ;
28317 wxWindow
*arg2
= (wxWindow
*) 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "window", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->SetWindow(arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28346 char *kwnames
[] = {
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (bool)wxValidator::IsSilent();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28367 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 int arg1
= (int) True
;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "doIt", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28377 arg1
= (int) SWIG_AsInt(obj0
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 wxValidator::SetBellOnError(arg1
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 Py_INCREF(Py_None
); resultobj
= Py_None
;
28394 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28397 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28399 return Py_BuildValue((char *)"");
28401 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxPyValidator
*result
;
28404 char *kwnames
[] = {
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= (wxPyValidator
*)new wxPyValidator();
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28423 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28426 PyObject
*arg2
= (PyObject
*) 0 ;
28427 PyObject
*arg3
= (PyObject
*) 0 ;
28428 int arg4
= (int) True
;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 PyObject
* obj2
= 0 ;
28432 PyObject
* obj3
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28443 arg4
= (int) SWIG_AsInt(obj3
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28463 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28465 return Py_BuildValue((char *)"");
28467 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28468 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28473 static PyObject
*_wrap_DefaultValidator_get() {
28476 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28481 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28484 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28485 long arg2
= (long) 0 ;
28487 bool temp1
= False
;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "title",(char *) "style", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28497 arg1
= wxString_in_helper(obj0
);
28498 if (arg1
== NULL
) SWIG_fail
;
28503 arg2
= (long) SWIG_AsLong(obj1
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= wxPyMake_wxObject(result
);
28530 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxMenu
*arg1
= (wxMenu
*) 0 ;
28534 wxString
*arg3
= 0 ;
28535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28537 int arg5
= (int) wxITEM_NORMAL
;
28538 wxMenuItem
*result
;
28539 bool temp3
= False
;
28540 bool temp4
= False
;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj1
= 0 ;
28543 PyObject
* obj2
= 0 ;
28544 PyObject
* obj3
= 0 ;
28545 PyObject
* obj4
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 arg2
= (int) SWIG_AsInt(obj1
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 arg3
= wxString_in_helper(obj2
);
28557 if (arg3
== NULL
) SWIG_fail
;
28562 arg4
= wxString_in_helper(obj3
);
28563 if (arg4
== NULL
) SWIG_fail
;
28568 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= wxPyMake_wxObject(result
);
28603 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxMenu
*arg1
= (wxMenu
*) 0 ;
28606 wxMenuItem
*result
;
28607 PyObject
* obj0
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= wxPyMake_wxObject(result
);
28631 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxMenu
*arg1
= (wxMenu
*) 0 ;
28635 wxString
*arg3
= 0 ;
28636 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28637 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28638 wxMenuItem
*result
;
28639 bool temp3
= False
;
28640 bool temp4
= False
;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 PyObject
* obj2
= 0 ;
28644 PyObject
* obj3
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28652 arg2
= (int) SWIG_AsInt(obj1
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 arg3
= wxString_in_helper(obj2
);
28656 if (arg3
== NULL
) SWIG_fail
;
28661 arg4
= wxString_in_helper(obj3
);
28662 if (arg4
== NULL
) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= wxPyMake_wxObject(result
);
28698 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxMenu
*arg1
= (wxMenu
*) 0 ;
28702 wxString
*arg3
= 0 ;
28703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28705 wxMenuItem
*result
;
28706 bool temp3
= False
;
28707 bool temp4
= False
;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 PyObject
* obj2
= 0 ;
28711 PyObject
* obj3
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 arg2
= (int) SWIG_AsInt(obj1
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 arg3
= wxString_in_helper(obj2
);
28723 if (arg3
== NULL
) SWIG_fail
;
28728 arg4
= wxString_in_helper(obj3
);
28729 if (arg4
== NULL
) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= wxPyMake_wxObject(result
);
28765 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxMenu
*arg1
= (wxMenu
*) 0 ;
28769 wxString
*arg3
= 0 ;
28770 wxMenu
*arg4
= (wxMenu
*) 0 ;
28771 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28772 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28773 wxMenuItem
*result
;
28774 bool temp3
= False
;
28775 bool temp5
= False
;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 PyObject
* obj2
= 0 ;
28779 PyObject
* obj3
= 0 ;
28780 PyObject
* obj4
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28788 arg2
= (int) SWIG_AsInt(obj1
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 arg3
= wxString_in_helper(obj2
);
28792 if (arg3
== NULL
) SWIG_fail
;
28795 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28799 arg5
= wxString_in_helper(obj4
);
28800 if (arg5
== NULL
) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= wxPyMake_wxObject(result
);
28836 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxMenu
*arg1
= (wxMenu
*) 0 ;
28839 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28840 wxMenuItem
*result
;
28841 PyObject
* obj0
= 0 ;
28842 PyObject
* obj1
= 0 ;
28843 char *kwnames
[] = {
28844 (char *) "self",(char *) "item", NULL
28847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= wxPyMake_wxObject(result
);
28868 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxMenu
*arg1
= (wxMenu
*) 0 ;
28871 PyObject
* obj0
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28893 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxMenu
*arg1
= (wxMenu
*) 0 ;
28897 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28898 wxMenuItem
*result
;
28899 PyObject
* obj0
= 0 ;
28900 PyObject
* obj1
= 0 ;
28901 PyObject
* obj2
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self",(char *) "pos",(char *) "item", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28909 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28911 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
);
28929 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
;
28931 wxMenu
*arg1
= (wxMenu
*) 0 ;
28934 wxString
*arg4
= 0 ;
28935 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28936 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28937 int arg6
= (int) wxITEM_NORMAL
;
28938 wxMenuItem
*result
;
28939 bool temp4
= False
;
28940 bool temp5
= False
;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 PyObject
* obj3
= 0 ;
28945 PyObject
* obj4
= 0 ;
28946 PyObject
* obj5
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28956 arg3
= (int) SWIG_AsInt(obj2
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 arg4
= wxString_in_helper(obj3
);
28960 if (arg4
== NULL
) SWIG_fail
;
28965 arg5
= wxString_in_helper(obj4
);
28966 if (arg5
== NULL
) SWIG_fail
;
28971 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= wxPyMake_wxObject(result
);
29006 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxMenu
*arg1
= (wxMenu
*) 0 ;
29010 wxMenuItem
*result
;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "pos", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29020 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= wxPyMake_wxObject(result
);
29038 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxMenu
*arg1
= (wxMenu
*) 0 ;
29043 wxString
*arg4
= 0 ;
29044 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29045 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29046 wxMenuItem
*result
;
29047 bool temp4
= False
;
29048 bool temp5
= False
;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 PyObject
* obj2
= 0 ;
29052 PyObject
* obj3
= 0 ;
29053 PyObject
* obj4
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29063 arg3
= (int) SWIG_AsInt(obj2
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 arg4
= wxString_in_helper(obj3
);
29067 if (arg4
== NULL
) SWIG_fail
;
29072 arg5
= wxString_in_helper(obj4
);
29073 if (arg5
== NULL
) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= wxPyMake_wxObject(result
);
29109 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
;
29111 wxMenu
*arg1
= (wxMenu
*) 0 ;
29114 wxString
*arg4
= 0 ;
29115 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29116 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29117 wxMenuItem
*result
;
29118 bool temp4
= False
;
29119 bool temp5
= False
;
29120 PyObject
* obj0
= 0 ;
29121 PyObject
* obj1
= 0 ;
29122 PyObject
* obj2
= 0 ;
29123 PyObject
* obj3
= 0 ;
29124 PyObject
* obj4
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29134 arg3
= (int) SWIG_AsInt(obj2
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 arg4
= wxString_in_helper(obj3
);
29138 if (arg4
== NULL
) SWIG_fail
;
29143 arg5
= wxString_in_helper(obj4
);
29144 if (arg5
== NULL
) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= wxPyMake_wxObject(result
);
29180 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxMenu
*arg1
= (wxMenu
*) 0 ;
29185 wxString
*arg4
= 0 ;
29186 wxMenu
*arg5
= (wxMenu
*) 0 ;
29187 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29188 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29189 wxMenuItem
*result
;
29190 bool temp4
= False
;
29191 bool temp6
= False
;
29192 PyObject
* obj0
= 0 ;
29193 PyObject
* obj1
= 0 ;
29194 PyObject
* obj2
= 0 ;
29195 PyObject
* obj3
= 0 ;
29196 PyObject
* obj4
= 0 ;
29197 PyObject
* obj5
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29205 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29207 arg3
= (int) SWIG_AsInt(obj2
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 arg4
= wxString_in_helper(obj3
);
29211 if (arg4
== NULL
) SWIG_fail
;
29214 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 arg6
= wxString_in_helper(obj5
);
29219 if (arg6
== NULL
) SWIG_fail
;
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= wxPyMake_wxObject(result
);
29255 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
;
29257 wxMenu
*arg1
= (wxMenu
*) 0 ;
29258 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29259 wxMenuItem
*result
;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "item", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= wxPyMake_wxObject(result
);
29287 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxMenu
*arg1
= (wxMenu
*) 0 ;
29291 wxString
*arg3
= 0 ;
29292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29294 int arg5
= (int) wxITEM_NORMAL
;
29295 wxMenuItem
*result
;
29296 bool temp3
= False
;
29297 bool temp4
= False
;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 PyObject
* obj2
= 0 ;
29301 PyObject
* obj3
= 0 ;
29302 PyObject
* obj4
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29310 arg2
= (int) SWIG_AsInt(obj1
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 arg3
= wxString_in_helper(obj2
);
29314 if (arg3
== NULL
) SWIG_fail
;
29319 arg4
= wxString_in_helper(obj3
);
29320 if (arg4
== NULL
) SWIG_fail
;
29325 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= wxPyMake_wxObject(result
);
29360 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxMenu
*arg1
= (wxMenu
*) 0 ;
29363 wxMenuItem
*result
;
29364 PyObject
* obj0
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= wxPyMake_wxObject(result
);
29388 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxMenu
*arg1
= (wxMenu
*) 0 ;
29392 wxString
*arg3
= 0 ;
29393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29395 wxMenuItem
*result
;
29396 bool temp3
= False
;
29397 bool temp4
= False
;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 PyObject
* obj3
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29409 arg2
= (int) SWIG_AsInt(obj1
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 arg3
= wxString_in_helper(obj2
);
29413 if (arg3
== NULL
) SWIG_fail
;
29418 arg4
= wxString_in_helper(obj3
);
29419 if (arg4
== NULL
) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= wxPyMake_wxObject(result
);
29455 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxMenu
*arg1
= (wxMenu
*) 0 ;
29459 wxString
*arg3
= 0 ;
29460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29462 wxMenuItem
*result
;
29463 bool temp3
= False
;
29464 bool temp4
= False
;
29465 PyObject
* obj0
= 0 ;
29466 PyObject
* obj1
= 0 ;
29467 PyObject
* obj2
= 0 ;
29468 PyObject
* obj3
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 arg2
= (int) SWIG_AsInt(obj1
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 arg3
= wxString_in_helper(obj2
);
29480 if (arg3
== NULL
) SWIG_fail
;
29485 arg4
= wxString_in_helper(obj3
);
29486 if (arg4
== NULL
) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= wxPyMake_wxObject(result
);
29522 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxMenu
*arg1
= (wxMenu
*) 0 ;
29526 wxString
*arg3
= 0 ;
29527 wxMenu
*arg4
= (wxMenu
*) 0 ;
29528 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29529 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29530 wxMenuItem
*result
;
29531 bool temp3
= False
;
29532 bool temp5
= False
;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 PyObject
* obj3
= 0 ;
29537 PyObject
* obj4
= 0 ;
29538 char *kwnames
[] = {
29539 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29545 arg2
= (int) SWIG_AsInt(obj1
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 arg3
= wxString_in_helper(obj2
);
29549 if (arg3
== NULL
) SWIG_fail
;
29552 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29556 arg5
= wxString_in_helper(obj4
);
29557 if (arg5
== NULL
) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= wxPyMake_wxObject(result
);
29593 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
;
29595 wxMenu
*arg1
= (wxMenu
*) 0 ;
29597 wxMenuItem
*result
;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self",(char *) "id", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29607 arg2
= (int) SWIG_AsInt(obj1
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= wxPyMake_wxObject(result
);
29625 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
;
29627 wxMenu
*arg1
= (wxMenu
*) 0 ;
29628 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29629 wxMenuItem
*result
;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 char *kwnames
[] = {
29633 (char *) "self",(char *) "item", NULL
29636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29649 resultobj
= wxPyMake_wxObject(result
);
29657 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
;
29659 wxMenu
*arg1
= (wxMenu
*) 0 ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 char *kwnames
[] = {
29665 (char *) "self",(char *) "id", NULL
29668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29671 arg2
= (int) SWIG_AsInt(obj1
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= (bool)(arg1
)->Delete(arg2
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29689 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxMenu
*arg1
= (wxMenu
*) 0 ;
29692 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "item", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (bool)(arg1
)->Delete(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29721 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxMenu
*arg1
= (wxMenu
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 wxMenu_Destroy(arg1
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 Py_INCREF(Py_None
); resultobj
= Py_None
;
29746 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
;
29748 wxMenu
*arg1
= (wxMenu
*) 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self",(char *) "id", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29760 arg2
= (int) SWIG_AsInt(obj1
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (bool)(arg1
)->Destroy(arg2
);
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29778 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxMenu
*arg1
= (wxMenu
*) 0 ;
29781 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 PyObject
* obj1
= 0 ;
29785 char *kwnames
[] = {
29786 (char *) "self",(char *) "item", NULL
29789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (bool)(arg1
)->Destroy(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29810 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxMenu
*arg1
= (wxMenu
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29836 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxMenu
*arg1
= (wxMenu
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= result
;
29862 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxMenu
*arg1
= (wxMenu
*) 0 ;
29865 wxString
*arg2
= 0 ;
29867 bool temp2
= False
;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self",(char *) "item", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29878 arg2
= wxString_in_helper(obj1
);
29879 if (arg2
== NULL
) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= SWIG_FromInt((int)result
);
29904 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxMenu
*arg1
= (wxMenu
*) 0 ;
29908 wxMenuItem
*result
;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 char *kwnames
[] = {
29912 (char *) "self",(char *) "id", NULL
29915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29918 arg2
= (int) SWIG_AsInt(obj1
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= wxPyMake_wxObject(result
);
29936 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxMenu
*arg1
= (wxMenu
*) 0 ;
29940 wxMenuItem
*result
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "position", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29950 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= wxPyMake_wxObject(result
);
29968 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxMenu
*arg1
= (wxMenu
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 PyObject
* obj2
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self",(char *) "id",(char *) "enable", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29983 arg2
= (int) SWIG_AsInt(obj1
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29985 arg3
= (bool) SWIG_AsBool(obj2
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->Enable(arg2
,arg3
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 Py_INCREF(Py_None
); resultobj
= Py_None
;
30001 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxMenu
*arg1
= (wxMenu
*) 0 ;
30006 PyObject
* obj0
= 0 ;
30007 PyObject
* obj1
= 0 ;
30008 char *kwnames
[] = {
30009 (char *) "self",(char *) "id", NULL
30012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30015 arg2
= (int) SWIG_AsInt(obj1
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30033 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxMenu
*arg1
= (wxMenu
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self",(char *) "id",(char *) "check", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30048 arg2
= (int) SWIG_AsInt(obj1
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30050 arg3
= (bool) SWIG_AsBool(obj2
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 (arg1
)->Check(arg2
,arg3
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30059 Py_INCREF(Py_None
); resultobj
= Py_None
;
30066 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30067 PyObject
*resultobj
;
30068 wxMenu
*arg1
= (wxMenu
*) 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 char *kwnames
[] = {
30074 (char *) "self",(char *) "id", NULL
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30080 arg2
= (int) SWIG_AsInt(obj1
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30098 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxMenu
*arg1
= (wxMenu
*) 0 ;
30102 wxString
*arg3
= 0 ;
30103 bool temp3
= False
;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 char *kwnames
[] = {
30108 (char *) "self",(char *) "id",(char *) "label", NULL
30111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30114 arg2
= (int) SWIG_AsInt(obj1
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30117 arg3
= wxString_in_helper(obj2
);
30118 if (arg3
== NULL
) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 Py_INCREF(Py_None
); resultobj
= Py_None
;
30143 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
;
30145 wxMenu
*arg1
= (wxMenu
*) 0 ;
30148 PyObject
* obj0
= 0 ;
30149 PyObject
* obj1
= 0 ;
30150 char *kwnames
[] = {
30151 (char *) "self",(char *) "id", NULL
30154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30157 arg2
= (int) SWIG_AsInt(obj1
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30179 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
;
30181 wxMenu
*arg1
= (wxMenu
*) 0 ;
30183 wxString
*arg3
= 0 ;
30184 bool temp3
= False
;
30185 PyObject
* obj0
= 0 ;
30186 PyObject
* obj1
= 0 ;
30187 PyObject
* obj2
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self",(char *) "id",(char *) "helpString", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30195 arg2
= (int) SWIG_AsInt(obj1
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30198 arg3
= wxString_in_helper(obj2
);
30199 if (arg3
== NULL
) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 Py_INCREF(Py_None
); resultobj
= Py_None
;
30224 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxMenu
*arg1
= (wxMenu
*) 0 ;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self",(char *) "id", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30238 arg2
= (int) SWIG_AsInt(obj1
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30260 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxMenu
*arg1
= (wxMenu
*) 0 ;
30263 wxString
*arg2
= 0 ;
30264 bool temp2
= False
;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self",(char *) "title", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30275 arg2
= wxString_in_helper(obj1
);
30276 if (arg2
== NULL
) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 (arg1
)->SetTitle((wxString
const &)*arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 Py_INCREF(Py_None
); resultobj
= Py_None
;
30301 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxMenu
*arg1
= (wxMenu
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= ((wxMenu
const *)arg1
)->GetTitle();
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30333 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxMenu
*arg1
= (wxMenu
*) 0 ;
30336 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "handler", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 (arg1
)->SetEventHandler(arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 Py_INCREF(Py_None
); resultobj
= Py_None
;
30362 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxMenu
*arg1
= (wxMenu
*) 0 ;
30365 wxEvtHandler
*result
;
30366 PyObject
* obj0
= 0 ;
30367 char *kwnames
[] = {
30368 (char *) "self", NULL
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= wxPyMake_wxObject(result
);
30390 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxMenu
*arg1
= (wxMenu
*) 0 ;
30393 wxWindow
*arg2
= (wxWindow
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "win", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 (arg1
)->SetInvokingWindow(arg2
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 Py_INCREF(Py_None
); resultobj
= Py_None
;
30419 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxMenu
*arg1
= (wxMenu
*) 0 ;
30423 PyObject
* obj0
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= wxPyMake_wxObject(result
);
30447 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxMenu
*arg1
= (wxMenu
*) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= SWIG_FromLong((long)result
);
30473 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxMenu
*arg1
= (wxMenu
*) 0 ;
30476 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30477 PyObject
* obj0
= 0 ;
30478 PyObject
* obj1
= 0 ;
30479 char *kwnames
[] = {
30480 (char *) "self",(char *) "source", NULL
30483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->UpdateUI(arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30504 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxMenu
*arg1
= (wxMenu
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= wxPyMake_wxObject(result
);
30532 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30533 PyObject
*resultobj
;
30534 wxMenu
*arg1
= (wxMenu
*) 0 ;
30535 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self",(char *) "menubar", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->Attach(arg2
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30561 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxMenu
*arg1
= (wxMenu
*) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 char *kwnames
[] = {
30566 (char *) "self", NULL
30569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxMenu
*arg1
= (wxMenu
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30614 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxMenu
*arg1
= (wxMenu
*) 0 ;
30617 wxMenu
*arg2
= (wxMenu
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self",(char *) "parent", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->SetParent(arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxMenu
*arg1
= (wxMenu
*) 0 ;
30647 PyObject
* obj0
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= wxPyMake_wxObject(result
);
30671 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30674 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30676 return Py_BuildValue((char *)"");
30678 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
;
30680 long arg1
= (long) 0 ;
30682 PyObject
* obj0
= 0 ;
30683 char *kwnames
[] = {
30684 (char *) "style", NULL
30687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30689 arg1
= (long) SWIG_AsLong(obj0
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= wxPyMake_wxObject(result
);
30708 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30711 wxMenu
*arg2
= (wxMenu
*) 0 ;
30712 wxString
*arg3
= 0 ;
30714 bool temp3
= False
;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 PyObject
* obj2
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self",(char *) "menu",(char *) "title", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30728 arg3
= wxString_in_helper(obj2
);
30729 if (arg3
== NULL
) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30756 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
;
30758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30760 wxMenu
*arg3
= (wxMenu
*) 0 ;
30761 wxString
*arg4
= 0 ;
30763 bool temp4
= False
;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 PyObject
* obj2
= 0 ;
30767 PyObject
* obj3
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30775 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 arg4
= wxString_in_helper(obj3
);
30781 if (arg4
== NULL
) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30808 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30827 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30834 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30835 PyObject
*resultobj
;
30836 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 char *kwnames
[] = {
30842 (char *) "self",(char *) "pos", NULL
30845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30848 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= wxPyMake_wxObject(result
);
30866 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
;
30868 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30870 wxMenu
*arg3
= (wxMenu
*) 0 ;
30871 wxString
*arg4
= 0 ;
30873 bool temp4
= False
;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 PyObject
* obj2
= 0 ;
30877 PyObject
* obj3
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30885 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 arg4
= wxString_in_helper(obj3
);
30891 if (arg4
== NULL
) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= wxPyMake_wxObject(result
);
30918 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
;
30920 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 PyObject
* obj1
= 0 ;
30925 char *kwnames
[] = {
30926 (char *) "self",(char *) "pos", NULL
30929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) 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
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= wxPyMake_wxObject(result
);
30950 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 PyObject
* obj1
= 0 ;
30957 PyObject
* obj2
= 0 ;
30958 char *kwnames
[] = {
30959 (char *) "self",(char *) "pos",(char *) "enable", NULL
30962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30965 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30967 arg3
= (bool) SWIG_AsBool(obj2
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 (arg1
)->EnableTop(arg2
,arg3
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 Py_INCREF(Py_None
); resultobj
= Py_None
;
30983 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 char *kwnames
[] = {
30991 (char *) "self",(char *) "pos", NULL
30994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30997 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31015 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
;
31017 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31019 wxString
*arg3
= 0 ;
31020 bool temp3
= False
;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 PyObject
* obj2
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "pos",(char *) "label", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31031 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 arg3
= wxString_in_helper(obj2
);
31035 if (arg3
== NULL
) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 Py_INCREF(Py_None
); resultobj
= Py_None
;
31060 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31065 PyObject
* obj0
= 0 ;
31066 PyObject
* obj1
= 0 ;
31067 char *kwnames
[] = {
31068 (char *) "self",(char *) "pos", NULL
31071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31074 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31096 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
;
31098 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31099 wxString
*arg2
= 0 ;
31100 wxString
*arg3
= 0 ;
31102 bool temp2
= False
;
31103 bool temp3
= False
;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 PyObject
* obj2
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self",(char *) "menu",(char *) "item", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31115 arg2
= wxString_in_helper(obj1
);
31116 if (arg2
== NULL
) SWIG_fail
;
31120 arg3
= wxString_in_helper(obj2
);
31121 if (arg3
== NULL
) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= SWIG_FromInt((int)result
);
31154 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31158 wxMenuItem
*result
;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "id", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31168 arg2
= (int) SWIG_AsInt(obj1
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= wxPyMake_wxObject(result
);
31186 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
;
31188 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31189 wxString
*arg2
= 0 ;
31191 bool temp2
= False
;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "title", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31202 arg2
= wxString_in_helper(obj1
);
31203 if (arg2
== NULL
) SWIG_fail
;
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_FromInt((int)result
);
31228 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 PyObject
* obj2
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self",(char *) "id",(char *) "enable", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31243 arg2
= (int) SWIG_AsInt(obj1
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31245 arg3
= (bool) SWIG_AsBool(obj2
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 (arg1
)->Enable(arg2
,arg3
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 Py_INCREF(Py_None
); resultobj
= Py_None
;
31261 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 PyObject
* obj2
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "id",(char *) "check", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31276 arg2
= (int) SWIG_AsInt(obj1
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31278 arg3
= (bool) SWIG_AsBool(obj2
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->Check(arg2
,arg3
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 Py_INCREF(Py_None
); resultobj
= Py_None
;
31294 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "self",(char *) "id", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31308 arg2
= (int) SWIG_AsInt(obj1
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31326 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31331 PyObject
* obj0
= 0 ;
31332 PyObject
* obj1
= 0 ;
31333 char *kwnames
[] = {
31334 (char *) "self",(char *) "id", NULL
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31340 arg2
= (int) SWIG_AsInt(obj1
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31358 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31362 wxString
*arg3
= 0 ;
31363 bool temp3
= False
;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 PyObject
* obj2
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self",(char *) "id",(char *) "label", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 arg2
= (int) SWIG_AsInt(obj1
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 arg3
= wxString_in_helper(obj2
);
31378 if (arg3
== NULL
) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 Py_INCREF(Py_None
); resultobj
= Py_None
;
31403 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "id", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31417 arg2
= (int) SWIG_AsInt(obj1
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31439 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31443 wxString
*arg3
= 0 ;
31444 bool temp3
= False
;
31445 PyObject
* obj0
= 0 ;
31446 PyObject
* obj1
= 0 ;
31447 PyObject
* obj2
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self",(char *) "id",(char *) "helpString", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31455 arg2
= (int) SWIG_AsInt(obj1
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 arg3
= wxString_in_helper(obj2
);
31459 if (arg3
== NULL
) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31469 Py_INCREF(Py_None
); resultobj
= Py_None
;
31484 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 char *kwnames
[] = {
31492 (char *) "self",(char *) "id", NULL
31495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31498 arg2
= (int) SWIG_AsInt(obj1
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31520 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31524 PyObject
* obj0
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= wxPyMake_wxObject(result
);
31548 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 char *kwnames
[] = {
31554 (char *) "self", NULL
31557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31576 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31577 PyObject
*resultobj
;
31578 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31579 wxFrame
*arg2
= (wxFrame
*) 0 ;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self",(char *) "frame", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 (arg1
)->Attach(arg2
);
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 Py_INCREF(Py_None
); resultobj
= Py_None
;
31605 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
;
31607 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31608 PyObject
* obj0
= 0 ;
31609 char *kwnames
[] = {
31610 (char *) "self", NULL
31613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31633 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31635 return Py_BuildValue((char *)"");
31637 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
;
31639 wxMenu
*arg1
= (wxMenu
*) NULL
;
31640 int arg2
= (int) wxID_ANY
;
31641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31645 int arg5
= (int) wxITEM_NORMAL
;
31646 wxMenu
*arg6
= (wxMenu
*) NULL
;
31647 wxMenuItem
*result
;
31648 bool temp3
= False
;
31649 bool temp4
= False
;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 PyObject
* obj2
= 0 ;
31653 PyObject
* obj3
= 0 ;
31654 PyObject
* obj4
= 0 ;
31655 PyObject
* obj5
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31666 arg2
= (int) SWIG_AsInt(obj1
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31671 arg3
= wxString_in_helper(obj2
);
31672 if (arg3
== NULL
) SWIG_fail
;
31678 arg4
= wxString_in_helper(obj3
);
31679 if (arg4
== NULL
) SWIG_fail
;
31684 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31688 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= wxPyMake_wxObject(result
);
31723 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31743 resultobj
= wxPyMake_wxObject(result
);
31751 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31754 wxMenu
*arg2
= (wxMenu
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "menu", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->SetMenu(arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 Py_INCREF(Py_None
); resultobj
= Py_None
;
31780 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31784 PyObject
* obj0
= 0 ;
31785 PyObject
* obj1
= 0 ;
31786 char *kwnames
[] = {
31787 (char *) "self",(char *) "id", NULL
31790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31793 arg2
= (int) SWIG_AsInt(obj1
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->SetId(arg2
);
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 Py_INCREF(Py_None
); resultobj
= Py_None
;
31809 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31810 PyObject
*resultobj
;
31811 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31813 PyObject
* obj0
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31823 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= SWIG_FromInt((int)result
);
31835 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
;
31837 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31839 PyObject
* obj0
= 0 ;
31840 char *kwnames
[] = {
31841 (char *) "self", NULL
31844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31863 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31866 wxString
*arg2
= 0 ;
31867 bool temp2
= False
;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 char *kwnames
[] = {
31871 (char *) "self",(char *) "str", NULL
31874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31878 arg2
= wxString_in_helper(obj1
);
31879 if (arg2
== NULL
) SWIG_fail
;
31883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 (arg1
)->SetText((wxString
const &)*arg2
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 Py_INCREF(Py_None
); resultobj
= Py_None
;
31904 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
;
31906 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31908 PyObject
* obj0
= 0 ;
31909 char *kwnames
[] = {
31910 (char *) "self", NULL
31913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31936 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
;
31938 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 char *kwnames
[] = {
31942 (char *) "self", NULL
31945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31952 result
= (wxString
*) &_result_ref
;
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31971 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxString
*arg1
= 0 ;
31975 bool temp1
= False
;
31976 PyObject
* obj0
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "text", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31983 arg1
= wxString_in_helper(obj0
);
31984 if (arg1
== NULL
) SWIG_fail
;
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32015 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
;
32017 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32019 PyObject
* obj0
= 0 ;
32020 char *kwnames
[] = {
32021 (char *) "self", NULL
32024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_FromInt((int)result
);
32041 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
;
32043 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self",(char *) "kind", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32054 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 (arg1
)->SetKind((wxItemKind
)arg2
);
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32063 Py_INCREF(Py_None
); resultobj
= Py_None
;
32070 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32074 PyObject
* obj0
= 0 ;
32075 PyObject
* obj1
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self",(char *) "checkable", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32083 arg2
= (bool) SWIG_AsBool(obj1
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 (arg1
)->SetCheckable(arg2
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 Py_INCREF(Py_None
); resultobj
= Py_None
;
32099 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
;
32101 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "self", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32127 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
;
32129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32131 PyObject
* obj0
= 0 ;
32132 char *kwnames
[] = {
32133 (char *) "self", NULL
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32155 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32158 wxMenu
*arg2
= (wxMenu
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self",(char *) "menu", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 (arg1
)->SetSubMenu(arg2
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 char *kwnames
[] = {
32190 (char *) "self", NULL
32193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32200 wxPyEndAllowThreads(__tstate
);
32201 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= wxPyMake_wxObject(result
);
32212 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
;
32214 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32215 bool arg2
= (bool) True
;
32216 PyObject
* obj0
= 0 ;
32217 PyObject
* obj1
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self",(char *) "enable", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32226 arg2
= (bool) SWIG_AsBool(obj1
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 (arg1
)->Enable(arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 Py_INCREF(Py_None
); resultobj
= Py_None
;
32243 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32247 PyObject
* obj0
= 0 ;
32248 char *kwnames
[] = {
32249 (char *) "self", NULL
32252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32271 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32274 bool arg2
= (bool) True
;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 char *kwnames
[] = {
32278 (char *) "self",(char *) "check", NULL
32281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32285 arg2
= (bool) SWIG_AsBool(obj1
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 (arg1
)->Check(arg2
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 Py_INCREF(Py_None
); resultobj
= Py_None
;
32302 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
;
32304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32306 PyObject
* obj0
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32330 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32333 PyObject
* obj0
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 Py_INCREF(Py_None
); resultobj
= Py_None
;
32355 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32358 wxString
*arg2
= 0 ;
32359 bool temp2
= False
;
32360 PyObject
* obj0
= 0 ;
32361 PyObject
* obj1
= 0 ;
32362 char *kwnames
[] = {
32363 (char *) "self",(char *) "str", NULL
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32370 arg2
= wxString_in_helper(obj1
);
32371 if (arg2
== NULL
) SWIG_fail
;
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 (arg1
)->SetHelp((wxString
const &)*arg2
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 Py_INCREF(Py_None
); resultobj
= Py_None
;
32396 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32400 PyObject
* obj0
= 0 ;
32401 char *kwnames
[] = {
32402 (char *) "self", NULL
32405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32412 result
= (wxString
*) &_result_ref
;
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32420 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32422 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32431 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32432 PyObject
*resultobj
;
32433 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32434 wxAcceleratorEntry
*result
;
32435 PyObject
* obj0
= 0 ;
32436 char *kwnames
[] = {
32437 (char *) "self", NULL
32440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32457 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
;
32459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32460 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32461 PyObject
* obj0
= 0 ;
32462 PyObject
* obj1
= 0 ;
32463 char *kwnames
[] = {
32464 (char *) "self",(char *) "accel", NULL
32467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->SetAccel(arg2
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 Py_INCREF(Py_None
); resultobj
= Py_None
;
32486 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
;
32488 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 PyObject
* obj1
= 0 ;
32492 char *kwnames
[] = {
32493 (char *) "self",(char *) "font", NULL
32496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32502 if (arg2
== NULL
) {
32503 PyErr_SetString(PyExc_TypeError
,"null reference");
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 (arg1
)->SetFont((wxFont
const &)*arg2
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 Py_INCREF(Py_None
); resultobj
= Py_None
;
32520 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
;
32522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32524 PyObject
* obj0
= 0 ;
32525 char *kwnames
[] = {
32526 (char *) "self", NULL
32529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (arg1
)->GetFont();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32540 wxFont
* resultptr
;
32541 resultptr
= new wxFont((wxFont
&) result
);
32542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32550 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32551 PyObject
*resultobj
;
32552 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32553 wxColour
*arg2
= 0 ;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 char *kwnames
[] = {
32558 (char *) "self",(char *) "colText", NULL
32561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32575 Py_INCREF(Py_None
); resultobj
= Py_None
;
32582 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 char *kwnames
[] = {
32588 (char *) "self", NULL
32591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= (arg1
)->GetTextColour();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32602 wxColour
* resultptr
;
32603 resultptr
= new wxColour((wxColour
&) result
);
32604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32612 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
;
32614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32615 wxColour
*arg2
= 0 ;
32617 PyObject
* obj0
= 0 ;
32618 PyObject
* obj1
= 0 ;
32619 char *kwnames
[] = {
32620 (char *) "self",(char *) "colBack", NULL
32623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 Py_INCREF(Py_None
); resultobj
= Py_None
;
32644 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (arg1
)->GetBackgroundColour();
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32664 wxColour
* resultptr
;
32665 resultptr
= new wxColour((wxColour
&) result
);
32666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32674 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
;
32676 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32677 wxBitmap
*arg2
= 0 ;
32678 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32679 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32680 PyObject
* obj0
= 0 ;
32681 PyObject
* obj1
= 0 ;
32682 PyObject
* obj2
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32693 if (arg2
== NULL
) {
32694 PyErr_SetString(PyExc_TypeError
,"null reference");
32698 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32701 if (arg3
== NULL
) {
32702 PyErr_SetString(PyExc_TypeError
,"null reference");
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32710 wxPyEndAllowThreads(__tstate
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32713 Py_INCREF(Py_None
); resultobj
= Py_None
;
32720 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32721 PyObject
*resultobj
;
32722 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32723 wxBitmap
*arg2
= 0 ;
32724 PyObject
* obj0
= 0 ;
32725 PyObject
* obj1
= 0 ;
32726 char *kwnames
[] = {
32727 (char *) "self",(char *) "bmpDisabled", NULL
32730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32736 if (arg2
== NULL
) {
32737 PyErr_SetString(PyExc_TypeError
,"null reference");
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32747 Py_INCREF(Py_None
); resultobj
= Py_None
;
32754 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32755 PyObject
*resultobj
;
32756 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32758 PyObject
* obj0
= 0 ;
32759 char *kwnames
[] = {
32760 (char *) "self", NULL
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32770 result
= (wxBitmap
*) &_result_ref
;
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 wxBitmap
* resultptr
= new wxBitmap(*result
);
32778 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32786 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32788 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self",(char *) "nWidth", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32799 arg2
= (int) SWIG_AsInt(obj1
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 (arg1
)->SetMarginWidth(arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 Py_INCREF(Py_None
); resultobj
= Py_None
;
32815 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
;
32817 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32819 PyObject
* obj0
= 0 ;
32820 char *kwnames
[] = {
32821 (char *) "self", NULL
32824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (int)(arg1
)->GetMarginWidth();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= SWIG_FromInt((int)result
);
32841 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32844 char *kwnames
[] = {
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_FromInt((int)result
);
32863 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
;
32865 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32867 PyObject
* obj0
= 0 ;
32868 char *kwnames
[] = {
32869 (char *) "self", NULL
32872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32877 result
= (bool)(arg1
)->IsOwnerDrawn();
32879 wxPyEndAllowThreads(__tstate
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32891 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
;
32893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32894 bool arg2
= (bool) True
;
32895 PyObject
* obj0
= 0 ;
32896 PyObject
* obj1
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self",(char *) "ownerDrawn", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32905 arg2
= (bool) SWIG_AsBool(obj1
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 (arg1
)->SetOwnerDrawn(arg2
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 Py_INCREF(Py_None
); resultobj
= Py_None
;
32922 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
;
32924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32925 PyObject
* obj0
= 0 ;
32926 char *kwnames
[] = {
32927 (char *) "self", NULL
32930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 (arg1
)->ResetOwnerDrawn();
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 Py_INCREF(Py_None
); resultobj
= Py_None
;
32947 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32950 wxBitmap
*arg2
= 0 ;
32951 PyObject
* obj0
= 0 ;
32952 PyObject
* obj1
= 0 ;
32953 char *kwnames
[] = {
32954 (char *) "self",(char *) "bitmap", NULL
32957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32963 if (arg2
== NULL
) {
32964 PyErr_SetString(PyExc_TypeError
,"null reference");
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 Py_INCREF(Py_None
); resultobj
= Py_None
;
32981 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32997 result
= (wxBitmap
*) &_result_ref
;
33000 wxPyEndAllowThreads(__tstate
);
33001 if (PyErr_Occurred()) SWIG_fail
;
33004 wxBitmap
* resultptr
= new wxBitmap(*result
);
33005 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33013 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33016 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33018 return Py_BuildValue((char *)"");
33020 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33021 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33026 static PyObject
*_wrap_ControlNameStr_get() {
33031 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33033 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33040 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxWindow
*arg1
= (wxWindow
*) 0 ;
33044 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33045 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33046 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33047 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33048 long arg5
= (long) 0 ;
33049 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33050 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33051 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33052 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33056 bool temp7
= False
;
33057 PyObject
* obj0
= 0 ;
33058 PyObject
* obj1
= 0 ;
33059 PyObject
* obj2
= 0 ;
33060 PyObject
* obj3
= 0 ;
33061 PyObject
* obj4
= 0 ;
33062 PyObject
* obj5
= 0 ;
33063 PyObject
* obj6
= 0 ;
33064 char *kwnames
[] = {
33065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33071 arg2
= (int) SWIG_AsInt(obj1
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33082 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33086 arg5
= (long) SWIG_AsLong(obj4
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33090 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33093 if (arg6
== NULL
) {
33094 PyErr_SetString(PyExc_TypeError
,"null reference");
33100 arg7
= wxString_in_helper(obj6
);
33101 if (arg7
== NULL
) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= wxPyMake_wxObject(result
);
33129 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33130 PyObject
*resultobj
;
33132 char *kwnames
[] = {
33136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (wxControl
*)new wxControl();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= wxPyMake_wxObject(result
);
33153 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
;
33155 wxControl
*arg1
= (wxControl
*) 0 ;
33156 wxWindow
*arg2
= (wxWindow
*) 0 ;
33158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33162 long arg6
= (long) 0 ;
33163 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33164 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33165 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33170 bool temp8
= False
;
33171 PyObject
* obj0
= 0 ;
33172 PyObject
* obj1
= 0 ;
33173 PyObject
* obj2
= 0 ;
33174 PyObject
* obj3
= 0 ;
33175 PyObject
* obj4
= 0 ;
33176 PyObject
* obj5
= 0 ;
33177 PyObject
* obj6
= 0 ;
33178 PyObject
* obj7
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33188 arg3
= (int) SWIG_AsInt(obj2
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33203 arg6
= (long) SWIG_AsLong(obj5
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33207 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33210 if (arg7
== NULL
) {
33211 PyErr_SetString(PyExc_TypeError
,"null reference");
33217 arg8
= wxString_in_helper(obj7
);
33218 if (arg8
== NULL
) SWIG_fail
;
33223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33246 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 wxControl
*arg1
= (wxControl
*) 0 ;
33249 wxCommandEvent
*arg2
= 0 ;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 char *kwnames
[] = {
33253 (char *) "self",(char *) "event", NULL
33256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33262 if (arg2
== NULL
) {
33263 PyErr_SetString(PyExc_TypeError
,"null reference");
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 (arg1
)->Command(*arg2
);
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33273 Py_INCREF(Py_None
); resultobj
= Py_None
;
33280 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
;
33282 wxControl
*arg1
= (wxControl
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 char *kwnames
[] = {
33286 (char *) "self", NULL
33289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (arg1
)->GetLabel();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33312 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
;
33314 wxControl
*arg1
= (wxControl
*) 0 ;
33315 wxString
*arg2
= 0 ;
33316 bool temp2
= False
;
33317 PyObject
* obj0
= 0 ;
33318 PyObject
* obj1
= 0 ;
33319 char *kwnames
[] = {
33320 (char *) "self",(char *) "label", NULL
33323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33327 arg2
= wxString_in_helper(obj1
);
33328 if (arg2
== NULL
) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 (arg1
)->SetLabel((wxString
const &)*arg2
);
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 Py_INCREF(Py_None
); resultobj
= Py_None
;
33353 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
;
33355 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33356 wxVisualAttributes result
;
33357 PyObject
* obj0
= 0 ;
33358 char *kwnames
[] = {
33359 (char *) "variant", NULL
33362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33364 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33369 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33375 wxVisualAttributes
* resultptr
;
33376 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33385 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33388 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33390 return Py_BuildValue((char *)"");
33392 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
;
33394 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33395 wxString
*arg2
= 0 ;
33396 PyObject
*arg3
= (PyObject
*) NULL
;
33398 bool temp2
= False
;
33399 PyObject
* obj0
= 0 ;
33400 PyObject
* obj1
= 0 ;
33401 PyObject
* obj2
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "self",(char *) "item",(char *) "clientData", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33410 arg2
= wxString_in_helper(obj1
);
33411 if (arg2
== NULL
) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_FromInt((int)result
);
33439 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33442 wxArrayString
*arg2
= 0 ;
33443 bool temp2
= False
;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char *kwnames
[] = {
33447 (char *) "self",(char *) "strings", NULL
33450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33454 if (! PySequence_Check(obj1
)) {
33455 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33458 arg2
= new wxArrayString
;
33460 int i
, len
=PySequence_Length(obj1
);
33461 for (i
=0; i
<len
; i
++) {
33462 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33464 PyObject
* str
= PyObject_Unicode(item
);
33466 PyObject
* str
= PyObject_Str(item
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33469 arg2
->Add(Py2wxString(str
));
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 (arg1
)->Append((wxArrayString
const &)*arg2
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 Py_INCREF(Py_None
); resultobj
= Py_None
;
33483 if (temp2
) delete arg2
;
33488 if (temp2
) delete arg2
;
33494 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
;
33496 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33497 wxString
*arg2
= 0 ;
33499 PyObject
*arg4
= (PyObject
*) NULL
;
33501 bool temp2
= False
;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 PyObject
* obj2
= 0 ;
33505 PyObject
* obj3
= 0 ;
33506 char *kwnames
[] = {
33507 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33514 arg2
= wxString_in_helper(obj1
);
33515 if (arg2
== NULL
) SWIG_fail
;
33518 arg3
= (int) SWIG_AsInt(obj2
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_FromInt((int)result
);
33545 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
;
33547 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33548 PyObject
* obj0
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33563 Py_INCREF(Py_None
); resultobj
= Py_None
;
33570 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
;
33572 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 char *kwnames
[] = {
33577 (char *) "self",(char *) "n", NULL
33580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33583 arg2
= (int) SWIG_AsInt(obj1
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->Delete(arg2
);
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 Py_INCREF(Py_None
); resultobj
= Py_None
;
33599 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33600 PyObject
*resultobj
;
33601 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33603 PyObject
* obj0
= 0 ;
33604 char *kwnames
[] = {
33605 (char *) "self", NULL
33608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_FromInt((int)result
);
33625 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
;
33627 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33629 PyObject
* obj0
= 0 ;
33630 char *kwnames
[] = {
33631 (char *) "self", NULL
33634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33653 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
;
33655 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char *kwnames
[] = {
33661 (char *) "self",(char *) "n", NULL
33664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33667 arg2
= (int) SWIG_AsInt(obj1
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33689 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33690 PyObject
*resultobj
;
33691 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33692 wxArrayString result
;
33693 PyObject
* obj0
= 0 ;
33694 char *kwnames
[] = {
33695 (char *) "self", NULL
33698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33705 wxPyEndAllowThreads(__tstate
);
33706 if (PyErr_Occurred()) SWIG_fail
;
33709 resultobj
= wxArrayString2PyList_helper(result
);
33717 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33721 wxString
*arg3
= 0 ;
33722 bool temp3
= False
;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 PyObject
* obj2
= 0 ;
33726 char *kwnames
[] = {
33727 (char *) "self",(char *) "n",(char *) "s", NULL
33730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33733 arg2
= (int) SWIG_AsInt(obj1
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33736 arg3
= wxString_in_helper(obj2
);
33737 if (arg3
== NULL
) SWIG_fail
;
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33744 wxPyEndAllowThreads(__tstate
);
33745 if (PyErr_Occurred()) SWIG_fail
;
33747 Py_INCREF(Py_None
); resultobj
= Py_None
;
33762 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33763 PyObject
*resultobj
;
33764 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33765 wxString
*arg2
= 0 ;
33767 bool temp2
= False
;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 char *kwnames
[] = {
33771 (char *) "self",(char *) "s", NULL
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33778 arg2
= wxString_in_helper(obj1
);
33779 if (arg2
== NULL
) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= SWIG_FromInt((int)result
);
33804 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
;
33806 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "n", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33817 arg2
= (int) SWIG_AsInt(obj1
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->Select(arg2
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 char *kwnames
[] = {
33839 (char *) "self", NULL
33842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_FromInt((int)result
);
33859 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
;
33861 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33863 PyObject
* obj0
= 0 ;
33864 char *kwnames
[] = {
33865 (char *) "self", NULL
33868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33891 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33892 PyObject
*resultobj
;
33893 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 char *kwnames
[] = {
33899 (char *) "self",(char *) "n", NULL
33902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33905 arg2
= (int) SWIG_AsInt(obj1
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= result
;
33921 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
;
33923 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33925 PyObject
*arg3
= (PyObject
*) 0 ;
33926 PyObject
* obj0
= 0 ;
33927 PyObject
* obj1
= 0 ;
33928 PyObject
* obj2
= 0 ;
33929 char *kwnames
[] = {
33930 (char *) "self",(char *) "n",(char *) "clientData", NULL
33933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33936 arg2
= (int) SWIG_AsInt(obj1
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33946 Py_INCREF(Py_None
); resultobj
= Py_None
;
33953 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33956 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33958 return Py_BuildValue((char *)"");
33960 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33963 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33965 return Py_BuildValue((char *)"");
33967 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
;
33969 wxSizerItem
*result
;
33970 char *kwnames
[] = {
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 result
= (wxSizerItem
*)new wxSizerItem();
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33989 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33990 PyObject
*resultobj
;
33996 wxObject
*arg6
= (wxObject
*) 0 ;
33997 wxSizerItem
*result
;
33998 PyObject
* obj0
= 0 ;
33999 PyObject
* obj1
= 0 ;
34000 PyObject
* obj2
= 0 ;
34001 PyObject
* obj3
= 0 ;
34002 PyObject
* obj4
= 0 ;
34003 PyObject
* obj5
= 0 ;
34004 char *kwnames
[] = {
34005 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34009 arg1
= (int) SWIG_AsInt(obj0
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34011 arg2
= (int) SWIG_AsInt(obj1
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34013 arg3
= (int) SWIG_AsInt(obj2
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34015 arg4
= (int) SWIG_AsInt(obj3
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34017 arg5
= (int) SWIG_AsInt(obj4
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34019 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34023 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34035 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34036 PyObject
*resultobj
;
34037 wxWindow
*arg1
= (wxWindow
*) 0 ;
34041 wxObject
*arg5
= (wxObject
*) 0 ;
34042 wxSizerItem
*result
;
34043 PyObject
* obj0
= 0 ;
34044 PyObject
* obj1
= 0 ;
34045 PyObject
* obj2
= 0 ;
34046 PyObject
* obj3
= 0 ;
34047 PyObject
* obj4
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34055 arg2
= (int) SWIG_AsInt(obj1
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34057 arg3
= (int) SWIG_AsInt(obj2
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34059 arg4
= (int) SWIG_AsInt(obj3
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34061 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34077 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34078 PyObject
*resultobj
;
34079 wxSizer
*arg1
= (wxSizer
*) 0 ;
34083 wxObject
*arg5
= (wxObject
*) 0 ;
34084 wxSizerItem
*result
;
34085 PyObject
* obj0
= 0 ;
34086 PyObject
* obj1
= 0 ;
34087 PyObject
* obj2
= 0 ;
34088 PyObject
* obj3
= 0 ;
34089 PyObject
* obj4
= 0 ;
34090 char *kwnames
[] = {
34091 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34097 arg2
= (int) SWIG_AsInt(obj1
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34099 arg3
= (int) SWIG_AsInt(obj2
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34101 arg4
= (int) SWIG_AsInt(obj3
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34103 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34119 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34120 PyObject
*resultobj
;
34121 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34122 PyObject
* obj0
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "self", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 (arg1
)->DeleteWindows();
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 Py_INCREF(Py_None
); resultobj
= Py_None
;
34144 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34147 PyObject
* obj0
= 0 ;
34148 char *kwnames
[] = {
34149 (char *) "self", NULL
34152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 (arg1
)->DetachSizer();
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 Py_INCREF(Py_None
); resultobj
= Py_None
;
34169 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
;
34171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 result
= (arg1
)->GetSize();
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34189 wxSize
* resultptr
;
34190 resultptr
= new wxSize((wxSize
&) result
);
34191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34199 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 result
= (arg1
)->CalcMin();
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34219 wxSize
* resultptr
;
34220 resultptr
= new wxSize((wxSize
&) result
);
34221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34229 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 char *kwnames
[] = {
34240 (char *) "self",(char *) "pos",(char *) "size", NULL
34243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34246 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34247 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34249 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34250 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 (arg1
)->SetDimension(arg2
,arg3
);
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34259 Py_INCREF(Py_None
); resultobj
= Py_None
;
34266 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
;
34268 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34270 PyObject
* obj0
= 0 ;
34271 char *kwnames
[] = {
34272 (char *) "self", NULL
34275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (arg1
)->GetMinSize();
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34286 wxSize
* resultptr
;
34287 resultptr
= new wxSize((wxSize
&) result
);
34288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34296 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
;
34298 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 PyObject
* obj2
= 0 ;
34304 char *kwnames
[] = {
34305 (char *) "self",(char *) "x",(char *) "y", NULL
34308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34311 arg2
= (int) SWIG_AsInt(obj1
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34313 arg3
= (int) SWIG_AsInt(obj2
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 (arg1
)->SetInitSize(arg2
,arg3
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 Py_INCREF(Py_None
); resultobj
= Py_None
;
34329 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
;
34331 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34334 PyObject
* obj0
= 0 ;
34335 PyObject
* obj1
= 0 ;
34336 PyObject
* obj2
= 0 ;
34337 char *kwnames
[] = {
34338 (char *) "self",(char *) "width",(char *) "height", NULL
34341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34344 arg2
= (int) SWIG_AsInt(obj1
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34346 arg3
= (int) SWIG_AsInt(obj2
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 (arg1
)->SetRatio(arg2
,arg3
);
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 Py_INCREF(Py_None
); resultobj
= Py_None
;
34362 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
;
34364 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 char *kwnames
[] = {
34370 (char *) "self",(char *) "size", NULL
34373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34376 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34377 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->SetRatio(arg2
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 Py_INCREF(Py_None
); resultobj
= Py_None
;
34393 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
;
34395 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "ratio", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34406 arg2
= (float) SWIG_AsFloat(obj1
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 (arg1
)->SetRatio(arg2
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 Py_INCREF(Py_None
); resultobj
= Py_None
;
34422 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 char *kwnames
[] = {
34428 (char *) "self", NULL
34431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 result
= (float)(arg1
)->GetRatio();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= SWIG_FromFloat((float)result
);
34448 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 result
= (bool)(arg1
)->IsWindow();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34476 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
;
34478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34480 PyObject
* obj0
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= (bool)(arg1
)->IsSizer();
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34504 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
;
34506 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34508 PyObject
* obj0
= 0 ;
34509 char *kwnames
[] = {
34510 (char *) "self", NULL
34513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (bool)(arg1
)->IsSpacer();
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34532 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self",(char *) "proportion", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34545 arg2
= (int) SWIG_AsInt(obj1
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 (arg1
)->SetProportion(arg2
);
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 Py_INCREF(Py_None
); resultobj
= Py_None
;
34561 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34562 PyObject
*resultobj
;
34563 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34565 PyObject
* obj0
= 0 ;
34566 char *kwnames
[] = {
34567 (char *) "self", NULL
34570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 result
= (int)(arg1
)->GetProportion();
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_FromInt((int)result
);
34587 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
;
34589 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 char *kwnames
[] = {
34594 (char *) "self",(char *) "flag", NULL
34597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34600 arg2
= (int) SWIG_AsInt(obj1
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 (arg1
)->SetFlag(arg2
);
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34609 Py_INCREF(Py_None
); resultobj
= Py_None
;
34616 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34620 PyObject
* obj0
= 0 ;
34621 char *kwnames
[] = {
34622 (char *) "self", NULL
34625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (int)(arg1
)->GetFlag();
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= SWIG_FromInt((int)result
);
34642 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34646 PyObject
* obj0
= 0 ;
34647 PyObject
* obj1
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "self",(char *) "border", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34655 arg2
= (int) SWIG_AsInt(obj1
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 (arg1
)->SetBorder(arg2
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (int)(arg1
)->GetBorder();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_FromInt((int)result
);
34697 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
;
34699 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (wxWindow
*)(arg1
)->GetWindow();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= wxPyMake_wxObject(result
);
34725 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34728 wxWindow
*arg2
= (wxWindow
*) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self",(char *) "window", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 (arg1
)->SetWindow(arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 Py_INCREF(Py_None
); resultobj
= Py_None
;
34754 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 result
= (wxSizer
*)(arg1
)->GetSizer();
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= wxPyMake_wxSizer(result
);
34782 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34785 wxSizer
*arg2
= (wxSizer
*) 0 ;
34786 PyObject
* obj0
= 0 ;
34787 PyObject
* obj1
= 0 ;
34788 char *kwnames
[] = {
34789 (char *) "self",(char *) "sizer", NULL
34792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34799 (arg1
)->SetSizer(arg2
);
34801 wxPyEndAllowThreads(__tstate
);
34802 if (PyErr_Occurred()) SWIG_fail
;
34804 Py_INCREF(Py_None
); resultobj
= Py_None
;
34811 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34812 PyObject
*resultobj
;
34813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34815 PyObject
* obj0
= 0 ;
34816 char *kwnames
[] = {
34817 (char *) "self", NULL
34820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34827 result
= (wxSize
*) &_result_ref
;
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34840 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34841 PyObject
*resultobj
;
34842 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34845 PyObject
* obj0
= 0 ;
34846 PyObject
* obj1
= 0 ;
34847 char *kwnames
[] = {
34848 (char *) "self",(char *) "size", NULL
34851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34856 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34865 Py_INCREF(Py_None
); resultobj
= Py_None
;
34872 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
;
34874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34876 PyObject
* obj0
= 0 ;
34877 PyObject
* obj1
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "self",(char *) "show", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34885 arg2
= (bool) SWIG_AsBool(obj1
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 (arg1
)->Show(arg2
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34894 Py_INCREF(Py_None
); resultobj
= Py_None
;
34901 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
;
34903 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34905 PyObject
* obj0
= 0 ;
34906 char *kwnames
[] = {
34907 (char *) "self", NULL
34910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34915 result
= (bool)(arg1
)->IsShown();
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34929 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
;
34931 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34933 PyObject
* obj0
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34943 result
= (arg1
)->GetPosition();
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34949 wxPoint
* resultptr
;
34950 resultptr
= new wxPoint((wxPoint
&) result
);
34951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34959 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34963 PyObject
* obj0
= 0 ;
34964 char *kwnames
[] = {
34965 (char *) "self", NULL
34968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 resultobj
= result
;
34985 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34988 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34990 return Py_BuildValue((char *)"");
34992 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
;
34994 wxSizer
*arg1
= (wxSizer
*) 0 ;
34995 PyObject
*arg2
= (PyObject
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self",(char *) "_self", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35008 wxSizer__setOORInfo(arg1
,arg2
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 Py_INCREF(Py_None
); resultobj
= Py_None
;
35020 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxSizer
*arg1
= (wxSizer
*) 0 ;
35023 PyObject
*arg2
= (PyObject
*) 0 ;
35024 int arg3
= (int) 0 ;
35025 int arg4
= (int) 0 ;
35026 int arg5
= (int) 0 ;
35027 PyObject
*arg6
= (PyObject
*) NULL
;
35028 PyObject
* obj0
= 0 ;
35029 PyObject
* obj1
= 0 ;
35030 PyObject
* obj2
= 0 ;
35031 PyObject
* obj3
= 0 ;
35032 PyObject
* obj4
= 0 ;
35033 PyObject
* obj5
= 0 ;
35034 char *kwnames
[] = {
35035 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35043 arg3
= (int) SWIG_AsInt(obj2
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35047 arg4
= (int) SWIG_AsInt(obj3
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35051 arg5
= (int) SWIG_AsInt(obj4
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35064 Py_INCREF(Py_None
); resultobj
= Py_None
;
35071 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35072 PyObject
*resultobj
;
35073 wxSizer
*arg1
= (wxSizer
*) 0 ;
35075 PyObject
*arg3
= (PyObject
*) 0 ;
35076 int arg4
= (int) 0 ;
35077 int arg5
= (int) 0 ;
35078 int arg6
= (int) 0 ;
35079 PyObject
*arg7
= (PyObject
*) NULL
;
35080 PyObject
* obj0
= 0 ;
35081 PyObject
* obj1
= 0 ;
35082 PyObject
* obj2
= 0 ;
35083 PyObject
* obj3
= 0 ;
35084 PyObject
* obj4
= 0 ;
35085 PyObject
* obj5
= 0 ;
35086 PyObject
* obj6
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35094 arg2
= (int) SWIG_AsInt(obj1
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35098 arg4
= (int) SWIG_AsInt(obj3
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35102 arg5
= (int) SWIG_AsInt(obj4
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35106 arg6
= (int) SWIG_AsInt(obj5
);
35107 if (PyErr_Occurred()) SWIG_fail
;
35113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35114 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 Py_INCREF(Py_None
); resultobj
= Py_None
;
35126 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
;
35128 wxSizer
*arg1
= (wxSizer
*) 0 ;
35129 PyObject
*arg2
= (PyObject
*) 0 ;
35130 int arg3
= (int) 0 ;
35131 int arg4
= (int) 0 ;
35132 int arg5
= (int) 0 ;
35133 PyObject
*arg6
= (PyObject
*) NULL
;
35134 PyObject
* obj0
= 0 ;
35135 PyObject
* obj1
= 0 ;
35136 PyObject
* obj2
= 0 ;
35137 PyObject
* obj3
= 0 ;
35138 PyObject
* obj4
= 0 ;
35139 PyObject
* obj5
= 0 ;
35140 char *kwnames
[] = {
35141 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35149 arg3
= (int) SWIG_AsInt(obj2
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35153 arg4
= (int) SWIG_AsInt(obj3
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35157 arg5
= (int) SWIG_AsInt(obj4
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 Py_INCREF(Py_None
); resultobj
= Py_None
;
35177 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
;
35179 wxSizer
*arg1
= (wxSizer
*) 0 ;
35180 PyObject
*arg2
= (PyObject
*) 0 ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self",(char *) "item", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35208 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35209 PyObject
*resultobj
;
35210 wxSizer
*arg1
= (wxSizer
*) 0 ;
35211 PyObject
*arg2
= (PyObject
*) 0 ;
35213 PyObject
* obj0
= 0 ;
35214 PyObject
* obj1
= 0 ;
35215 char *kwnames
[] = {
35216 (char *) "self",(char *) "item", NULL
35219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35225 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35227 wxPyEndAllowThreads(__tstate
);
35228 if (PyErr_Occurred()) SWIG_fail
;
35231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35239 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
;
35241 wxSizer
*arg1
= (wxSizer
*) 0 ;
35242 PyObject
*arg2
= (PyObject
*) 0 ;
35245 PyObject
* obj0
= 0 ;
35246 PyObject
* obj1
= 0 ;
35247 PyObject
* obj2
= 0 ;
35248 char *kwnames
[] = {
35249 (char *) "self",(char *) "item",(char *) "size", NULL
35252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35258 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 Py_INCREF(Py_None
); resultobj
= Py_None
;
35274 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
;
35276 wxSizer
*arg1
= (wxSizer
*) 0 ;
35277 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35278 PyObject
* obj0
= 0 ;
35279 PyObject
* obj1
= 0 ;
35280 char *kwnames
[] = {
35281 (char *) "self",(char *) "item", NULL
35284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 Py_INCREF(Py_None
); resultobj
= Py_None
;
35303 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxSizer
*arg1
= (wxSizer
*) 0 ;
35307 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 PyObject
* obj2
= 0 ;
35311 char *kwnames
[] = {
35312 (char *) "self",(char *) "index",(char *) "item", NULL
35315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35318 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35320 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 (arg1
)->Insert(arg2
,arg3
);
35326 wxPyEndAllowThreads(__tstate
);
35327 if (PyErr_Occurred()) SWIG_fail
;
35329 Py_INCREF(Py_None
); resultobj
= Py_None
;
35336 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35337 PyObject
*resultobj
;
35338 wxSizer
*arg1
= (wxSizer
*) 0 ;
35339 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35340 PyObject
* obj0
= 0 ;
35341 PyObject
* obj1
= 0 ;
35342 char *kwnames
[] = {
35343 (char *) "self",(char *) "item", NULL
35346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35353 (arg1
)->Prepend(arg2
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 Py_INCREF(Py_None
); resultobj
= Py_None
;
35365 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
;
35367 wxSizer
*arg1
= (wxSizer
*) 0 ;
35372 PyObject
* obj0
= 0 ;
35373 PyObject
* obj1
= 0 ;
35374 PyObject
* obj2
= 0 ;
35375 PyObject
* obj3
= 0 ;
35376 PyObject
* obj4
= 0 ;
35377 char *kwnames
[] = {
35378 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35384 arg2
= (int) SWIG_AsInt(obj1
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35386 arg3
= (int) SWIG_AsInt(obj2
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35388 arg4
= (int) SWIG_AsInt(obj3
);
35389 if (PyErr_Occurred()) SWIG_fail
;
35390 arg5
= (int) SWIG_AsInt(obj4
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 Py_INCREF(Py_None
); resultobj
= Py_None
;
35406 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
;
35408 wxSizer
*arg1
= (wxSizer
*) 0 ;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self",(char *) "size", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35431 Py_INCREF(Py_None
); resultobj
= Py_None
;
35438 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35439 PyObject
*resultobj
;
35440 wxSizer
*arg1
= (wxSizer
*) 0 ;
35442 PyObject
* obj0
= 0 ;
35443 char *kwnames
[] = {
35444 (char *) "self", NULL
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= (arg1
)->GetSize();
35454 wxPyEndAllowThreads(__tstate
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35458 wxSize
* resultptr
;
35459 resultptr
= new wxSize((wxSize
&) result
);
35460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35468 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
;
35470 wxSizer
*arg1
= (wxSizer
*) 0 ;
35472 PyObject
* obj0
= 0 ;
35473 char *kwnames
[] = {
35474 (char *) "self", NULL
35477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 result
= (arg1
)->GetPosition();
35484 wxPyEndAllowThreads(__tstate
);
35485 if (PyErr_Occurred()) SWIG_fail
;
35488 wxPoint
* resultptr
;
35489 resultptr
= new wxPoint((wxPoint
&) result
);
35490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35498 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35499 PyObject
*resultobj
;
35500 wxSizer
*arg1
= (wxSizer
*) 0 ;
35502 PyObject
* obj0
= 0 ;
35503 char *kwnames
[] = {
35504 (char *) "self", NULL
35507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 result
= (arg1
)->GetMinSize();
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35518 wxSize
* resultptr
;
35519 resultptr
= new wxSize((wxSize
&) result
);
35520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35528 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35529 PyObject
*resultobj
;
35530 wxSizer
*arg1
= (wxSizer
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 char *kwnames
[] = {
35533 (char *) "self", NULL
35536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 (arg1
)->RecalcSizes();
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 Py_INCREF(Py_None
); resultobj
= Py_None
;
35553 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxSizer
*arg1
= (wxSizer
*) 0 ;
35557 PyObject
* obj0
= 0 ;
35558 char *kwnames
[] = {
35559 (char *) "self", NULL
35562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 result
= (arg1
)->CalcMin();
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 wxSize
* resultptr
;
35574 resultptr
= new wxSize((wxSize
&) result
);
35575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35583 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxSizer
*arg1
= (wxSizer
*) 0 ;
35586 PyObject
* obj0
= 0 ;
35587 char *kwnames
[] = {
35588 (char *) "self", NULL
35591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 Py_INCREF(Py_None
); resultobj
= Py_None
;
35608 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
;
35610 wxSizer
*arg1
= (wxSizer
*) 0 ;
35611 wxWindow
*arg2
= (wxWindow
*) 0 ;
35613 PyObject
* obj0
= 0 ;
35614 PyObject
* obj1
= 0 ;
35615 char *kwnames
[] = {
35616 (char *) "self",(char *) "window", NULL
35619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (arg1
)->Fit(arg2
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35632 wxSize
* resultptr
;
35633 resultptr
= new wxSize((wxSize
&) result
);
35634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35642 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
;
35644 wxSizer
*arg1
= (wxSizer
*) 0 ;
35645 wxWindow
*arg2
= (wxWindow
*) 0 ;
35646 PyObject
* obj0
= 0 ;
35647 PyObject
* obj1
= 0 ;
35648 char *kwnames
[] = {
35649 (char *) "self",(char *) "window", NULL
35652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 (arg1
)->FitInside(arg2
);
35661 wxPyEndAllowThreads(__tstate
);
35662 if (PyErr_Occurred()) SWIG_fail
;
35664 Py_INCREF(Py_None
); resultobj
= Py_None
;
35671 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35672 PyObject
*resultobj
;
35673 wxSizer
*arg1
= (wxSizer
*) 0 ;
35674 wxWindow
*arg2
= (wxWindow
*) 0 ;
35675 PyObject
* obj0
= 0 ;
35676 PyObject
* obj1
= 0 ;
35677 char *kwnames
[] = {
35678 (char *) "self",(char *) "window", NULL
35681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 (arg1
)->SetSizeHints(arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 Py_INCREF(Py_None
); resultobj
= Py_None
;
35700 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxSizer
*arg1
= (wxSizer
*) 0 ;
35703 wxWindow
*arg2
= (wxWindow
*) 0 ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self",(char *) "window", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 (arg1
)->SetVirtualSizeHints(arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 Py_INCREF(Py_None
); resultobj
= Py_None
;
35729 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxSizer
*arg1
= (wxSizer
*) 0 ;
35732 bool arg2
= (bool) False
;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self",(char *) "delete_windows", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35743 arg2
= (bool) SWIG_AsBool(obj1
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 (arg1
)->Clear(arg2
);
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 Py_INCREF(Py_None
); resultobj
= Py_None
;
35760 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35761 PyObject
*resultobj
;
35762 wxSizer
*arg1
= (wxSizer
*) 0 ;
35763 PyObject
* obj0
= 0 ;
35764 char *kwnames
[] = {
35765 (char *) "self", NULL
35768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 (arg1
)->DeleteWindows();
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35778 Py_INCREF(Py_None
); resultobj
= Py_None
;
35785 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35786 PyObject
*resultobj
;
35787 wxSizer
*arg1
= (wxSizer
*) 0 ;
35789 PyObject
* obj0
= 0 ;
35790 char *kwnames
[] = {
35791 (char *) "self", NULL
35794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35799 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 resultobj
= result
;
35811 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxSizer
*arg1
= (wxSizer
*) 0 ;
35814 PyObject
*arg2
= (PyObject
*) 0 ;
35815 bool arg3
= (bool) True
;
35816 PyObject
* obj0
= 0 ;
35817 PyObject
* obj1
= 0 ;
35818 PyObject
* obj2
= 0 ;
35819 char *kwnames
[] = {
35820 (char *) "self",(char *) "item",(char *) "show", NULL
35823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35828 arg3
= (bool) SWIG_AsBool(obj2
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 wxSizer_Show(arg1
,arg2
,arg3
);
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 Py_INCREF(Py_None
); resultobj
= Py_None
;
35845 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35846 PyObject
*resultobj
;
35847 wxSizer
*arg1
= (wxSizer
*) 0 ;
35848 PyObject
*arg2
= (PyObject
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "item", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 wxSizer_Hide(arg1
,arg2
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 Py_INCREF(Py_None
); resultobj
= Py_None
;
35873 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
;
35875 wxSizer
*arg1
= (wxSizer
*) 0 ;
35876 PyObject
*arg2
= (PyObject
*) 0 ;
35878 PyObject
* obj0
= 0 ;
35879 PyObject
* obj1
= 0 ;
35880 char *kwnames
[] = {
35881 (char *) "self",(char *) "item", NULL
35884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35904 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
;
35906 wxSizer
*arg1
= (wxSizer
*) 0 ;
35908 PyObject
* obj0
= 0 ;
35909 PyObject
* obj1
= 0 ;
35910 char *kwnames
[] = {
35911 (char *) "self",(char *) "show", NULL
35914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35917 arg2
= (bool) SWIG_AsBool(obj1
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35921 (arg1
)->ShowItems(arg2
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 Py_INCREF(Py_None
); resultobj
= Py_None
;
35933 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35936 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35938 return Py_BuildValue((char *)"");
35940 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35941 PyObject
*resultobj
;
35943 char *kwnames
[] = {
35947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 result
= (wxPySizer
*)new wxPySizer();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35962 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
;
35964 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35965 PyObject
*arg2
= (PyObject
*) 0 ;
35966 PyObject
*arg3
= (PyObject
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 PyObject
* obj2
= 0 ;
35970 char *kwnames
[] = {
35971 (char *) "self",(char *) "self",(char *) "_class", NULL
35974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 Py_INCREF(Py_None
); resultobj
= Py_None
;
35993 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35996 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35998 return Py_BuildValue((char *)"");
36000 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
;
36002 int arg1
= (int) wxHORIZONTAL
;
36003 wxBoxSizer
*result
;
36004 PyObject
* obj0
= 0 ;
36005 char *kwnames
[] = {
36006 (char *) "orient", NULL
36009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36011 arg1
= (int) SWIG_AsInt(obj0
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36016 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36018 wxPyEndAllowThreads(__tstate
);
36019 if (PyErr_Occurred()) SWIG_fail
;
36021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36028 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36029 PyObject
*resultobj
;
36030 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36032 PyObject
* obj0
= 0 ;
36033 char *kwnames
[] = {
36034 (char *) "self", NULL
36037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 result
= (int)(arg1
)->GetOrientation();
36044 wxPyEndAllowThreads(__tstate
);
36045 if (PyErr_Occurred()) SWIG_fail
;
36047 resultobj
= SWIG_FromInt((int)result
);
36054 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36055 PyObject
*resultobj
;
36056 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36058 PyObject
* obj0
= 0 ;
36059 PyObject
* obj1
= 0 ;
36060 char *kwnames
[] = {
36061 (char *) "self",(char *) "orient", NULL
36064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36067 arg2
= (int) SWIG_AsInt(obj1
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 (arg1
)->SetOrientation(arg2
);
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36076 Py_INCREF(Py_None
); resultobj
= Py_None
;
36083 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36084 PyObject
*resultobj
;
36085 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36086 PyObject
* obj0
= 0 ;
36087 char *kwnames
[] = {
36088 (char *) "self", NULL
36091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 (arg1
)->RecalcSizes();
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36101 Py_INCREF(Py_None
); resultobj
= Py_None
;
36108 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
;
36110 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36112 PyObject
* obj0
= 0 ;
36113 char *kwnames
[] = {
36114 (char *) "self", NULL
36117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36122 result
= (arg1
)->CalcMin();
36124 wxPyEndAllowThreads(__tstate
);
36125 if (PyErr_Occurred()) SWIG_fail
;
36128 wxSize
* resultptr
;
36129 resultptr
= new wxSize((wxSize
&) result
);
36130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36138 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36141 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36143 return Py_BuildValue((char *)"");
36145 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36146 PyObject
*resultobj
;
36147 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36148 int arg2
= (int) wxHORIZONTAL
;
36149 wxStaticBoxSizer
*result
;
36150 PyObject
* obj0
= 0 ;
36151 PyObject
* obj1
= 0 ;
36152 char *kwnames
[] = {
36153 (char *) "box",(char *) "orient", NULL
36156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36160 arg2
= (int) SWIG_AsInt(obj1
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36177 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
;
36179 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36180 wxStaticBox
*result
;
36181 PyObject
* obj0
= 0 ;
36182 char *kwnames
[] = {
36183 (char *) "self", NULL
36186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36191 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= wxPyMake_wxObject(result
);
36205 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36206 PyObject
*resultobj
;
36207 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36208 PyObject
* obj0
= 0 ;
36209 char *kwnames
[] = {
36210 (char *) "self", NULL
36213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 (arg1
)->RecalcSizes();
36220 wxPyEndAllowThreads(__tstate
);
36221 if (PyErr_Occurred()) SWIG_fail
;
36223 Py_INCREF(Py_None
); resultobj
= Py_None
;
36230 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36231 PyObject
*resultobj
;
36232 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36234 PyObject
* obj0
= 0 ;
36235 char *kwnames
[] = {
36236 (char *) "self", NULL
36239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36244 result
= (arg1
)->CalcMin();
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36250 wxSize
* resultptr
;
36251 resultptr
= new wxSize((wxSize
&) result
);
36252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36260 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36263 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36265 return Py_BuildValue((char *)"");
36267 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
;
36269 int arg1
= (int) 1 ;
36270 int arg2
= (int) 0 ;
36271 int arg3
= (int) 0 ;
36272 int arg4
= (int) 0 ;
36273 wxGridSizer
*result
;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 PyObject
* obj3
= 0 ;
36278 char *kwnames
[] = {
36279 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36284 arg1
= (int) SWIG_AsInt(obj0
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36288 arg2
= (int) SWIG_AsInt(obj1
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36292 arg3
= (int) SWIG_AsInt(obj2
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36296 arg4
= (int) SWIG_AsInt(obj3
);
36297 if (PyErr_Occurred()) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36313 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
;
36315 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36316 PyObject
* obj0
= 0 ;
36317 char *kwnames
[] = {
36318 (char *) "self", NULL
36321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->RecalcSizes();
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 char *kwnames
[] = {
36344 (char *) "self", NULL
36347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36352 result
= (arg1
)->CalcMin();
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36358 wxSize
* resultptr
;
36359 resultptr
= new wxSize((wxSize
&) result
);
36360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36368 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
;
36370 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36372 PyObject
* obj0
= 0 ;
36373 PyObject
* obj1
= 0 ;
36374 char *kwnames
[] = {
36375 (char *) "self",(char *) "cols", NULL
36378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36381 arg2
= (int) SWIG_AsInt(obj1
);
36382 if (PyErr_Occurred()) SWIG_fail
;
36384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36385 (arg1
)->SetCols(arg2
);
36387 wxPyEndAllowThreads(__tstate
);
36388 if (PyErr_Occurred()) SWIG_fail
;
36390 Py_INCREF(Py_None
); resultobj
= Py_None
;
36397 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36398 PyObject
*resultobj
;
36399 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 char *kwnames
[] = {
36404 (char *) "self",(char *) "rows", NULL
36407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36410 arg2
= (int) SWIG_AsInt(obj1
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36414 (arg1
)->SetRows(arg2
);
36416 wxPyEndAllowThreads(__tstate
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36419 Py_INCREF(Py_None
); resultobj
= Py_None
;
36426 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36427 PyObject
*resultobj
;
36428 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self",(char *) "gap", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36439 arg2
= (int) SWIG_AsInt(obj1
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 (arg1
)->SetVGap(arg2
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 Py_INCREF(Py_None
); resultobj
= Py_None
;
36455 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
;
36457 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 char *kwnames
[] = {
36462 (char *) "self",(char *) "gap", NULL
36465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36468 arg2
= (int) SWIG_AsInt(obj1
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->SetHGap(arg2
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 Py_INCREF(Py_None
); resultobj
= Py_None
;
36484 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
;
36486 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36488 PyObject
* obj0
= 0 ;
36489 char *kwnames
[] = {
36490 (char *) "self", NULL
36493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36498 result
= (int)(arg1
)->GetCols();
36500 wxPyEndAllowThreads(__tstate
);
36501 if (PyErr_Occurred()) SWIG_fail
;
36503 resultobj
= SWIG_FromInt((int)result
);
36510 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
;
36512 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36514 PyObject
* obj0
= 0 ;
36515 char *kwnames
[] = {
36516 (char *) "self", NULL
36519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 result
= (int)(arg1
)->GetRows();
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= SWIG_FromInt((int)result
);
36536 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
;
36538 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36540 PyObject
* obj0
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "self", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 result
= (int)(arg1
)->GetVGap();
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36555 resultobj
= SWIG_FromInt((int)result
);
36562 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
;
36564 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36566 PyObject
* obj0
= 0 ;
36567 char *kwnames
[] = {
36568 (char *) "self", NULL
36571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36576 result
= (int)(arg1
)->GetHGap();
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= SWIG_FromInt((int)result
);
36588 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36591 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36593 return Py_BuildValue((char *)"");
36595 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36596 PyObject
*resultobj
;
36597 int arg1
= (int) 1 ;
36598 int arg2
= (int) 0 ;
36599 int arg3
= (int) 0 ;
36600 int arg4
= (int) 0 ;
36601 wxFlexGridSizer
*result
;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36604 PyObject
* obj2
= 0 ;
36605 PyObject
* obj3
= 0 ;
36606 char *kwnames
[] = {
36607 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36612 arg1
= (int) SWIG_AsInt(obj0
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36616 arg2
= (int) SWIG_AsInt(obj1
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36620 arg3
= (int) SWIG_AsInt(obj2
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36624 arg4
= (int) SWIG_AsInt(obj3
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36641 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
;
36643 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36644 PyObject
* obj0
= 0 ;
36645 char *kwnames
[] = {
36646 (char *) "self", NULL
36649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->RecalcSizes();
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 Py_INCREF(Py_None
); resultobj
= Py_None
;
36666 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
;
36668 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 char *kwnames
[] = {
36672 (char *) "self", NULL
36675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 result
= (arg1
)->CalcMin();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36686 wxSize
* resultptr
;
36687 resultptr
= new wxSize((wxSize
&) result
);
36688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36696 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36697 PyObject
*resultobj
;
36698 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36700 int arg3
= (int) 0 ;
36701 PyObject
* obj0
= 0 ;
36702 PyObject
* obj1
= 0 ;
36703 PyObject
* obj2
= 0 ;
36704 char *kwnames
[] = {
36705 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36711 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36714 arg3
= (int) SWIG_AsInt(obj2
);
36715 if (PyErr_Occurred()) SWIG_fail
;
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 (arg1
)->AddGrowableRow(arg2
,arg3
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 Py_INCREF(Py_None
); resultobj
= Py_None
;
36731 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36732 PyObject
*resultobj
;
36733 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 char *kwnames
[] = {
36738 (char *) "self",(char *) "idx", NULL
36741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36744 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 (arg1
)->RemoveGrowableRow(arg2
);
36750 wxPyEndAllowThreads(__tstate
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 Py_INCREF(Py_None
); resultobj
= Py_None
;
36760 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36761 PyObject
*resultobj
;
36762 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36764 int arg3
= (int) 0 ;
36765 PyObject
* obj0
= 0 ;
36766 PyObject
* obj1
= 0 ;
36767 PyObject
* obj2
= 0 ;
36768 char *kwnames
[] = {
36769 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36775 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 arg3
= (int) SWIG_AsInt(obj2
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 (arg1
)->AddGrowableCol(arg2
,arg3
);
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 Py_INCREF(Py_None
); resultobj
= Py_None
;
36795 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36796 PyObject
*resultobj
;
36797 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 char *kwnames
[] = {
36802 (char *) "self",(char *) "idx", NULL
36805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36808 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36812 (arg1
)->RemoveGrowableCol(arg2
);
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36817 Py_INCREF(Py_None
); resultobj
= Py_None
;
36824 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36825 PyObject
*resultobj
;
36826 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36828 PyObject
* obj0
= 0 ;
36829 PyObject
* obj1
= 0 ;
36830 char *kwnames
[] = {
36831 (char *) "self",(char *) "direction", NULL
36834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36837 arg2
= (int) SWIG_AsInt(obj1
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->SetFlexibleDirection(arg2
);
36843 wxPyEndAllowThreads(__tstate
);
36844 if (PyErr_Occurred()) SWIG_fail
;
36846 Py_INCREF(Py_None
); resultobj
= Py_None
;
36853 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36854 PyObject
*resultobj
;
36855 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36857 PyObject
* obj0
= 0 ;
36858 char *kwnames
[] = {
36859 (char *) "self", NULL
36862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 result
= (int)(arg1
)->GetFlexibleDirection();
36869 wxPyEndAllowThreads(__tstate
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36872 resultobj
= SWIG_FromInt((int)result
);
36879 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36880 PyObject
*resultobj
;
36881 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36883 PyObject
* obj0
= 0 ;
36884 PyObject
* obj1
= 0 ;
36885 char *kwnames
[] = {
36886 (char *) "self",(char *) "mode", NULL
36889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36892 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 Py_INCREF(Py_None
); resultobj
= Py_None
;
36908 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36912 PyObject
* obj0
= 0 ;
36913 char *kwnames
[] = {
36914 (char *) "self", NULL
36917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36924 wxPyEndAllowThreads(__tstate
);
36925 if (PyErr_Occurred()) SWIG_fail
;
36927 resultobj
= SWIG_FromInt((int)result
);
36934 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36935 PyObject
*resultobj
;
36936 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36937 wxArrayInt
*result
;
36938 PyObject
* obj0
= 0 ;
36939 char *kwnames
[] = {
36940 (char *) "self", NULL
36943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36949 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36950 result
= (wxArrayInt
*) &_result_ref
;
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36957 resultobj
= PyList_New(0);
36959 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36960 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36961 PyList_Append(resultobj
, val
);
36971 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
;
36973 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36974 wxArrayInt
*result
;
36975 PyObject
* obj0
= 0 ;
36976 char *kwnames
[] = {
36977 (char *) "self", NULL
36980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36987 result
= (wxArrayInt
*) &_result_ref
;
36990 wxPyEndAllowThreads(__tstate
);
36991 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= PyList_New(0);
36996 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36997 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36998 PyList_Append(resultobj
, val
);
37008 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37011 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37013 return Py_BuildValue((char *)"");
37015 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37016 PyObject
*resultobj
;
37017 int arg1
= (int) 0 ;
37018 int arg2
= (int) 0 ;
37019 wxGBPosition
*result
;
37020 PyObject
* obj0
= 0 ;
37021 PyObject
* obj1
= 0 ;
37022 char *kwnames
[] = {
37023 (char *) "row",(char *) "col", NULL
37026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37028 arg1
= (int) SWIG_AsInt(obj0
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37032 arg2
= (int) SWIG_AsInt(obj1
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37049 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
;
37051 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37053 PyObject
* obj0
= 0 ;
37054 char *kwnames
[] = {
37055 (char *) "self", NULL
37058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_FromInt((int)result
);
37075 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37076 PyObject
*resultobj
;
37077 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37079 PyObject
* obj0
= 0 ;
37080 char *kwnames
[] = {
37081 (char *) "self", NULL
37084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37089 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37091 wxPyEndAllowThreads(__tstate
);
37092 if (PyErr_Occurred()) SWIG_fail
;
37094 resultobj
= SWIG_FromInt((int)result
);
37101 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
;
37103 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37105 PyObject
* obj0
= 0 ;
37106 PyObject
* obj1
= 0 ;
37107 char *kwnames
[] = {
37108 (char *) "self",(char *) "row", NULL
37111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37114 arg2
= (int) SWIG_AsInt(obj1
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->SetRow(arg2
);
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37123 Py_INCREF(Py_None
); resultobj
= Py_None
;
37130 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 char *kwnames
[] = {
37137 (char *) "self",(char *) "col", NULL
37140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37143 arg2
= (int) SWIG_AsInt(obj1
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->SetCol(arg2
);
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37152 Py_INCREF(Py_None
); resultobj
= Py_None
;
37159 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37160 PyObject
*resultobj
;
37161 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37162 wxGBPosition
*arg2
= 0 ;
37164 wxGBPosition temp2
;
37165 PyObject
* obj0
= 0 ;
37166 PyObject
* obj1
= 0 ;
37167 char *kwnames
[] = {
37168 (char *) "self",(char *) "other", NULL
37171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37176 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37182 wxPyEndAllowThreads(__tstate
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37194 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37197 wxGBPosition
*arg2
= 0 ;
37199 wxGBPosition temp2
;
37200 PyObject
* obj0
= 0 ;
37201 PyObject
* obj1
= 0 ;
37202 char *kwnames
[] = {
37203 (char *) "self",(char *) "other", NULL
37206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37211 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37229 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
;
37231 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37232 int arg2
= (int) 0 ;
37233 int arg3
= (int) 0 ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 PyObject
* obj2
= 0 ;
37237 char *kwnames
[] = {
37238 (char *) "self",(char *) "row",(char *) "col", NULL
37241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37245 arg2
= (int) SWIG_AsInt(obj1
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37249 arg3
= (int) SWIG_AsInt(obj2
);
37250 if (PyErr_Occurred()) SWIG_fail
;
37253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 wxGBPosition_Set(arg1
,arg2
,arg3
);
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37259 Py_INCREF(Py_None
); resultobj
= Py_None
;
37266 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37267 PyObject
*resultobj
;
37268 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37270 PyObject
* obj0
= 0 ;
37271 char *kwnames
[] = {
37272 (char *) "self", NULL
37275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= result
;
37292 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37295 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37297 return Py_BuildValue((char *)"");
37299 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
;
37301 int arg1
= (int) 1 ;
37302 int arg2
= (int) 1 ;
37304 PyObject
* obj0
= 0 ;
37305 PyObject
* obj1
= 0 ;
37306 char *kwnames
[] = {
37307 (char *) "rowspan",(char *) "colspan", NULL
37310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37312 arg1
= (int) SWIG_AsInt(obj0
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37316 arg2
= (int) SWIG_AsInt(obj1
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37323 wxPyEndAllowThreads(__tstate
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37333 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37334 PyObject
*resultobj
;
37335 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37337 PyObject
* obj0
= 0 ;
37338 char *kwnames
[] = {
37339 (char *) "self", NULL
37342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37352 resultobj
= SWIG_FromInt((int)result
);
37359 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37360 PyObject
*resultobj
;
37361 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37363 PyObject
* obj0
= 0 ;
37364 char *kwnames
[] = {
37365 (char *) "self", NULL
37368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37373 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37375 wxPyEndAllowThreads(__tstate
);
37376 if (PyErr_Occurred()) SWIG_fail
;
37378 resultobj
= SWIG_FromInt((int)result
);
37385 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37386 PyObject
*resultobj
;
37387 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37389 PyObject
* obj0
= 0 ;
37390 PyObject
* obj1
= 0 ;
37391 char *kwnames
[] = {
37392 (char *) "self",(char *) "rowspan", NULL
37395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37398 arg2
= (int) SWIG_AsInt(obj1
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37402 (arg1
)->SetRowspan(arg2
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37407 Py_INCREF(Py_None
); resultobj
= Py_None
;
37414 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37415 PyObject
*resultobj
;
37416 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37418 PyObject
* obj0
= 0 ;
37419 PyObject
* obj1
= 0 ;
37420 char *kwnames
[] = {
37421 (char *) "self",(char *) "colspan", NULL
37424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37427 arg2
= (int) SWIG_AsInt(obj1
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37431 (arg1
)->SetColspan(arg2
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 Py_INCREF(Py_None
); resultobj
= Py_None
;
37443 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
;
37445 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37446 wxGBSpan
*arg2
= 0 ;
37449 PyObject
* obj0
= 0 ;
37450 PyObject
* obj1
= 0 ;
37451 char *kwnames
[] = {
37452 (char *) "self",(char *) "other", NULL
37455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37460 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37464 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37466 wxPyEndAllowThreads(__tstate
);
37467 if (PyErr_Occurred()) SWIG_fail
;
37470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37478 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37481 wxGBSpan
*arg2
= 0 ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char *kwnames
[] = {
37487 (char *) "self",(char *) "other", NULL
37490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37495 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37513 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37514 PyObject
*resultobj
;
37515 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37516 int arg2
= (int) 1 ;
37517 int arg3
= (int) 1 ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 PyObject
* obj2
= 0 ;
37521 char *kwnames
[] = {
37522 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37529 arg2
= (int) SWIG_AsInt(obj1
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37533 arg3
= (int) SWIG_AsInt(obj2
);
37534 if (PyErr_Occurred()) SWIG_fail
;
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 wxGBSpan_Set(arg1
,arg2
,arg3
);
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 Py_INCREF(Py_None
); resultobj
= Py_None
;
37550 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
;
37552 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37554 PyObject
* obj0
= 0 ;
37555 char *kwnames
[] = {
37556 (char *) "self", NULL
37559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37564 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37566 wxPyEndAllowThreads(__tstate
);
37567 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= result
;
37576 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37579 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37581 return Py_BuildValue((char *)"");
37583 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37584 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37589 static PyObject
*_wrap_DefaultSpan_get() {
37592 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37597 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37598 PyObject
*resultobj
;
37599 wxGBSizerItem
*result
;
37600 char *kwnames
[] = {
37604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37619 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
;
37621 wxWindow
*arg1
= (wxWindow
*) 0 ;
37622 wxGBPosition
*arg2
= 0 ;
37623 wxGBSpan
*arg3
= 0 ;
37626 wxObject
*arg6
= (wxObject
*) 0 ;
37627 wxGBSizerItem
*result
;
37628 wxGBPosition temp2
;
37630 PyObject
* obj0
= 0 ;
37631 PyObject
* obj1
= 0 ;
37632 PyObject
* obj2
= 0 ;
37633 PyObject
* obj3
= 0 ;
37634 PyObject
* obj4
= 0 ;
37635 PyObject
* obj5
= 0 ;
37636 char *kwnames
[] = {
37637 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37645 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37649 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37651 arg4
= (int) SWIG_AsInt(obj3
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37653 arg5
= (int) SWIG_AsInt(obj4
);
37654 if (PyErr_Occurred()) SWIG_fail
;
37655 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37671 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
;
37673 wxSizer
*arg1
= (wxSizer
*) 0 ;
37674 wxGBPosition
*arg2
= 0 ;
37675 wxGBSpan
*arg3
= 0 ;
37678 wxObject
*arg6
= (wxObject
*) 0 ;
37679 wxGBSizerItem
*result
;
37680 wxGBPosition temp2
;
37682 PyObject
* obj0
= 0 ;
37683 PyObject
* obj1
= 0 ;
37684 PyObject
* obj2
= 0 ;
37685 PyObject
* obj3
= 0 ;
37686 PyObject
* obj4
= 0 ;
37687 PyObject
* obj5
= 0 ;
37688 char *kwnames
[] = {
37689 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37697 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37701 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37703 arg4
= (int) SWIG_AsInt(obj3
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37705 arg5
= (int) SWIG_AsInt(obj4
);
37706 if (PyErr_Occurred()) SWIG_fail
;
37707 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37711 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37723 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37724 PyObject
*resultobj
;
37727 wxGBPosition
*arg3
= 0 ;
37728 wxGBSpan
*arg4
= 0 ;
37731 wxObject
*arg7
= (wxObject
*) 0 ;
37732 wxGBSizerItem
*result
;
37733 wxGBPosition temp3
;
37735 PyObject
* obj0
= 0 ;
37736 PyObject
* obj1
= 0 ;
37737 PyObject
* obj2
= 0 ;
37738 PyObject
* obj3
= 0 ;
37739 PyObject
* obj4
= 0 ;
37740 PyObject
* obj5
= 0 ;
37741 PyObject
* obj6
= 0 ;
37742 char *kwnames
[] = {
37743 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37747 arg1
= (int) SWIG_AsInt(obj0
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37749 arg2
= (int) SWIG_AsInt(obj1
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37753 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37757 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37759 arg5
= (int) SWIG_AsInt(obj4
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37761 arg6
= (int) SWIG_AsInt(obj5
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37763 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37767 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37779 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37780 PyObject
*resultobj
;
37781 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37782 wxGBPosition result
;
37783 PyObject
* obj0
= 0 ;
37784 char *kwnames
[] = {
37785 (char *) "self", NULL
37788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37799 wxGBPosition
* resultptr
;
37800 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37809 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
;
37811 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37813 PyObject
* obj0
= 0 ;
37814 char *kwnames
[] = {
37815 (char *) "self", NULL
37818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37829 wxGBSpan
* resultptr
;
37830 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37839 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
;
37841 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37842 wxGBPosition
*arg2
= 0 ;
37844 wxGBPosition temp2
;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 char *kwnames
[] = {
37848 (char *) "self",(char *) "pos", NULL
37851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37856 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37874 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37875 PyObject
*resultobj
;
37876 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37877 wxGBSpan
*arg2
= 0 ;
37880 PyObject
* obj0
= 0 ;
37881 PyObject
* obj1
= 0 ;
37882 char *kwnames
[] = {
37883 (char *) "self",(char *) "span", NULL
37886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37891 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37909 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37910 PyObject
*resultobj
;
37911 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37912 wxGBSizerItem
*arg2
= 0 ;
37914 PyObject
* obj0
= 0 ;
37915 PyObject
* obj1
= 0 ;
37917 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37923 if (arg2
== NULL
) {
37924 PyErr_SetString(PyExc_TypeError
,"null reference");
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37943 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37944 PyObject
*resultobj
;
37945 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37946 wxGBPosition
*arg2
= 0 ;
37947 wxGBSpan
*arg3
= 0 ;
37949 wxGBPosition temp2
;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 PyObject
* obj2
= 0 ;
37955 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37960 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37964 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37982 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37987 argc
= PyObject_Length(args
);
37988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37995 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38005 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38013 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38021 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38030 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38034 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38037 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38043 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38048 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38049 PyObject
*resultobj
;
38050 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38053 PyObject
* obj0
= 0 ;
38054 PyObject
* obj1
= 0 ;
38055 PyObject
* obj2
= 0 ;
38056 char *kwnames
[] = {
38057 (char *) "self",(char *) "row",(char *) "col", NULL
38060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38066 if (arg2
== NULL
) {
38067 PyErr_SetString(PyExc_TypeError
,"null reference");
38070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38073 if (arg3
== NULL
) {
38074 PyErr_SetString(PyExc_TypeError
,"null reference");
38078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38079 (arg1
)->GetEndPos(*arg2
,*arg3
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 Py_INCREF(Py_None
); resultobj
= Py_None
;
38091 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
;
38093 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38094 wxGridBagSizer
*result
;
38095 PyObject
* obj0
= 0 ;
38096 char *kwnames
[] = {
38097 (char *) "self", NULL
38100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38117 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38118 PyObject
*resultobj
;
38119 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38120 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38121 PyObject
* obj0
= 0 ;
38122 PyObject
* obj1
= 0 ;
38123 char *kwnames
[] = {
38124 (char *) "self",(char *) "sizer", NULL
38127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38134 (arg1
)->SetGBSizer(arg2
);
38136 wxPyEndAllowThreads(__tstate
);
38137 if (PyErr_Occurred()) SWIG_fail
;
38139 Py_INCREF(Py_None
); resultobj
= Py_None
;
38146 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38149 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38151 return Py_BuildValue((char *)"");
38153 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
;
38155 int arg1
= (int) 0 ;
38156 int arg2
= (int) 0 ;
38157 wxGridBagSizer
*result
;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 char *kwnames
[] = {
38161 (char *) "vgap",(char *) "hgap", NULL
38164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38166 arg1
= (int) SWIG_AsInt(obj0
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38170 arg2
= (int) SWIG_AsInt(obj1
);
38171 if (PyErr_Occurred()) SWIG_fail
;
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38187 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
;
38189 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38190 PyObject
*arg2
= (PyObject
*) 0 ;
38191 wxGBPosition
*arg3
= 0 ;
38192 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38193 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38194 int arg5
= (int) 0 ;
38195 int arg6
= (int) 0 ;
38196 PyObject
*arg7
= (PyObject
*) NULL
;
38198 wxGBPosition temp3
;
38200 PyObject
* obj0
= 0 ;
38201 PyObject
* obj1
= 0 ;
38202 PyObject
* obj2
= 0 ;
38203 PyObject
* obj3
= 0 ;
38204 PyObject
* obj4
= 0 ;
38205 PyObject
* obj5
= 0 ;
38206 PyObject
* obj6
= 0 ;
38207 char *kwnames
[] = {
38208 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38217 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38222 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38226 arg5
= (int) SWIG_AsInt(obj4
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38230 arg6
= (int) SWIG_AsInt(obj5
);
38231 if (PyErr_Occurred()) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38252 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
;
38254 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38255 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38257 PyObject
* obj0
= 0 ;
38258 PyObject
* obj1
= 0 ;
38259 char *kwnames
[] = {
38260 (char *) "self",(char *) "item", NULL
38263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38270 result
= (bool)(arg1
)->Add(arg2
);
38272 wxPyEndAllowThreads(__tstate
);
38273 if (PyErr_Occurred()) SWIG_fail
;
38276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38284 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38285 PyObject
*resultobj
;
38286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38288 PyObject
* obj0
= 0 ;
38289 char *kwnames
[] = {
38290 (char *) "self", NULL
38293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38298 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38300 wxPyEndAllowThreads(__tstate
);
38301 if (PyErr_Occurred()) SWIG_fail
;
38304 wxSize
* resultptr
;
38305 resultptr
= new wxSize((wxSize
&) result
);
38306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38314 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
;
38316 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38319 PyObject
* obj0
= 0 ;
38320 PyObject
* obj1
= 0 ;
38321 char *kwnames
[] = {
38322 (char *) "self",(char *) "sz", NULL
38325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 Py_INCREF(Py_None
); resultobj
= Py_None
;
38346 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38347 PyObject
*resultobj
;
38348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38349 wxWindow
*arg2
= (wxWindow
*) 0 ;
38350 wxGBPosition result
;
38351 PyObject
* obj0
= 0 ;
38352 PyObject
* obj1
= 0 ;
38354 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 result
= (arg1
)->GetItemPosition(arg2
);
38363 wxPyEndAllowThreads(__tstate
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38367 wxGBPosition
* resultptr
;
38368 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38377 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38378 PyObject
*resultobj
;
38379 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38380 wxSizer
*arg2
= (wxSizer
*) 0 ;
38381 wxGBPosition result
;
38382 PyObject
* obj0
= 0 ;
38383 PyObject
* obj1
= 0 ;
38385 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 result
= (arg1
)->GetItemPosition(arg2
);
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38398 wxGBPosition
* resultptr
;
38399 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38408 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38409 PyObject
*resultobj
;
38410 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38412 wxGBPosition result
;
38413 PyObject
* obj0
= 0 ;
38414 PyObject
* obj1
= 0 ;
38416 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38419 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38423 result
= (arg1
)->GetItemPosition(arg2
);
38425 wxPyEndAllowThreads(__tstate
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38429 wxGBPosition
* resultptr
;
38430 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38439 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38444 argc
= PyObject_Length(args
);
38445 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38446 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38452 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38462 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38470 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38478 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38488 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38496 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38512 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38514 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38519 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38524 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38525 PyObject
*resultobj
;
38526 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38527 wxWindow
*arg2
= (wxWindow
*) 0 ;
38528 wxGBPosition
*arg3
= 0 ;
38530 wxGBPosition temp3
;
38531 PyObject
* obj0
= 0 ;
38532 PyObject
* obj1
= 0 ;
38533 PyObject
* obj2
= 0 ;
38535 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38542 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38548 wxPyEndAllowThreads(__tstate
);
38549 if (PyErr_Occurred()) SWIG_fail
;
38552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38560 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38561 PyObject
*resultobj
;
38562 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38563 wxSizer
*arg2
= (wxSizer
*) 0 ;
38564 wxGBPosition
*arg3
= 0 ;
38566 wxGBPosition temp3
;
38567 PyObject
* obj0
= 0 ;
38568 PyObject
* obj1
= 0 ;
38569 PyObject
* obj2
= 0 ;
38571 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38578 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38596 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38597 PyObject
*resultobj
;
38598 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38600 wxGBPosition
*arg3
= 0 ;
38602 wxGBPosition temp3
;
38603 PyObject
* obj0
= 0 ;
38604 PyObject
* obj1
= 0 ;
38605 PyObject
* obj2
= 0 ;
38607 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38610 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38611 if (PyErr_Occurred()) SWIG_fail
;
38614 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38620 wxPyEndAllowThreads(__tstate
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38632 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38637 argc
= PyObject_Length(args
);
38638 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38639 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38655 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38664 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38667 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38686 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38695 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38698 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38715 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38718 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38721 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38727 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38732 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38733 PyObject
*resultobj
;
38734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38735 wxWindow
*arg2
= (wxWindow
*) 0 ;
38737 PyObject
* obj0
= 0 ;
38738 PyObject
* obj1
= 0 ;
38740 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 result
= (arg1
)->GetItemSpan(arg2
);
38749 wxPyEndAllowThreads(__tstate
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38753 wxGBSpan
* resultptr
;
38754 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38763 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38764 PyObject
*resultobj
;
38765 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38766 wxSizer
*arg2
= (wxSizer
*) 0 ;
38768 PyObject
* obj0
= 0 ;
38769 PyObject
* obj1
= 0 ;
38771 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38778 result
= (arg1
)->GetItemSpan(arg2
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38784 wxGBSpan
* resultptr
;
38785 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38794 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38795 PyObject
*resultobj
;
38796 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38802 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38805 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 result
= (arg1
)->GetItemSpan(arg2
);
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38815 wxGBSpan
* resultptr
;
38816 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38825 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38830 argc
= PyObject_Length(args
);
38831 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38832 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38838 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38848 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38856 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38864 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38874 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38882 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38898 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38900 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38905 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38910 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38911 PyObject
*resultobj
;
38912 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38913 wxWindow
*arg2
= (wxWindow
*) 0 ;
38914 wxGBSpan
*arg3
= 0 ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38921 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38928 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38932 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38934 wxPyEndAllowThreads(__tstate
);
38935 if (PyErr_Occurred()) SWIG_fail
;
38938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38946 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38947 PyObject
*resultobj
;
38948 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38949 wxSizer
*arg2
= (wxSizer
*) 0 ;
38950 wxGBSpan
*arg3
= 0 ;
38953 PyObject
* obj0
= 0 ;
38954 PyObject
* obj1
= 0 ;
38955 PyObject
* obj2
= 0 ;
38957 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38964 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38968 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38970 wxPyEndAllowThreads(__tstate
);
38971 if (PyErr_Occurred()) SWIG_fail
;
38974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38982 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38983 PyObject
*resultobj
;
38984 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38986 wxGBSpan
*arg3
= 0 ;
38989 PyObject
* obj0
= 0 ;
38990 PyObject
* obj1
= 0 ;
38991 PyObject
* obj2
= 0 ;
38993 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38996 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38997 if (PyErr_Occurred()) SWIG_fail
;
39000 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39004 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39006 wxPyEndAllowThreads(__tstate
);
39007 if (PyErr_Occurred()) SWIG_fail
;
39010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39018 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39023 argc
= PyObject_Length(args
);
39024 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39025 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39031 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39041 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39050 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39053 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39072 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39081 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39084 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39101 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39104 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39107 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39113 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39118 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39119 PyObject
*resultobj
;
39120 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39121 wxWindow
*arg2
= (wxWindow
*) 0 ;
39122 wxGBSizerItem
*result
;
39123 PyObject
* obj0
= 0 ;
39124 PyObject
* obj1
= 0 ;
39126 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39133 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39135 wxPyEndAllowThreads(__tstate
);
39136 if (PyErr_Occurred()) SWIG_fail
;
39138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39145 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39146 PyObject
*resultobj
;
39147 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39148 wxSizer
*arg2
= (wxSizer
*) 0 ;
39149 wxGBSizerItem
*result
;
39150 PyObject
* obj0
= 0 ;
39151 PyObject
* obj1
= 0 ;
39153 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39160 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39162 wxPyEndAllowThreads(__tstate
);
39163 if (PyErr_Occurred()) SWIG_fail
;
39165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39172 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39177 argc
= PyObject_Length(args
);
39178 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39179 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39203 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39221 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39229 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39234 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39239 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39240 PyObject
*resultobj
;
39241 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39242 wxGBPosition
*arg2
= 0 ;
39243 wxGBSizerItem
*result
;
39244 wxGBPosition temp2
;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self",(char *) "pos", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39256 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39272 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
;
39274 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39275 wxPoint
*arg2
= 0 ;
39276 wxGBSizerItem
*result
;
39278 PyObject
* obj0
= 0 ;
39279 PyObject
* obj1
= 0 ;
39280 char *kwnames
[] = {
39281 (char *) "self",(char *) "pt", NULL
39284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39305 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39306 PyObject
*resultobj
;
39307 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39308 wxObject
*arg2
= (wxObject
*) 0 ;
39309 wxGBSizerItem
*result
;
39310 PyObject
* obj0
= 0 ;
39311 PyObject
* obj1
= 0 ;
39312 char *kwnames
[] = {
39313 (char *) "self",(char *) "userData", NULL
39316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39323 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39325 wxPyEndAllowThreads(__tstate
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39335 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39336 PyObject
*resultobj
;
39337 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39338 PyObject
* obj0
= 0 ;
39339 char *kwnames
[] = {
39340 (char *) "self", NULL
39343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39348 (arg1
)->RecalcSizes();
39350 wxPyEndAllowThreads(__tstate
);
39351 if (PyErr_Occurred()) SWIG_fail
;
39353 Py_INCREF(Py_None
); resultobj
= Py_None
;
39360 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39361 PyObject
*resultobj
;
39362 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39364 PyObject
* obj0
= 0 ;
39365 char *kwnames
[] = {
39366 (char *) "self", NULL
39369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 result
= (arg1
)->CalcMin();
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39380 wxSize
* resultptr
;
39381 resultptr
= new wxSize((wxSize
&) result
);
39382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39390 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39391 PyObject
*resultobj
;
39392 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39393 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39394 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39396 PyObject
* obj0
= 0 ;
39397 PyObject
* obj1
= 0 ;
39398 PyObject
* obj2
= 0 ;
39400 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39411 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39413 wxPyEndAllowThreads(__tstate
);
39414 if (PyErr_Occurred()) SWIG_fail
;
39417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39425 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39426 PyObject
*resultobj
;
39427 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39428 wxGBPosition
*arg2
= 0 ;
39429 wxGBSpan
*arg3
= 0 ;
39430 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39432 wxGBPosition temp2
;
39434 PyObject
* obj0
= 0 ;
39435 PyObject
* obj1
= 0 ;
39436 PyObject
* obj2
= 0 ;
39437 PyObject
* obj3
= 0 ;
39439 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39444 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39448 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39451 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39456 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39470 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39475 argc
= PyObject_Length(args
);
39476 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39477 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39479 if ((argc
>= 2) && (argc
<= 3)) {
39483 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39493 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39502 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39506 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39514 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39519 if ((argc
>= 3) && (argc
<= 4)) {
39523 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39532 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39536 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39540 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39544 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39552 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39559 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39564 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39567 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39569 return Py_BuildValue((char *)"");
39571 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39572 PyObject
*resultobj
;
39573 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39575 wxWindow
*arg3
= (wxWindow
*) 0 ;
39577 int arg5
= (int) 0 ;
39578 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39579 PyObject
* obj0
= 0 ;
39580 PyObject
* obj1
= 0 ;
39581 PyObject
* obj2
= 0 ;
39582 PyObject
* obj3
= 0 ;
39583 PyObject
* obj4
= 0 ;
39584 PyObject
* obj5
= 0 ;
39585 char *kwnames
[] = {
39586 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39592 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39594 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39596 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39597 if (PyErr_Occurred()) SWIG_fail
;
39599 arg5
= (int) SWIG_AsInt(obj4
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39603 arg6
= (int) SWIG_AsInt(obj5
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39608 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39610 wxPyEndAllowThreads(__tstate
);
39611 if (PyErr_Occurred()) SWIG_fail
;
39613 Py_INCREF(Py_None
); resultobj
= Py_None
;
39620 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39621 PyObject
*resultobj
;
39622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39623 wxWindow
*arg2
= (wxWindow
*) 0 ;
39624 int arg3
= (int) 0 ;
39625 PyObject
* obj0
= 0 ;
39626 PyObject
* obj1
= 0 ;
39627 PyObject
* obj2
= 0 ;
39628 char *kwnames
[] = {
39629 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39638 arg3
= (int) SWIG_AsInt(obj2
);
39639 if (PyErr_Occurred()) SWIG_fail
;
39642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39643 (arg1
)->LeftOf(arg2
,arg3
);
39645 wxPyEndAllowThreads(__tstate
);
39646 if (PyErr_Occurred()) SWIG_fail
;
39648 Py_INCREF(Py_None
); resultobj
= Py_None
;
39655 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39656 PyObject
*resultobj
;
39657 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39658 wxWindow
*arg2
= (wxWindow
*) 0 ;
39659 int arg3
= (int) 0 ;
39660 PyObject
* obj0
= 0 ;
39661 PyObject
* obj1
= 0 ;
39662 PyObject
* obj2
= 0 ;
39663 char *kwnames
[] = {
39664 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39673 arg3
= (int) SWIG_AsInt(obj2
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 (arg1
)->RightOf(arg2
,arg3
);
39680 wxPyEndAllowThreads(__tstate
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39683 Py_INCREF(Py_None
); resultobj
= Py_None
;
39690 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39691 PyObject
*resultobj
;
39692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39693 wxWindow
*arg2
= (wxWindow
*) 0 ;
39694 int arg3
= (int) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 PyObject
* obj1
= 0 ;
39697 PyObject
* obj2
= 0 ;
39698 char *kwnames
[] = {
39699 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39708 arg3
= (int) SWIG_AsInt(obj2
);
39709 if (PyErr_Occurred()) SWIG_fail
;
39712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39713 (arg1
)->Above(arg2
,arg3
);
39715 wxPyEndAllowThreads(__tstate
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39718 Py_INCREF(Py_None
); resultobj
= Py_None
;
39725 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39726 PyObject
*resultobj
;
39727 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39728 wxWindow
*arg2
= (wxWindow
*) 0 ;
39729 int arg3
= (int) 0 ;
39730 PyObject
* obj0
= 0 ;
39731 PyObject
* obj1
= 0 ;
39732 PyObject
* obj2
= 0 ;
39733 char *kwnames
[] = {
39734 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39743 arg3
= (int) SWIG_AsInt(obj2
);
39744 if (PyErr_Occurred()) SWIG_fail
;
39747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39748 (arg1
)->Below(arg2
,arg3
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 Py_INCREF(Py_None
); resultobj
= Py_None
;
39760 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39761 PyObject
*resultobj
;
39762 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39763 wxWindow
*arg2
= (wxWindow
*) 0 ;
39765 int arg4
= (int) 0 ;
39766 PyObject
* obj0
= 0 ;
39767 PyObject
* obj1
= 0 ;
39768 PyObject
* obj2
= 0 ;
39769 PyObject
* obj3
= 0 ;
39770 char *kwnames
[] = {
39771 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39779 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 arg4
= (int) SWIG_AsInt(obj3
);
39783 if (PyErr_Occurred()) SWIG_fail
;
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39792 Py_INCREF(Py_None
); resultobj
= Py_None
;
39799 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39800 PyObject
*resultobj
;
39801 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39802 wxWindow
*arg2
= (wxWindow
*) 0 ;
39805 PyObject
* obj0
= 0 ;
39806 PyObject
* obj1
= 0 ;
39807 PyObject
* obj2
= 0 ;
39808 PyObject
* obj3
= 0 ;
39809 char *kwnames
[] = {
39810 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39818 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39820 arg4
= (int) SWIG_AsInt(obj3
);
39821 if (PyErr_Occurred()) SWIG_fail
;
39823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39824 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39826 wxPyEndAllowThreads(__tstate
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39829 Py_INCREF(Py_None
); resultobj
= Py_None
;
39836 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39837 PyObject
*resultobj
;
39838 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39840 PyObject
* obj0
= 0 ;
39841 PyObject
* obj1
= 0 ;
39842 char *kwnames
[] = {
39843 (char *) "self",(char *) "val", NULL
39846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39849 arg2
= (int) SWIG_AsInt(obj1
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 (arg1
)->Absolute(arg2
);
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39858 Py_INCREF(Py_None
); resultobj
= Py_None
;
39865 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
;
39867 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39868 PyObject
* obj0
= 0 ;
39869 char *kwnames
[] = {
39870 (char *) "self", NULL
39873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39878 (arg1
)->Unconstrained();
39880 wxPyEndAllowThreads(__tstate
);
39881 if (PyErr_Occurred()) SWIG_fail
;
39883 Py_INCREF(Py_None
); resultobj
= Py_None
;
39890 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39891 PyObject
*resultobj
;
39892 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39893 PyObject
* obj0
= 0 ;
39894 char *kwnames
[] = {
39895 (char *) "self", NULL
39898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 Py_INCREF(Py_None
); resultobj
= Py_None
;
39915 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39919 PyObject
* obj0
= 0 ;
39920 char *kwnames
[] = {
39921 (char *) "self", NULL
39924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39931 wxPyEndAllowThreads(__tstate
);
39932 if (PyErr_Occurred()) SWIG_fail
;
39935 resultobj
= wxPyMake_wxObject(result
);
39943 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39944 PyObject
*resultobj
;
39945 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39947 PyObject
* obj0
= 0 ;
39948 char *kwnames
[] = {
39949 (char *) "self", NULL
39952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39957 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39959 wxPyEndAllowThreads(__tstate
);
39960 if (PyErr_Occurred()) SWIG_fail
;
39962 resultobj
= SWIG_FromInt((int)result
);
39969 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
;
39971 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39973 PyObject
* obj0
= 0 ;
39974 PyObject
* obj1
= 0 ;
39975 char *kwnames
[] = {
39976 (char *) "self",(char *) "which", NULL
39979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39982 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39986 (arg1
)->SetEdge((wxEdge
)arg2
);
39988 wxPyEndAllowThreads(__tstate
);
39989 if (PyErr_Occurred()) SWIG_fail
;
39991 Py_INCREF(Py_None
); resultobj
= Py_None
;
39998 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39999 PyObject
*resultobj
;
40000 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40002 PyObject
* obj0
= 0 ;
40003 PyObject
* obj1
= 0 ;
40004 char *kwnames
[] = {
40005 (char *) "self",(char *) "v", NULL
40008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40011 arg2
= (int) SWIG_AsInt(obj1
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 (arg1
)->SetValue(arg2
);
40017 wxPyEndAllowThreads(__tstate
);
40018 if (PyErr_Occurred()) SWIG_fail
;
40020 Py_INCREF(Py_None
); resultobj
= Py_None
;
40027 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40028 PyObject
*resultobj
;
40029 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40031 PyObject
* obj0
= 0 ;
40032 char *kwnames
[] = {
40033 (char *) "self", NULL
40036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 result
= (int)(arg1
)->GetMargin();
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40046 resultobj
= SWIG_FromInt((int)result
);
40053 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40054 PyObject
*resultobj
;
40055 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40057 PyObject
* obj0
= 0 ;
40058 PyObject
* obj1
= 0 ;
40059 char *kwnames
[] = {
40060 (char *) "self",(char *) "m", NULL
40063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40066 arg2
= (int) SWIG_AsInt(obj1
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40070 (arg1
)->SetMargin(arg2
);
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40075 Py_INCREF(Py_None
); resultobj
= Py_None
;
40082 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40083 PyObject
*resultobj
;
40084 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40086 PyObject
* obj0
= 0 ;
40087 char *kwnames
[] = {
40088 (char *) "self", NULL
40091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40098 wxPyEndAllowThreads(__tstate
);
40099 if (PyErr_Occurred()) SWIG_fail
;
40101 resultobj
= SWIG_FromInt((int)result
);
40108 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40109 PyObject
*resultobj
;
40110 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40112 PyObject
* obj0
= 0 ;
40113 char *kwnames
[] = {
40114 (char *) "self", NULL
40117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40122 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_FromInt((int)result
);
40134 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
;
40136 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40138 PyObject
* obj0
= 0 ;
40139 char *kwnames
[] = {
40140 (char *) "self", NULL
40143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40148 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40150 wxPyEndAllowThreads(__tstate
);
40151 if (PyErr_Occurred()) SWIG_fail
;
40153 resultobj
= SWIG_FromInt((int)result
);
40160 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40161 PyObject
*resultobj
;
40162 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40164 PyObject
* obj0
= 0 ;
40165 char *kwnames
[] = {
40166 (char *) "self", NULL
40169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40174 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40176 wxPyEndAllowThreads(__tstate
);
40177 if (PyErr_Occurred()) SWIG_fail
;
40180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40188 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40189 PyObject
*resultobj
;
40190 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40192 PyObject
* obj0
= 0 ;
40193 PyObject
* obj1
= 0 ;
40194 char *kwnames
[] = {
40195 (char *) "self",(char *) "d", NULL
40198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40201 arg2
= (bool) SWIG_AsBool(obj1
);
40202 if (PyErr_Occurred()) SWIG_fail
;
40204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40205 (arg1
)->SetDone(arg2
);
40207 wxPyEndAllowThreads(__tstate
);
40208 if (PyErr_Occurred()) SWIG_fail
;
40210 Py_INCREF(Py_None
); resultobj
= Py_None
;
40217 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40218 PyObject
*resultobj
;
40219 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40221 PyObject
* obj0
= 0 ;
40222 char *kwnames
[] = {
40223 (char *) "self", NULL
40226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40231 result
= (int)(arg1
)->GetRelationship();
40233 wxPyEndAllowThreads(__tstate
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 resultobj
= SWIG_FromInt((int)result
);
40243 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40244 PyObject
*resultobj
;
40245 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40247 PyObject
* obj0
= 0 ;
40248 PyObject
* obj1
= 0 ;
40249 char *kwnames
[] = {
40250 (char *) "self",(char *) "r", NULL
40253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40256 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40260 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40262 wxPyEndAllowThreads(__tstate
);
40263 if (PyErr_Occurred()) SWIG_fail
;
40265 Py_INCREF(Py_None
); resultobj
= Py_None
;
40272 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40273 PyObject
*resultobj
;
40274 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40275 wxWindow
*arg2
= (wxWindow
*) 0 ;
40277 PyObject
* obj0
= 0 ;
40278 PyObject
* obj1
= 0 ;
40279 char *kwnames
[] = {
40280 (char *) "self",(char *) "otherW", NULL
40283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40290 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40292 wxPyEndAllowThreads(__tstate
);
40293 if (PyErr_Occurred()) SWIG_fail
;
40296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40304 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
;
40306 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40307 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40308 wxWindow
*arg3
= (wxWindow
*) 0 ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 PyObject
* obj2
= 0 ;
40313 char *kwnames
[] = {
40314 (char *) "self",(char *) "constraints",(char *) "win", NULL
40317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40322 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40326 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40328 wxPyEndAllowThreads(__tstate
);
40329 if (PyErr_Occurred()) SWIG_fail
;
40332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40340 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40341 PyObject
*resultobj
;
40342 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40344 wxWindow
*arg3
= (wxWindow
*) 0 ;
40345 wxWindow
*arg4
= (wxWindow
*) 0 ;
40347 PyObject
* obj0
= 0 ;
40348 PyObject
* obj1
= 0 ;
40349 PyObject
* obj2
= 0 ;
40350 PyObject
* obj3
= 0 ;
40351 char *kwnames
[] = {
40352 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40358 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40359 if (PyErr_Occurred()) SWIG_fail
;
40360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40362 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40371 resultobj
= SWIG_FromInt((int)result
);
40378 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40381 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40383 return Py_BuildValue((char *)"");
40385 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40386 PyObject
*resultobj
;
40387 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40388 wxIndividualLayoutConstraint
*result
;
40389 PyObject
* obj0
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40397 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40406 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
;
40408 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40409 wxIndividualLayoutConstraint
*result
;
40410 PyObject
* obj0
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40418 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40427 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40428 PyObject
*resultobj
;
40429 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40430 wxIndividualLayoutConstraint
*result
;
40431 PyObject
* obj0
= 0 ;
40432 char *kwnames
[] = {
40433 (char *) "self", NULL
40436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40439 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40448 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
;
40450 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40451 wxIndividualLayoutConstraint
*result
;
40452 PyObject
* obj0
= 0 ;
40453 char *kwnames
[] = {
40454 (char *) "self", NULL
40457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40460 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40469 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40470 PyObject
*resultobj
;
40471 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40472 wxIndividualLayoutConstraint
*result
;
40473 PyObject
* obj0
= 0 ;
40474 char *kwnames
[] = {
40475 (char *) "self", NULL
40478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40481 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40490 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40491 PyObject
*resultobj
;
40492 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40493 wxIndividualLayoutConstraint
*result
;
40494 PyObject
* obj0
= 0 ;
40495 char *kwnames
[] = {
40496 (char *) "self", NULL
40499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40502 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40511 static PyObject
*_wrap_LayoutConstraints_centreX_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_centreX_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
)->centreX
);
40525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40532 static PyObject
*_wrap_LayoutConstraints_centreY_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_centreY_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
)->centreY
);
40546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40553 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40554 PyObject
*resultobj
;
40555 wxLayoutConstraints
*result
;
40556 char *kwnames
[] = {
40560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40563 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40565 wxPyEndAllowThreads(__tstate
);
40566 if (PyErr_Occurred()) SWIG_fail
;
40568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40575 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40576 PyObject
*resultobj
;
40577 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40578 wxWindow
*arg2
= (wxWindow
*) 0 ;
40579 int *arg3
= (int *) 0 ;
40582 PyObject
* obj0
= 0 ;
40583 PyObject
* obj1
= 0 ;
40584 char *kwnames
[] = {
40585 (char *) "self",(char *) "win", NULL
40589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40596 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40598 wxPyEndAllowThreads(__tstate
);
40599 if (PyErr_Occurred()) SWIG_fail
;
40602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40605 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40606 resultobj
= t_output_helper(resultobj
,o
);
40614 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40616 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40618 PyObject
* obj0
= 0 ;
40619 char *kwnames
[] = {
40620 (char *) "self", NULL
40623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40642 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40645 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40647 return Py_BuildValue((char *)"");
40649 static PyMethodDef SwigMethods
[] = {
40650 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40651 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40652 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40655 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40676 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40689 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40704 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40755 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40783 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40801 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40803 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40811 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40812 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40824 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40835 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40840 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40846 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40856 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40866 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40870 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40941 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40943 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40945 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40947 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40949 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40951 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40953 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40955 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40957 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40959 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40961 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40963 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40977 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40995 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40998 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41001 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41013 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41018 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41024 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41030 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41092 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41099 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41134 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41144 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41154 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41156 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41158 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41161 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41165 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41168 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41171 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41173 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41186 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41190 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41193 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41195 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41199 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41216 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41218 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41221 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41223 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41227 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41231 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41239 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41242 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41245 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41249 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41256 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41261 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41266 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41310 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41325 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41329 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41339 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41388 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41389 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41496 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41536 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41550 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41553 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41608 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41635 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41679 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41687 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41704 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41705 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41740 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41770 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41773 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41779 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41784 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41796 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41810 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41820 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41830 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41839 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41843 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41849 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41850 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41851 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41852 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41853 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41859 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41860 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41862 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41869 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41871 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41872 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41873 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41874 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41875 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41878 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41879 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41881 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41882 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41883 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41884 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41885 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41887 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41891 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41892 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41893 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41894 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41895 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41898 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41903 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41905 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41906 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41908 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41909 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41911 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41912 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41914 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41915 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41917 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41918 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41920 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41921 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41923 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41924 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41926 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41927 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41929 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41932 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41933 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41935 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41936 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41938 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41939 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41941 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41942 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41944 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41945 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41947 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41948 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41950 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41953 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41954 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41956 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41959 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41960 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41962 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41965 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41966 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41968 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41969 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41971 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41974 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41977 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41980 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41983 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41986 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41989 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41992 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41993 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41995 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41996 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41998 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41999 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42001 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42002 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42004 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42005 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42007 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42008 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42010 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42011 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42013 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42014 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42016 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42017 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42019 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42022 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42025 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42026 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42028 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42029 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42031 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42032 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42034 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42035 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42037 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42038 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42040 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42041 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42043 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42044 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42046 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42047 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42049 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42050 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42052 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42053 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42055 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42058 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42059 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42061 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42062 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42064 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42065 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42067 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42070 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42071 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42073 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42074 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42076 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42077 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42079 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42080 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42082 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42083 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42085 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42086 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42088 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42089 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42091 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42092 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42094 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42095 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42097 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42098 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42100 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42101 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42103 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42104 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42106 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42107 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42109 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42110 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42112 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42113 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42115 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42116 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42118 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42119 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42121 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42122 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42124 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42125 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42127 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42128 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42130 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42131 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42133 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42134 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42136 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42139 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42142 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42145 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42148 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42151 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42154 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42157 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42160 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42163 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42166 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) ((wxSizer
*) x
));
42169 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42172 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42175 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42178 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42181 static void *_p_wxImageTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) ((wxImage
*) x
));
42184 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42187 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42190 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42193 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42196 static void *_p_wxControlTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42199 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42202 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42205 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42208 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42211 static void *_p_wxEventTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) ((wxEvent
*) x
));
42214 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42217 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42220 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42223 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42229 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42232 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42235 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42238 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42241 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42244 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42247 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42250 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42253 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42256 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42259 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42262 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42265 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42268 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42271 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42274 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42277 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42280 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42283 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42286 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42289 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42292 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42295 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42298 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42301 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42304 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42307 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42310 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42313 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42316 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42319 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42322 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42325 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42328 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42331 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42334 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42337 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42340 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42343 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42346 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42349 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42352 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42355 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42356 return (void *)((wxWindow
*) ((wxControl
*) x
));
42358 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42359 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42361 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42362 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42364 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42365 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42367 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42368 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42370 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42371 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42373 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42374 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42376 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42377 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42379 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42380 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42382 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42383 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42385 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42386 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42388 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42389 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42507 static swig_type_info
*swig_types_initial
[] = {
42508 _swigt__p_wxLayoutConstraints
,
42509 _swigt__p_wxRealPoint
,
42510 _swigt__p_wxSizerItem
,
42511 _swigt__p_wxGBSizerItem
,
42512 _swigt__p_wxScrollEvent
,
42513 _swigt__p_wxIndividualLayoutConstraint
,
42515 _swigt__p_wxBoxSizer
,
42516 _swigt__p_wxStaticBoxSizer
,
42517 _swigt__p_wxGridBagSizer
,
42518 _swigt__p_wxAcceleratorEntry
,
42519 _swigt__p_wxUpdateUIEvent
,
42522 _swigt__p_wxGridSizer
,
42523 _swigt__p_wxFlexGridSizer
,
42524 _swigt__p_wxInitDialogEvent
,
42525 _swigt__p_wxItemContainer
,
42526 _swigt__p_wxNcPaintEvent
,
42527 _swigt__p_wxPaintEvent
,
42528 _swigt__p_wxSysColourChangedEvent
,
42529 _swigt__p_wxMouseCaptureChangedEvent
,
42530 _swigt__p_wxDisplayChangedEvent
,
42531 _swigt__p_wxPaletteChangedEvent
,
42532 _swigt__p_wxControl
,
42534 _swigt__p_wxMenuBarBase
,
42535 _swigt__p_wxSetCursorEvent
,
42536 _swigt__p_wxFSFile
,
42538 _swigt__p_wxRegion
,
42539 _swigt__p_wxPoint2D
,
42543 _swigt__p_wxPySizer
,
42544 _swigt__p_wxVisualAttributes
,
42545 _swigt__p_wxNotifyEvent
,
42546 _swigt__p_wxPyEvent
,
42547 _swigt__p_wxPropagationDisabler
,
42548 _swigt__p_wxAppTraits
,
42549 _swigt__p_wxArrayString
,
42550 _swigt__p_wxShowEvent
,
42551 _swigt__p_wxToolTip
,
42552 _swigt__p_wxMaximizeEvent
,
42553 _swigt__p_wxIconizeEvent
,
42554 _swigt__p_wxActivateEvent
,
42555 _swigt__p_wxMoveEvent
,
42556 _swigt__p_wxSizeEvent
,
42557 _swigt__p_wxQueryNewPaletteEvent
,
42558 _swigt__p_wxWindowCreateEvent
,
42559 _swigt__p_wxIdleEvent
,
42560 _swigt__p_wxMenuItem
,
42561 _swigt__p_wxStaticBox
,
42563 _swigt__p_wxTIFFHandler
,
42564 _swigt__p_wxXPMHandler
,
42565 _swigt__p_wxPNMHandler
,
42566 _swigt__p_wxJPEGHandler
,
42567 _swigt__p_wxPCXHandler
,
42568 _swigt__p_wxGIFHandler
,
42569 _swigt__p_wxPNGHandler
,
42570 _swigt__p_wxANIHandler
,
42571 _swigt__p_wxMemoryFSHandler
,
42572 _swigt__p_wxEvtHandler
,
42573 _swigt__p_wxCURHandler
,
42574 _swigt__p_wxICOHandler
,
42575 _swigt__p_wxBMPHandler
,
42576 _swigt__p_wxImageHandler
,
42577 _swigt__p_wxFileSystemHandler
,
42578 _swigt__p_wxPyFileSystemHandler
,
42579 _swigt__p_wxInternetFSHandler
,
42580 _swigt__p_wxZipFSHandler
,
42582 _swigt__p_wxGBSpan
,
42583 _swigt__p_wxPropagateOnce
,
42584 _swigt__p_wxAcceleratorTable
,
42586 _swigt__p_wxGBPosition
,
42589 _swigt__p_wxScrollWinEvent
,
42590 _swigt__p_wxImageHistogram
,
42593 _swigt__p_wxCursor
,
42594 _swigt__p_wxObject
,
42595 _swigt__p_wxPyInputStream
,
42596 _swigt__p_wxOutputStream
,
42597 _swigt__p_wxInputStream
,
42598 _swigt__p_wxDateTime
,
42599 _swigt__p_wxKeyEvent
,
42600 _swigt__p_wxNavigationKeyEvent
,
42601 _swigt__p_wxWindowDestroyEvent
,
42602 _swigt__p_wxWindow
,
42603 _swigt__p_wxMenuBar
,
42604 _swigt__p_wxFileSystem
,
42605 _swigt__p_wxBitmap
,
42606 _swigt__p_wxMenuEvent
,
42607 _swigt__p_wxContextMenuEvent
,
42608 _swigt__p_unsigned_char
,
42609 _swigt__p_wxCloseEvent
,
42610 _swigt__p_wxEraseEvent
,
42611 _swigt__p_wxMouseEvent
,
42613 _swigt__p_wxCommandEvent
,
42614 _swigt__p_wxPyCommandEvent
,
42615 _swigt__p_wxPyDropTarget
,
42616 _swigt__p_wxChildFocusEvent
,
42617 _swigt__p_wxFocusEvent
,
42618 _swigt__p_wxDropFilesEvent
,
42619 _swigt__p_wxControlWithItems
,
42620 _swigt__p_wxColour
,
42621 _swigt__p_wxValidator
,
42622 _swigt__p_wxPyValidator
,
42627 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42629 static swig_const_info swig_const_table
[] = {
42639 SWIGEXPORT(void) SWIG_init(void) {
42640 static PyObject
*SWIG_globals
= 0;
42641 static int typeinit
= 0;
42644 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42645 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42646 d
= PyModule_GetDict(m
);
42649 for (i
= 0; swig_types_initial
[i
]; i
++) {
42650 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42654 SWIG_InstallConstants(d
,swig_const_table
);
42657 #ifndef wxPyUSE_EXPORT
42658 // Make our API structure a CObject so other modules can import it
42659 // from this module.
42660 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42661 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42665 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42666 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42667 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42668 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42669 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42670 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42671 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42672 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42673 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42674 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42675 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42676 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42677 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42678 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42679 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42680 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42681 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42682 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42683 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42684 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42685 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42686 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42687 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42688 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42689 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42690 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42691 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42692 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42693 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42694 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42695 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42696 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42697 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42698 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42699 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42700 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42701 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42702 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42703 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42704 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42705 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42706 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42707 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42708 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42709 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42710 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42711 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42712 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42713 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42714 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42715 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42716 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42717 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42718 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42719 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42720 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42721 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42722 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42723 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42724 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42725 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42726 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42727 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42728 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42729 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42730 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42731 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42732 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42733 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42734 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42735 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42736 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42737 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42738 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42739 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42740 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42741 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42742 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42743 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42744 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42745 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42746 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42747 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42748 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42749 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42750 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42751 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42752 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42753 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42754 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42755 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42756 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42757 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42758 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42759 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42760 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42761 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42762 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42763 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42764 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42765 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42766 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42767 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42768 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42769 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42770 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42771 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42772 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42773 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42774 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42775 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42776 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42777 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42778 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42779 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42780 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42781 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42782 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42783 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42784 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42785 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42786 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42787 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42788 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42789 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42790 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42791 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42792 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42793 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42794 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42795 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42796 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42797 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42798 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42799 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42800 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42801 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42802 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42803 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42804 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42805 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42806 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42807 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42808 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42809 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42810 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42811 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42812 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42813 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42814 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42815 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42816 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42817 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42818 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42819 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42820 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42821 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42822 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42823 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42824 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42825 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42826 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42827 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42828 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42829 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42830 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42831 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42832 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42833 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42834 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42835 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42836 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42837 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42838 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42839 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42840 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42841 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42842 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42843 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42844 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42845 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42846 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42847 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42848 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42849 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42850 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42851 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42852 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42853 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42854 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42855 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42856 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42857 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42858 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42859 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42860 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42861 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42862 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42863 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42864 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42865 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42866 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42867 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42868 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42869 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42870 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42871 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42872 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42873 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42874 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42875 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42876 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42877 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42878 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42879 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42880 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42881 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42882 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42883 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42884 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42885 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42886 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42887 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42888 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42889 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42890 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42891 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42892 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42893 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42894 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42895 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42896 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42897 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42898 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42899 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42900 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42901 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42902 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42903 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42904 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42905 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42906 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42907 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42908 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42909 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42910 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42911 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42912 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42913 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42914 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42915 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42916 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42917 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42918 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42919 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42920 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42921 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42922 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42923 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42924 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42925 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42926 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42927 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42928 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42929 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42930 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42931 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42932 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42933 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42934 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42935 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42936 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42937 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42938 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42939 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42940 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42941 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42942 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42943 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42944 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42945 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42946 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42947 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42948 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42949 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42950 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42951 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42952 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42953 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42954 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42955 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42956 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42957 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42958 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42959 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42960 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42961 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42962 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42963 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42964 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42965 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42966 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42967 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42968 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42969 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42970 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42971 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42972 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42973 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42974 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42975 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42976 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42977 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42978 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42979 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42980 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42981 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42982 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42983 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42984 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42985 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42986 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42987 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42988 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42989 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42990 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42991 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42992 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42993 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42994 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42995 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42996 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42997 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42998 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42999 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43000 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43001 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43002 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43003 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43004 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43005 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43006 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43007 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43008 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43009 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43010 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43011 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43012 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43013 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43014 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43015 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43016 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43017 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43018 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43019 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43020 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43021 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43022 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43023 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43024 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43025 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43026 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43027 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43028 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43029 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43030 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43031 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43032 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43033 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43034 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43035 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43036 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43037 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43038 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43039 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43040 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43041 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43042 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43043 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43044 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43045 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43046 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43047 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43048 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43049 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43050 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43051 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43052 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43053 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43054 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43055 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43056 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43057 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43058 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43059 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43060 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43061 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43062 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43063 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43064 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43065 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43066 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43067 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43068 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43069 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43070 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43071 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43072 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43073 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43074 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43075 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43076 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43077 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43078 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43079 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43080 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43081 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43082 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43083 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43084 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43085 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43086 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43087 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43088 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43089 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43090 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43091 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43092 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43093 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43094 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43095 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43096 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43097 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43098 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43099 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43100 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43101 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43102 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43103 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43104 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43105 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43106 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43107 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43108 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43109 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43110 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43111 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43112 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43113 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43114 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43115 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43116 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43117 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43118 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43119 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43120 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43121 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43122 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43123 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43124 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43125 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43126 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43127 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43128 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43129 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43130 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43131 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43132 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43133 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43134 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43135 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43136 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43137 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43138 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43139 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43140 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43141 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43142 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43143 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43144 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43145 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43146 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43147 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43148 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43149 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43150 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43151 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43152 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43153 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43154 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43155 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43156 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43157 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43158 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43159 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43160 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43161 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43162 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43163 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43164 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43165 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43166 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43167 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43168 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43169 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43170 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43171 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43172 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43173 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43174 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43175 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43176 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43177 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43178 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43179 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43180 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43181 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43182 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43183 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43184 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43185 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43186 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43187 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43188 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43189 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43190 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43191 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43192 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43193 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43194 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43195 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43196 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43197 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43198 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43199 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43200 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43201 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43202 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43203 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43204 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43205 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43206 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43207 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43208 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43209 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43210 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43211 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43212 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43213 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43214 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43215 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43216 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43217 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43218 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43219 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43220 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43221 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43222 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43223 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43224 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43225 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43226 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43227 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43228 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43229 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43230 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43231 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43232 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43233 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43234 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43235 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43236 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43237 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43239 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43242 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43244 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43245 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43246 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43247 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43248 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43249 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43250 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43251 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43252 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43253 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43254 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43255 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43256 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43257 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43258 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43259 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43260 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43261 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43262 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43263 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43264 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43265 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43266 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43267 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43268 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43271 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43272 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43274 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43275 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43276 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43277 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43278 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43279 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43282 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43283 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43284 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43285 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43286 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43287 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43288 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43289 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43290 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43291 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43292 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43293 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43294 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43295 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43296 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43297 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43298 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43299 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43300 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43301 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43302 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43303 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43304 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43305 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43306 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43307 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43308 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43309 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43310 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43311 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43312 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43313 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43314 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43315 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43316 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43317 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43318 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43319 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43320 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43321 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43322 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43323 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43324 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43325 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43326 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43327 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43328 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43329 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43330 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43331 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43332 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43333 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43334 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43335 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43336 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43337 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43338 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43339 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43340 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43341 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43342 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43343 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43344 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43345 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43346 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43347 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43348 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43349 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43350 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43351 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43352 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43353 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43354 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43355 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43356 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43357 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43358 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43359 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43360 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43361 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43362 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43363 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43364 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43365 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43366 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43367 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43368 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43369 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43371 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43372 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43373 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43374 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43375 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43376 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43377 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43378 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43379 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43380 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43381 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43382 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43383 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43384 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43385 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43386 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43387 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43388 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43389 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43390 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43391 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43392 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43393 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43394 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43395 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43396 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43397 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43398 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43399 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43400 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43401 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43402 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43403 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43404 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43405 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43406 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43407 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43408 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43409 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43410 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43411 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43412 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43413 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43414 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43415 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43416 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43417 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43418 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43419 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43420 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43421 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43422 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43423 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43425 // Initialize threading, some globals and such
43429 // Although these are defined in __version__ they need to be here too so
43430 // that an assert can be done to ensure that the wxPython and the wxWindows
43432 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43433 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43434 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));