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();
1338 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1340 void wxApp_CleanUp() {
1345 wxPyApp
* wxGetApp() {
1346 return (wxPyApp
*)wxTheApp
;
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1463 SWIG_FloatCast(double value
)
1466 if (!PyErr_Occurred()) {
1467 if (value
< FLT_MIN
) {
1469 PyString_FromFormat("value %g is less than float minimum %g",
1471 PyErr_SetObject(PyExc_OverflowError
, err
);
1473 } else if (value
> FLT_MAX
) {
1475 PyString_FromFormat("value %g is greater than float maximum %g",
1477 PyErr_SetObject(PyExc_OverflowError
, err
);
1480 f
= swig_numeric_cast(float, value
);
1487 SWIGSTATICINLINE(float)
1488 SWIG_AsFloat(PyObject
*obj
)
1490 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1494 SWIGSTATICINLINE(int)
1495 SWIG_CheckFloat(PyObject
* obj
)
1498 if (PyErr_Occurred()) {
1506 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1507 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1509 Py_INCREF(data
->m_obj
);
1517 // Figure out the type of the sizer item
1519 struct wxPySizerItemInfo
{
1521 : window(NULL
), sizer(NULL
), gotSize(False
),
1522 size(wxDefaultSize
), gotPos(False
), pos(-1)
1533 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1535 wxPySizerItemInfo info
;
1537 wxSize
* sizePtr
= &size
;
1539 // Find out what the type of the item is
1541 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1546 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1550 // try wxSize or (w,h)
1551 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1552 info
.size
= *sizePtr
;
1553 info
.gotSize
= True
;
1557 if (checkIdx
&& PyInt_Check(item
)) {
1558 info
.pos
= PyInt_AsLong(item
);
1564 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1565 // no expected type, figure out what kind of error message to generate
1566 if ( !checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1568 else if ( checkSize
&& !checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1570 else if ( !checkSize
&& checkIdx
)
1571 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1573 // can this one happen?
1574 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1580 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1581 self
->SetClientObject(new wxPyOORClientData(_self
));
1583 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1585 wxPyUserData
* data
= NULL
;
1586 bool blocked
= wxPyBeginBlockThreads();
1587 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1588 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1589 data
= new wxPyUserData(userData
);
1590 wxPyEndBlockThreads(blocked
);
1592 // Now call the real Add method if a valid item type was found
1594 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1595 else if ( info
.sizer
)
1596 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1597 else if (info
.gotSize
)
1598 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1599 proportion
, flag
, border
, data
);
1601 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1603 wxPyUserData
* data
= NULL
;
1604 bool blocked
= wxPyBeginBlockThreads();
1605 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1606 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1607 data
= new wxPyUserData(userData
);
1608 wxPyEndBlockThreads(blocked
);
1610 // Now call the real Insert method if a valid item type was found
1612 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1613 else if ( info
.sizer
)
1614 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1615 else if (info
.gotSize
)
1616 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1617 proportion
, flag
, border
, data
);
1619 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1621 wxPyUserData
* data
= NULL
;
1622 bool blocked
= wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1624 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1625 data
= new wxPyUserData(userData
);
1626 wxPyEndBlockThreads(blocked
);
1628 // Now call the real Prepend method if a valid item type was found
1630 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1631 else if ( info
.sizer
)
1632 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1633 else if (info
.gotSize
)
1634 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1635 proportion
, flag
, border
, data
);
1637 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1638 bool blocked
= wxPyBeginBlockThreads();
1639 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1640 wxPyEndBlockThreads(blocked
);
1642 return self
->Remove(info
.window
);
1643 else if ( info
.sizer
)
1644 return self
->Remove(info
.sizer
);
1645 else if ( info
.gotPos
)
1646 return self
->Remove(info
.pos
);
1650 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1651 bool blocked
= wxPyBeginBlockThreads();
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1653 wxPyEndBlockThreads(blocked
);
1655 self
->SetItemMinSize(info
.window
, size
);
1656 else if ( info
.sizer
)
1657 self
->SetItemMinSize(info
.sizer
, size
);
1658 else if ( info
.gotPos
)
1659 self
->SetItemMinSize(info
.pos
, size
);
1661 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1662 wxSizerItemList
& list
= self
->GetChildren();
1663 return wxPy_ConvertList(&list
);
1665 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1666 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1668 self
->Show(info
.window
, show
);
1669 else if ( info
.sizer
)
1670 self
->Show(info
.sizer
, show
);
1672 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1673 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1675 self
->Hide(info
.window
);
1676 else if ( info
.sizer
)
1677 self
->Hide(info
.sizer
);
1679 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1682 return self
->IsShown(info
.window
);
1683 else if ( info
.sizer
)
1684 return self
->IsShown(info
.sizer
);
1690 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1691 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1692 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1697 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1699 if (source
== Py_None
) {
1700 **obj
= wxGBPosition(-1,-1);
1703 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1706 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1708 if (source
== Py_None
) {
1709 **obj
= wxGBSpan(-1,-1);
1712 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1716 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1720 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1721 bool blocked
= wxPyBeginBlockThreads();
1722 PyObject
* tup
= PyTuple_New(2);
1723 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1724 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1725 wxPyEndBlockThreads(blocked
);
1728 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1729 self
->SetRowspan(rowspan
);
1730 self
->SetColspan(colspan
);
1732 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1733 bool blocked
= wxPyBeginBlockThreads();
1734 PyObject
* tup
= PyTuple_New(2);
1735 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1736 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1737 wxPyEndBlockThreads(blocked
);
1740 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1742 wxPyUserData
* data
= NULL
;
1743 bool blocked
= wxPyBeginBlockThreads();
1744 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1745 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1746 data
= new wxPyUserData(userData
);
1747 wxPyEndBlockThreads(blocked
);
1749 // Now call the real Add method if a valid item type was found
1751 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1752 else if ( info
.sizer
)
1753 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1754 else if (info
.gotSize
)
1755 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1756 pos
, span
, flag
, border
, data
);
1764 static int _wrap_EmptyString_set(PyObject
*_val
) {
1765 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1770 static PyObject
*_wrap_EmptyString_get() {
1775 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1777 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1784 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxObject
*arg1
= (wxObject
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "self", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 result
= wxObject_GetClassName(arg1
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1816 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxObject
*arg1
= (wxObject
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "self", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxObject_Destroy(arg1
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 Py_INCREF(Py_None
); resultobj
= Py_None
;
1841 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1844 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1846 return Py_BuildValue((char *)"");
1848 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxSize
*arg1
= (wxSize
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1855 (char *) "self",(char *) "x", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1861 arg2
= (int) SWIG_AsInt(obj1
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1863 if (arg1
) (arg1
)->x
= arg2
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxSize
*arg1
= (wxSize
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 result
= (int) ((arg1
)->x
);
1886 resultobj
= SWIG_FromInt((int)result
);
1893 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxSize
*arg1
= (wxSize
*) 0 ;
1897 PyObject
* obj0
= 0 ;
1898 PyObject
* obj1
= 0 ;
1900 (char *) "self",(char *) "y", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 arg2
= (int) SWIG_AsInt(obj1
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1908 if (arg1
) (arg1
)->y
= arg2
;
1910 Py_INCREF(Py_None
); resultobj
= Py_None
;
1917 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1919 wxSize
*arg1
= (wxSize
*) 0 ;
1921 PyObject
* obj0
= 0 ;
1923 (char *) "self", NULL
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1929 result
= (int) ((arg1
)->y
);
1931 resultobj
= SWIG_FromInt((int)result
);
1938 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 int arg1
= (int) 0 ;
1941 int arg2
= (int) 0 ;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1946 (char *) "w",(char *) "h", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1951 arg1
= (int) SWIG_AsInt(obj0
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1955 arg2
= (int) SWIG_AsInt(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1972 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxSize
*arg1
= (wxSize
*) 0 ;
1975 PyObject
* obj0
= 0 ;
1977 (char *) "self", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxSize
*arg1
= (wxSize
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2006 (char *) "self",(char *) "sz", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2032 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxSize
*arg1
= (wxSize
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "sz", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2067 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxSize
*arg1
= (wxSize
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj1
= 0 ;
2076 (char *) "self",(char *) "sz", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2084 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2095 resultptr
= new wxSize((wxSize
&) result
);
2096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2104 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxSize
*arg1
= (wxSize
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "self",(char *) "sz", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2132 resultptr
= new wxSize((wxSize
&) result
);
2133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2141 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxSize
*arg1
= (wxSize
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "sz", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 (arg1
)->IncTo((wxSize
const &)*arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxSize
*arg1
= (wxSize
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "sz", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 (arg1
)->DecTo((wxSize
const &)*arg2
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxSize
*arg1
= (wxSize
*) 0 ;
2210 PyObject
* obj0
= 0 ;
2211 PyObject
* obj1
= 0 ;
2212 PyObject
* obj2
= 0 ;
2214 (char *) "self",(char *) "w",(char *) "h", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int) SWIG_AsInt(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2222 arg3
= (int) SWIG_AsInt(obj2
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 (arg1
)->Set(arg2
,arg3
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxSize
*arg1
= (wxSize
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2243 PyObject
* obj1
= 0 ;
2245 (char *) "self",(char *) "w", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2251 arg2
= (int) SWIG_AsInt(obj1
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 (arg1
)->SetWidth(arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2267 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxSize
*arg1
= (wxSize
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2274 (char *) "self",(char *) "h", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2280 arg2
= (int) SWIG_AsInt(obj1
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->SetHeight(arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2296 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxSize
*arg1
= (wxSize
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2302 (char *) "self", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= SWIG_FromInt((int)result
);
2322 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2324 wxSize
*arg1
= (wxSize
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2328 (char *) "self", NULL
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 resultobj
= SWIG_FromInt((int)result
);
2348 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxSize
*arg1
= (wxSize
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2354 (char *) "self", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2376 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxSize
*arg1
= (wxSize
*) 0 ;
2381 PyObject
* obj0
= 0 ;
2382 PyObject
* obj1
= 0 ;
2384 (char *) "self",(char *) "size", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2408 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxSize
*arg1
= (wxSize
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (PyObject
*)wxSize_Get(arg1
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2434 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2437 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2439 return Py_BuildValue((char *)"");
2441 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2448 (char *) "self",(char *) "x", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 arg2
= (double) SWIG_AsDouble(obj1
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2456 if (arg1
) (arg1
)->x
= arg2
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2471 (char *) "self", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 result
= (double) ((arg1
)->x
);
2479 resultobj
= SWIG_FromDouble((double)result
);
2486 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2493 (char *) "self",(char *) "y", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 arg2
= (double) SWIG_AsDouble(obj1
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2501 if (arg1
) (arg1
)->y
= arg2
;
2503 Py_INCREF(Py_None
); resultobj
= Py_None
;
2510 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 result
= (double) ((arg1
)->y
);
2524 resultobj
= SWIG_FromDouble((double)result
);
2531 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 double arg1
= (double) 0.0 ;
2534 double arg2
= (double) 0.0 ;
2535 wxRealPoint
*result
;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2539 (char *) "x",(char *) "y", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2544 arg1
= (double) SWIG_AsDouble(obj0
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2548 arg2
= (double) SWIG_AsDouble(obj1
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2565 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2593 wxRealPoint
*arg2
= 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "pt", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2625 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2628 wxRealPoint
*arg2
= 0 ;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2634 (char *) "self",(char *) "pt", NULL
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2660 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2663 wxRealPoint
*arg2
= 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 (char *) "self",(char *) "pt", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2677 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 wxRealPoint
* resultptr
;
2688 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2697 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2700 wxRealPoint
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "pt", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 wxRealPoint
* resultptr
;
2725 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2734 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2741 PyObject
* obj2
= 0 ;
2743 (char *) "self",(char *) "x",(char *) "y", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 arg2
= (double) SWIG_AsDouble(obj1
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2751 arg3
= (double) SWIG_AsDouble(obj2
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxRealPoint_Set(arg1
,arg2
,arg3
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2793 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2796 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2798 return Py_BuildValue((char *)"");
2800 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxPoint
*arg1
= (wxPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "x", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (int) SWIG_AsInt(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 if (arg1
) (arg1
)->x
= arg2
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxPoint
*arg1
= (wxPoint
*) 0 ;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "self", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 result
= (int) ((arg1
)->x
);
2838 resultobj
= SWIG_FromInt((int)result
);
2845 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 wxPoint
*arg1
= (wxPoint
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2850 PyObject
* obj1
= 0 ;
2852 (char *) "self",(char *) "y", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2858 arg2
= (int) SWIG_AsInt(obj1
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2860 if (arg1
) (arg1
)->y
= arg2
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxPoint
*arg1
= (wxPoint
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 result
= (int) ((arg1
)->y
);
2883 resultobj
= SWIG_FromInt((int)result
);
2890 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 int arg1
= (int) 0 ;
2893 int arg2
= (int) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "x",(char *) "y", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2903 arg1
= (int) SWIG_AsInt(obj0
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 arg2
= (int) SWIG_AsInt(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2924 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxPoint
*arg1
= (wxPoint
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 (char *) "self", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2949 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxPoint
*arg1
= (wxPoint
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2956 PyObject
* obj1
= 0 ;
2958 (char *) "self",(char *) "pt", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2984 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxPoint
*arg1
= (wxPoint
*) 0 ;
2990 PyObject
* obj0
= 0 ;
2991 PyObject
* obj1
= 0 ;
2993 (char *) "self",(char *) "pt", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3019 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxPoint
*arg1
= (wxPoint
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3026 PyObject
* obj1
= 0 ;
3028 (char *) "self",(char *) "pt", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3046 wxPoint
* resultptr
;
3047 resultptr
= new wxPoint((wxPoint
&) result
);
3048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3056 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxPoint
*arg1
= (wxPoint
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pt", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 wxPoint
* resultptr
;
3084 resultptr
= new wxPoint((wxPoint
&) result
);
3085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3093 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxPoint
*arg1
= (wxPoint
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "pt", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3116 result
= (wxPoint
*) &_result_ref
;
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3129 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxPoint
*arg1
= (wxPoint
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "pt", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3152 result
= (wxPoint
*) &_result_ref
;
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3165 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxPoint
*arg1
= (wxPoint
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3172 PyObject
* obj2
= 0 ;
3174 (char *) "self",(char *) "x",(char *) "y", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 arg2
= (long) SWIG_AsLong(obj1
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3182 arg3
= (long) SWIG_AsLong(obj2
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPoint_Set(arg1
,arg2
,arg3
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3198 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxPoint
*arg1
= (wxPoint
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (PyObject
*)wxPoint_Get(arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3224 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3227 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3229 return Py_BuildValue((char *)"");
3231 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 int arg1
= (int) 0 ;
3234 int arg2
= (int) 0 ;
3235 int arg3
= (int) 0 ;
3236 int arg4
= (int) 0 ;
3238 PyObject
* obj0
= 0 ;
3239 PyObject
* obj1
= 0 ;
3240 PyObject
* obj2
= 0 ;
3241 PyObject
* obj3
= 0 ;
3243 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3248 arg1
= (int) SWIG_AsInt(obj0
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3252 arg2
= (int) SWIG_AsInt(obj1
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3256 arg3
= (int) SWIG_AsInt(obj2
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3260 arg4
= (int) SWIG_AsInt(obj3
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3277 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "topLeft",(char *) "bottomRight", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3293 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3313 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "pos",(char *) "size", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3333 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3349 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxRect
*arg1
= (wxRect
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxRect
*arg1
= (wxRect
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3380 (char *) "self", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)((wxRect
const *)arg1
)->GetX();
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_FromInt((int)result
);
3400 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxRect
*arg1
= (wxRect
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "self",(char *) "x", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3413 arg2
= (int) SWIG_AsInt(obj1
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxRect
*arg1
= (wxRect
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3435 (char *) "self", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (int)(arg1
)->GetY();
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_FromInt((int)result
);
3455 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxRect
*arg1
= (wxRect
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "y", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 arg2
= (int) SWIG_AsInt(obj1
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxRect
*arg1
= (wxRect
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= SWIG_FromInt((int)result
);
3510 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxRect
*arg1
= (wxRect
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3517 (char *) "self",(char *) "w", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3523 arg2
= (int) SWIG_AsInt(obj1
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetWidth(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxRect
*arg1
= (wxRect
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_FromInt((int)result
);
3565 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxRect
*arg1
= (wxRect
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "h", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3578 arg2
= (int) SWIG_AsInt(obj1
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 (arg1
)->SetHeight(arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 Py_INCREF(Py_None
); resultobj
= Py_None
;
3594 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxRect
*arg1
= (wxRect
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "self", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= ((wxRect
const *)arg1
)->GetPosition();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 wxPoint
* resultptr
;
3615 resultptr
= new wxPoint((wxPoint
&) result
);
3616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3624 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "p", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxRect
*arg1
= (wxRect
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= ((wxRect
const *)arg1
)->GetSize();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3677 resultptr
= new wxSize((wxSize
&) result
);
3678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3686 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxRect
*arg1
= (wxRect
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3694 (char *) "self",(char *) "s", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 (arg1
)->SetSize((wxSize
const &)*arg2
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxRect
*arg1
= (wxRect
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 wxPoint
* resultptr
;
3739 resultptr
= new wxPoint((wxPoint
&) result
);
3740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3748 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxRect
*arg1
= (wxRect
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "p", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 Py_INCREF(Py_None
); resultobj
= Py_None
;
3780 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxRect
*arg1
= (wxRect
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "self", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3800 wxPoint
* resultptr
;
3801 resultptr
= new wxPoint((wxPoint
&) result
);
3802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3810 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxRect
*arg1
= (wxRect
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3818 (char *) "self",(char *) "p", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxRect
*arg1
= (wxRect
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3848 (char *) "self", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_FromInt((int)result
);
3868 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxRect
*arg1
= (wxRect
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3874 (char *) "self", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (int)((wxRect
const *)arg1
)->GetTop();
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_FromInt((int)result
);
3894 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxRect
*arg1
= (wxRect
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "self", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_FromInt((int)result
);
3920 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRect
*arg1
= (wxRect
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3926 (char *) "self", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (int)((wxRect
const *)arg1
)->GetRight();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_FromInt((int)result
);
3946 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxRect
*arg1
= (wxRect
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "self",(char *) "left", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 arg2
= (int) SWIG_AsInt(obj1
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 (arg1
)->SetLeft(arg2
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3975 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxRect
*arg1
= (wxRect
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3982 (char *) "self",(char *) "right", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 arg2
= (int) SWIG_AsInt(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 (arg1
)->SetRight(arg2
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 Py_INCREF(Py_None
); resultobj
= Py_None
;
4004 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxRect
*arg1
= (wxRect
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4009 PyObject
* obj1
= 0 ;
4011 (char *) "self",(char *) "top", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4017 arg2
= (int) SWIG_AsInt(obj1
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 (arg1
)->SetTop(arg2
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 Py_INCREF(Py_None
); resultobj
= Py_None
;
4033 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxRect
*arg1
= (wxRect
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4040 (char *) "self",(char *) "bottom", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg2
= (int) SWIG_AsInt(obj1
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 (arg1
)->SetBottom(arg2
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 Py_INCREF(Py_None
); resultobj
= Py_None
;
4062 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4070 PyObject
* obj2
= 0 ;
4072 (char *) "self",(char *) "dx",(char *) "dy", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 arg2
= (int) SWIG_AsInt(obj1
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4080 arg3
= (int) SWIG_AsInt(obj2
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4086 result
= (wxRect
*) &_result_ref
;
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4099 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxRect
*arg1
= (wxRect
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4107 PyObject
* obj2
= 0 ;
4109 (char *) "self",(char *) "dx",(char *) "dy", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int) SWIG_AsInt(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4117 arg3
= (int) SWIG_AsInt(obj2
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4123 result
= (wxRect
*) &_result_ref
;
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4136 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRect
*arg1
= (wxRect
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 arg2
= (int) SWIG_AsInt(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4153 arg3
= (int) SWIG_AsInt(obj2
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 (arg1
)->Offset(arg2
,arg3
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxRect
*arg1
= (wxRect
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4175 PyObject
* obj1
= 0 ;
4177 (char *) "self",(char *) "pt", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 (arg1
)->Offset((wxPoint
const &)*arg2
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 Py_INCREF(Py_None
); resultobj
= Py_None
;
4201 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxRect
*arg1
= (wxRect
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4210 (char *) "self",(char *) "rect", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4224 result
= (wxRect
*) &_result_ref
;
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4237 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxRect
*arg1
= (wxRect
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4246 (char *) "self",(char *) "rect", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4265 resultptr
= new wxRect((wxRect
&) result
);
4266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4274 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxRect
*arg1
= (wxRect
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 (char *) "self",(char *) "rect", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4297 result
= (wxRect
*) &_result_ref
;
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4310 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "rect", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4345 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "rect", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4380 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxRect
*arg1
= (wxRect
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4388 PyObject
* obj2
= 0 ;
4390 (char *) "self",(char *) "x",(char *) "y", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 arg2
= (int) SWIG_AsInt(obj1
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4398 arg3
= (int) SWIG_AsInt(obj2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "pt", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4451 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "rect", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4486 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "x", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 arg2
= (int) SWIG_AsInt(obj1
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4501 if (arg1
) (arg1
)->x
= arg2
;
4503 Py_INCREF(Py_None
); resultobj
= Py_None
;
4510 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxRect
*arg1
= (wxRect
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4516 (char *) "self", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4522 result
= (int) ((arg1
)->x
);
4524 resultobj
= SWIG_FromInt((int)result
);
4531 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "y", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg2
= (int) SWIG_AsInt(obj1
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4546 if (arg1
) (arg1
)->y
= arg2
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxRect
*arg1
= (wxRect
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 result
= (int) ((arg1
)->y
);
4569 resultobj
= SWIG_FromInt((int)result
);
4576 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxRect
*arg1
= (wxRect
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4583 (char *) "self",(char *) "width", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 arg2
= (int) SWIG_AsInt(obj1
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4591 if (arg1
) (arg1
)->width
= arg2
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4600 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxRect
*arg1
= (wxRect
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 result
= (int) ((arg1
)->width
);
4614 resultobj
= SWIG_FromInt((int)result
);
4621 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxRect
*arg1
= (wxRect
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4628 (char *) "self",(char *) "height", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 arg2
= (int) SWIG_AsInt(obj1
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4636 if (arg1
) (arg1
)->height
= arg2
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxRect
*arg1
= (wxRect
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4657 result
= (int) ((arg1
)->height
);
4659 resultobj
= SWIG_FromInt((int)result
);
4666 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxRect
*arg1
= (wxRect
*) 0 ;
4669 int arg2
= (int) 0 ;
4670 int arg3
= (int) 0 ;
4671 int arg4
= (int) 0 ;
4672 int arg5
= (int) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 arg2
= (int) SWIG_AsInt(obj1
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 arg3
= (int) SWIG_AsInt(obj2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 arg4
= (int) SWIG_AsInt(obj3
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 arg5
= (int) SWIG_AsInt(obj4
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxRect
*arg1
= (wxRect
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (PyObject
*)wxRect_Get(arg1
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4741 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4744 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4746 return Py_BuildValue((char *)"");
4748 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxRect
*arg1
= (wxRect
*) 0 ;
4751 wxRect
*arg2
= (wxRect
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4756 (char *) "r1",(char *) "r2", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4778 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 double arg1
= (double) 0.0 ;
4781 double arg2
= (double) 0.0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4786 (char *) "x",(char *) "y", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 arg1
= (double) SWIG_AsDouble(obj0
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 arg2
= (double) SWIG_AsDouble(obj1
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4812 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxPoint2D
*arg1
= 0 ;
4817 PyObject
* obj0
= 0 ;
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4825 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4841 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4846 PyObject
* obj0
= 0 ;
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4854 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4870 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4873 int *arg2
= (int *) 0 ;
4874 int *arg3
= (int *) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4897 resultobj
= t_output_helper(resultobj
,o
);
4900 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4901 resultobj
= t_output_helper(resultobj
,o
);
4909 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4912 int *arg2
= (int *) 0 ;
4913 int *arg3
= (int *) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4936 resultobj
= t_output_helper(resultobj
,o
);
4939 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4940 resultobj
= t_output_helper(resultobj
,o
);
4948 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_FromDouble((double)result
);
4974 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_FromDouble((double)result
);
5000 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "length", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 arg2
= (double) SWIG_AsDouble(obj1
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetVectorLength(arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5036 (char *) "self",(char *) "degrees", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg2
= (double) SWIG_AsDouble(obj1
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetVectorAngle(arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5061 wxPoint2D
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5067 (char *) "self",(char *) "pt", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_FromDouble((double)result
);
5091 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5094 wxPoint2D
*arg2
= 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "pt", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_FromDouble((double)result
);
5124 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5127 wxPoint2D
*arg2
= 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "vec", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_FromDouble((double)result
);
5157 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5160 wxPoint2D
*arg2
= 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "vec", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_FromDouble((double)result
);
5190 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (arg1
)->operator -();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 wxPoint2D
* resultptr
;
5211 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5220 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5223 wxPoint2D
*arg2
= 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5229 (char *) "self",(char *) "pt", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5243 result
= (wxPoint2D
*) &_result_ref
;
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5256 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5259 wxPoint2D
*arg2
= 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5265 (char *) "self",(char *) "pt", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5279 result
= (wxPoint2D
*) &_result_ref
;
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5292 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5295 wxPoint2D
*arg2
= 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "pt", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5315 result
= (wxPoint2D
*) &_result_ref
;
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5328 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5331 wxPoint2D
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "pt", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5351 result
= (wxPoint2D
*) &_result_ref
;
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5364 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5367 wxPoint2D
*arg2
= 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "pt", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5399 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5402 wxPoint2D
*arg2
= 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "pt", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5434 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "m_x", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 arg2
= (double) SWIG_AsDouble(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5449 if (arg1
) (arg1
)->m_x
= arg2
;
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5464 (char *) "self", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 result
= (double) ((arg1
)->m_x
);
5472 resultobj
= SWIG_FromDouble((double)result
);
5479 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5486 (char *) "self",(char *) "m_y", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (double) SWIG_AsDouble(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5494 if (arg1
) (arg1
)->m_y
= arg2
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 result
= (double) ((arg1
)->m_y
);
5517 resultobj
= SWIG_FromDouble((double)result
);
5524 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5527 double arg2
= (double) 0 ;
5528 double arg3
= (double) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 PyObject
* obj2
= 0 ;
5533 (char *) "self",(char *) "x",(char *) "y", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 arg2
= (double) SWIG_AsDouble(obj1
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 arg3
= (double) SWIG_AsDouble(obj2
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPoint2D_Set(arg1
,arg2
,arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "self", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5587 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5590 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5592 return Py_BuildValue((char *)"");
5594 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5595 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5600 static PyObject
*_wrap_DefaultPosition_get() {
5603 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5608 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5609 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5614 static PyObject
*_wrap_DefaultSize_get() {
5617 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5622 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 PyObject
*arg1
= (PyObject
*) 0 ;
5625 wxPyInputStream
*result
;
5626 PyObject
* obj0
= 0 ;
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5647 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5677 (char *) "self", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5697 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)(arg1
)->eof();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5728 int arg2
= (int) -1 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "size", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 arg2
= (int) SWIG_AsInt(obj1
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (PyObject
*)(arg1
)->read(arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5757 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5760 int arg2
= (int) -1 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "self",(char *) "size", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 arg2
= (int) SWIG_AsInt(obj1
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (PyObject
*)(arg1
)->readline(arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5789 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5792 int arg2
= (int) -1 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "sizehint", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5804 arg2
= (int) SWIG_AsInt(obj1
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5821 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5825 int arg3
= (int) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 PyObject
* obj2
= 0 ;
5830 (char *) "self",(char *) "offset",(char *) "whence", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 arg2
= (int) SWIG_AsInt(obj1
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 arg3
= (int) SWIG_AsInt(obj2
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->seek(arg2
,arg3
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (int)(arg1
)->tell();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_FromInt((int)result
);
5882 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (char)(arg1
)->Peek();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_FromChar((char)result
);
5908 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (char)(arg1
)->GetC();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_FromChar((char)result
);
5934 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5940 (char *) "self", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (size_t)(arg1
)->LastRead();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5960 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)(arg1
)->CanRead();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (bool)(arg1
)->Eof();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6016 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6024 (char *) "self",(char *) "c", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg2
= (char) SWIG_AsChar(obj1
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (bool)(arg1
)->Ungetch(arg2
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6048 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6052 int arg3
= (int) wxFromStart
;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 PyObject
* obj2
= 0 ;
6058 (char *) "self",(char *) "pos",(char *) "mode", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 arg2
= (long) SWIG_AsLong(obj1
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_FromLong((long)result
);
6084 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "self", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (long)(arg1
)->TellI();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_FromLong((long)result
);
6110 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6113 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6115 return Py_BuildValue((char *)"");
6117 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6120 PyObject
*arg2
= (PyObject
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "obj", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 wxOutputStream_write(arg1
,arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6150 return Py_BuildValue((char *)"");
6152 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6155 wxString
*arg2
= 0 ;
6156 wxString
*arg3
= 0 ;
6157 wxString
*arg4
= 0 ;
6160 wxPyInputStream
*temp1
;
6162 bool temp2
= False
;
6163 bool temp3
= False
;
6164 bool temp4
= False
;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6168 PyObject
* obj2
= 0 ;
6169 PyObject
* obj3
= 0 ;
6170 PyObject
* obj4
= 0 ;
6172 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6177 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6178 arg1
= temp1
->m_wxis
;
6181 PyErr_Clear(); // clear the failure of the wxPyConvert above
6182 arg1
= wxPyCBInputStream_create(obj0
, False
);
6184 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6191 arg2
= wxString_in_helper(obj1
);
6192 if (arg2
== NULL
) SWIG_fail
;
6196 arg3
= wxString_in_helper(obj2
);
6197 if (arg3
== NULL
) SWIG_fail
;
6201 arg4
= wxString_in_helper(obj3
);
6202 if (arg4
== NULL
) SWIG_fail
;
6205 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6206 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= wxPyMake_wxObject(result
);
6256 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6284 wxInputStream
*result
;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (wxInputStream
*)(arg1
)->GetStream();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 wxPyInputStream
* _ptr
= NULL
;
6304 _ptr
= new wxPyInputStream(result
);
6306 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6314 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6330 result
= (wxString
*) &_result_ref
;
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6349 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 wxString
const &_result_ref
= (arg1
)->GetLocation();
6365 result
= (wxString
*) &_result_ref
;
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6384 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6400 result
= (wxString
*) &_result_ref
;
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6419 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (arg1
)->GetModificationTime();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 wxDateTime
* resultptr
;
6440 resultptr
= new wxDateTime((wxDateTime
&) result
);
6441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6449 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6461 return Py_BuildValue((char *)"");
6463 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyFileSystemHandler
*result
;
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6485 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6488 PyObject
*arg2
= (PyObject
*) 0 ;
6489 PyObject
*arg3
= (PyObject
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6492 PyObject
* obj2
= 0 ;
6494 (char *) "self",(char *) "self",(char *) "_class", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 Py_INCREF(Py_None
); resultobj
= Py_None
;
6516 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6519 wxString
*arg2
= 0 ;
6521 bool temp2
= False
;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "location", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 arg2
= wxString_in_helper(obj1
);
6533 if (arg2
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6563 wxFileSystem
*arg2
= 0 ;
6564 wxString
*arg3
= 0 ;
6566 bool temp3
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6571 (char *) "self",(char *) "fs",(char *) "location", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6581 PyErr_SetString(PyExc_TypeError
,"null reference");
6585 arg3
= wxString_in_helper(obj2
);
6586 if (arg3
== NULL
) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= wxPyMake_wxObject(result
);
6613 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6616 wxString
*arg2
= 0 ;
6617 int arg3
= (int) 0 ;
6619 bool temp2
= False
;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 PyObject
* obj2
= 0 ;
6624 (char *) "self",(char *) "spec",(char *) "flags", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 arg2
= wxString_in_helper(obj1
);
6632 if (arg2
== NULL
) SWIG_fail
;
6636 arg3
= (int) SWIG_AsInt(obj2
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6667 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (arg1
)->FindNext();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6699 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6702 wxString
*arg2
= 0 ;
6704 bool temp2
= False
;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6708 (char *) "self",(char *) "location", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 arg2
= wxString_in_helper(obj1
);
6716 if (arg2
== NULL
) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6747 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6750 wxString
*arg2
= 0 ;
6752 bool temp2
= False
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "location", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 arg2
= wxString_in_helper(obj1
);
6764 if (arg2
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6795 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6798 wxString
*arg2
= 0 ;
6800 bool temp2
= False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "location", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= wxString_in_helper(obj1
);
6812 if (arg2
== NULL
) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6843 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6846 wxString
*arg2
= 0 ;
6848 bool temp2
= False
;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "location", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg2
= wxString_in_helper(obj1
);
6860 if (arg2
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6891 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6894 wxString
*arg2
= 0 ;
6896 bool temp2
= False
;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6900 (char *) "self",(char *) "location", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6939 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6944 return Py_BuildValue((char *)"");
6946 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxFileSystem
*result
;
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxFileSystem
*)new wxFileSystem();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= wxPyMake_wxObject(result
);
6970 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6998 wxString
*arg2
= 0 ;
6999 bool arg3
= (bool) False
;
7000 bool temp2
= False
;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7005 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7017 arg3
= (bool) SWIG_AsBool(obj2
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (arg1
)->GetPath();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7074 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7077 wxString
*arg2
= 0 ;
7079 bool temp2
= False
;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7083 (char *) "self",(char *) "location", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 arg2
= wxString_in_helper(obj1
);
7091 if (arg2
== NULL
) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= wxPyMake_wxObject(result
);
7118 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7121 wxString
*arg2
= 0 ;
7122 int arg3
= (int) 0 ;
7124 bool temp2
= False
;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7127 PyObject
* obj2
= 0 ;
7129 (char *) "self",(char *) "spec",(char *) "flags", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7136 arg2
= wxString_in_helper(obj1
);
7137 if (arg2
== NULL
) SWIG_fail
;
7141 arg3
= (int) SWIG_AsInt(obj2
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7172 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (arg1
)->FindNext();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7204 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "handler", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxFileSystem::AddHandler(arg1
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxFileSystem::CleanUpHandlers();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxString
*arg1
= 0 ;
7254 bool temp1
= False
;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "filename", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7262 arg1
= wxString_in_helper(obj0
);
7263 if (arg1
== NULL
) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7294 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7299 return Py_BuildValue((char *)"");
7301 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxString
*arg1
= 0 ;
7305 bool temp1
= False
;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "url", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7313 arg1
= wxString_in_helper(obj0
);
7314 if (arg1
== NULL
) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7345 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxInternetFSHandler
*result
;
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7367 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7370 wxString
*arg2
= 0 ;
7372 bool temp2
= False
;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "location", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 arg2
= wxString_in_helper(obj1
);
7384 if (arg2
== NULL
) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7414 wxFileSystem
*arg2
= 0 ;
7415 wxString
*arg3
= 0 ;
7417 bool temp3
= False
;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj1
= 0 ;
7420 PyObject
* obj2
= 0 ;
7422 (char *) "self",(char *) "fs",(char *) "location", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7432 PyErr_SetString(PyExc_TypeError
,"null reference");
7436 arg3
= wxString_in_helper(obj2
);
7437 if (arg3
== NULL
) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= wxPyMake_wxObject(result
);
7464 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7469 return Py_BuildValue((char *)"");
7471 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxZipFSHandler
*result
;
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7493 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7496 wxString
*arg2
= 0 ;
7498 bool temp2
= False
;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "location", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 arg2
= wxString_in_helper(obj1
);
7510 if (arg2
== NULL
) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7537 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7540 wxFileSystem
*arg2
= 0 ;
7541 wxString
*arg3
= 0 ;
7543 bool temp3
= False
;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "fs",(char *) "location", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7558 PyErr_SetString(PyExc_TypeError
,"null reference");
7562 arg3
= wxString_in_helper(obj2
);
7563 if (arg3
== NULL
) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= wxPyMake_wxObject(result
);
7590 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7593 wxString
*arg2
= 0 ;
7594 int arg3
= (int) 0 ;
7596 bool temp2
= False
;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7601 (char *) "self",(char *) "spec",(char *) "flags", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 arg2
= wxString_in_helper(obj1
);
7609 if (arg2
== NULL
) SWIG_fail
;
7613 arg3
= (int) SWIG_AsInt(obj2
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7644 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (arg1
)->FindNext();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7676 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7679 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7681 return Py_BuildValue((char *)"");
7683 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxString
*arg1
= 0 ;
7688 bool temp1
= False
;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7691 PyObject
* obj2
= 0 ;
7693 (char *) "filename",(char *) "image",(char *) "type", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7698 arg1
= wxString_in_helper(obj0
);
7699 if (arg1
== NULL
) SWIG_fail
;
7702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7706 PyErr_SetString(PyExc_TypeError
,"null reference");
7709 arg3
= (long) SWIG_AsLong(obj2
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxString
*arg1
= 0 ;
7736 wxBitmap
*arg2
= 0 ;
7738 bool temp1
= False
;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7741 PyObject
* obj2
= 0 ;
7743 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7748 arg1
= wxString_in_helper(obj0
);
7749 if (arg1
== NULL
) SWIG_fail
;
7752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7756 PyErr_SetString(PyExc_TypeError
,"null reference");
7759 arg3
= (long) SWIG_AsLong(obj2
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxString
*arg1
= 0 ;
7786 PyObject
*arg2
= (PyObject
*) 0 ;
7787 bool temp1
= False
;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "filename",(char *) "data", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 arg1
= wxString_in_helper(obj0
);
7797 if (arg1
== NULL
) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7823 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxMemoryFSHandler
*result
;
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7845 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxString
*arg1
= 0 ;
7848 bool temp1
= False
;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "filename", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7856 arg1
= wxString_in_helper(obj0
);
7857 if (arg1
== NULL
) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7885 wxString
*arg2
= 0 ;
7887 bool temp2
= False
;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7891 (char *) "self",(char *) "location", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 arg2
= wxString_in_helper(obj1
);
7899 if (arg2
== NULL
) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7926 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7929 wxFileSystem
*arg2
= 0 ;
7930 wxString
*arg3
= 0 ;
7932 bool temp3
= False
;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7935 PyObject
* obj2
= 0 ;
7937 (char *) "self",(char *) "fs",(char *) "location", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7947 PyErr_SetString(PyExc_TypeError
,"null reference");
7951 arg3
= wxString_in_helper(obj2
);
7952 if (arg3
== NULL
) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= wxPyMake_wxObject(result
);
7979 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7982 wxString
*arg2
= 0 ;
7983 int arg3
= (int) 0 ;
7985 bool temp2
= False
;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7988 PyObject
* obj2
= 0 ;
7990 (char *) "self",(char *) "spec",(char *) "flags", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 arg2
= wxString_in_helper(obj1
);
7998 if (arg2
== NULL
) SWIG_fail
;
8002 arg3
= (int) SWIG_AsInt(obj2
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8033 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (arg1
)->FindNext();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8065 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8070 return Py_BuildValue((char *)"");
8072 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (arg1
)->GetName();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8104 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (arg1
)->GetExtension();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8136 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (long)(arg1
)->GetType();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_FromLong((long)result
);
8162 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (arg1
)->GetMimeType();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8194 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8197 wxString
*arg2
= 0 ;
8199 bool temp2
= False
;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "name", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 arg2
= wxString_in_helper(obj1
);
8211 if (arg2
== NULL
) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8238 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8241 wxString
*arg2
= 0 ;
8242 bool temp2
= False
;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8246 (char *) "self",(char *) "name", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= wxString_in_helper(obj1
);
8254 if (arg2
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetName((wxString
const &)*arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8282 wxString
*arg2
= 0 ;
8283 bool temp2
= False
;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "self",(char *) "extension", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= wxString_in_helper(obj1
);
8295 if (arg2
== NULL
) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->SetExtension((wxString
const &)*arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "type", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= (long) SWIG_AsLong(obj1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetType(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8352 wxString
*arg2
= 0 ;
8353 bool temp2
= False
;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "self",(char *) "mimetype", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 arg2
= wxString_in_helper(obj1
);
8365 if (arg2
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8395 return Py_BuildValue((char *)"");
8397 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxImageHistogram
*result
;
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxImageHistogram
*)new wxImageHistogram();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8419 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 unsigned char arg1
;
8422 unsigned char arg2
;
8423 unsigned char arg3
;
8424 unsigned long result
;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8429 (char *) "r",(char *) "g",(char *) "b", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8433 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8435 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8437 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8453 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8456 unsigned char *arg2
= (unsigned char *) 0 ;
8457 unsigned char *arg3
= (unsigned char *) 0 ;
8458 unsigned char *arg4
= (unsigned char *) 0 ;
8459 unsigned char arg5
= (unsigned char) 1 ;
8460 unsigned char arg6
= (unsigned char) 0 ;
8461 unsigned char arg7
= (unsigned char) 0 ;
8463 unsigned char temp2
;
8464 unsigned char temp3
;
8465 unsigned char temp4
;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8469 PyObject
* obj3
= 0 ;
8471 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8481 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8504 resultobj
= t_output_helper(resultobj
,o
);
8507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8508 resultobj
= t_output_helper(resultobj
,o
);
8511 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8512 resultobj
= t_output_helper(resultobj
,o
);
8520 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8525 return Py_BuildValue((char *)"");
8527 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxString
*arg1
= 0 ;
8530 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8531 int arg3
= (int) -1 ;
8533 bool temp1
= False
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8538 (char *) "name",(char *) "type",(char *) "index", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8543 arg1
= wxString_in_helper(obj0
);
8544 if (arg1
== NULL
) SWIG_fail
;
8548 arg2
= (long) SWIG_AsLong(obj1
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 arg3
= (int) SWIG_AsInt(obj2
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8577 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxImage
*arg1
= (wxImage
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 Py_INCREF(Py_None
); resultobj
= Py_None
;
8602 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxString
*arg1
= 0 ;
8605 wxString
*arg2
= 0 ;
8606 int arg3
= (int) -1 ;
8608 bool temp1
= False
;
8609 bool temp2
= False
;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8614 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8619 arg1
= wxString_in_helper(obj0
);
8620 if (arg1
== NULL
) SWIG_fail
;
8624 arg2
= wxString_in_helper(obj1
);
8625 if (arg2
== NULL
) SWIG_fail
;
8629 arg3
= (int) SWIG_AsInt(obj2
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8662 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxInputStream
*arg1
= 0 ;
8665 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8666 int arg3
= (int) -1 ;
8668 wxPyInputStream
*temp1
;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8674 (char *) "stream",(char *) "type",(char *) "index", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8679 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8680 arg1
= temp1
->m_wxis
;
8683 PyErr_Clear(); // clear the failure of the wxPyConvert above
8684 arg1
= wxPyCBInputStream_create(obj0
, False
);
8686 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8693 arg2
= (long) SWIG_AsLong(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 arg3
= (int) SWIG_AsInt(obj2
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8722 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxInputStream
*arg1
= 0 ;
8725 wxString
*arg2
= 0 ;
8726 int arg3
= (int) -1 ;
8728 wxPyInputStream
*temp1
;
8730 bool temp2
= False
;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8740 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8741 arg1
= temp1
->m_wxis
;
8744 PyErr_Clear(); // clear the failure of the wxPyConvert above
8745 arg1
= wxPyCBInputStream_create(obj0
, False
);
8747 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8754 arg2
= wxString_in_helper(obj1
);
8755 if (arg2
== NULL
) SWIG_fail
;
8759 arg3
= (int) SWIG_AsInt(obj2
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8792 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 int arg1
= (int) 0 ;
8795 int arg2
= (int) 0 ;
8796 bool arg3
= (bool) True
;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8802 (char *) "width",(char *) "height",(char *) "clear", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 arg1
= (int) SWIG_AsInt(obj0
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 arg2
= (int) SWIG_AsInt(obj1
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 arg3
= (bool) SWIG_AsBool(obj2
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8832 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxBitmap
*arg1
= 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "bitmap", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8846 PyErr_SetString(PyExc_TypeError
,"null reference");
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8863 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8867 unsigned char *arg3
= (unsigned char *) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8871 PyObject
* obj2
= 0 ;
8873 (char *) "width",(char *) "height",(char *) "data", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8877 arg1
= (int) SWIG_AsInt(obj0
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8879 arg2
= (int) SWIG_AsInt(obj1
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8881 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8897 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxImage
*arg1
= (wxImage
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 PyObject
* obj2
= 0 ;
8906 (char *) "self",(char *) "width",(char *) "height", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 arg2
= (int) SWIG_AsInt(obj1
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8914 arg3
= (int) SWIG_AsInt(obj2
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 (arg1
)->Create(arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImage
*arg1
= (wxImage
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 (char *) "self", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxImage
*arg1
= (wxImage
*) 0 ;
8960 SwigValueWrapper
< wxImage
> result
;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8965 (char *) "self",(char *) "width",(char *) "height", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= (int) SWIG_AsInt(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg3
= (int) SWIG_AsInt(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (arg1
)->Scale(arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 wxImage
* resultptr
;
8984 resultptr
= new wxImage((wxImage
&) result
);
8985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8993 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxImage
*arg1
= (wxImage
*) 0 ;
8998 SwigValueWrapper
< wxImage
> result
;
8999 PyObject
* obj0
= 0 ;
9000 PyObject
* obj1
= 0 ;
9001 PyObject
* obj2
= 0 ;
9003 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 arg2
= (int) SWIG_AsInt(obj1
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9011 arg3
= (int) SWIG_AsInt(obj2
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 wxImage
* resultptr
;
9022 resultptr
= new wxImage((wxImage
&) result
);
9023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9031 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxImage
*arg1
= (wxImage
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 PyObject
* obj2
= 0 ;
9041 (char *) "self",(char *) "width",(char *) "height", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (int) SWIG_AsInt(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9049 arg3
= (int) SWIG_AsInt(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9055 result
= (wxImage
*) &_result_ref
;
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9068 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxImage
*arg1
= (wxImage
*) 0 ;
9073 unsigned char arg4
;
9074 unsigned char arg5
;
9075 unsigned char arg6
;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 PyObject
* obj2
= 0 ;
9079 PyObject
* obj3
= 0 ;
9080 PyObject
* obj4
= 0 ;
9081 PyObject
* obj5
= 0 ;
9083 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 arg2
= (int) SWIG_AsInt(obj1
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9091 arg3
= (int) SWIG_AsInt(obj2
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9093 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9095 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9097 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 Py_INCREF(Py_None
); resultobj
= Py_None
;
9113 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxImage
*arg1
= (wxImage
*) 0 ;
9118 unsigned char result
;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9123 (char *) "self",(char *) "x",(char *) "y", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 arg2
= (int) SWIG_AsInt(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9131 arg3
= (int) SWIG_AsInt(obj2
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9147 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxImage
*arg1
= (wxImage
*) 0 ;
9152 unsigned char result
;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 PyObject
* obj2
= 0 ;
9157 (char *) "self",(char *) "x",(char *) "y", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (int) SWIG_AsInt(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9181 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxImage
*arg1
= (wxImage
*) 0 ;
9186 unsigned char result
;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 PyObject
* obj2
= 0 ;
9191 (char *) "self",(char *) "x",(char *) "y", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 arg2
= (int) SWIG_AsInt(obj1
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9199 arg3
= (int) SWIG_AsInt(obj2
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9215 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxImage
*arg1
= (wxImage
*) 0 ;
9220 unsigned char arg4
;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9224 PyObject
* obj3
= 0 ;
9226 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= (int) SWIG_AsInt(obj1
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9234 arg3
= (int) SWIG_AsInt(obj2
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9236 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxImage
*arg1
= (wxImage
*) 0 ;
9257 unsigned char result
;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj2
= 0 ;
9262 (char *) "self",(char *) "x",(char *) "y", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 arg2
= (int) SWIG_AsInt(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9270 arg3
= (int) SWIG_AsInt(obj2
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9286 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxImage
*arg1
= (wxImage
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)(arg1
)->HasAlpha();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxImage
*arg1
= (wxImage
*) 0 ;
9317 byte
*arg2
= (byte
*) 0 ;
9318 byte
*arg3
= (byte
*) 0 ;
9319 byte
*arg4
= (byte
*) 0 ;
9320 byte arg5
= (byte
) 0 ;
9321 byte arg6
= (byte
) 0 ;
9322 byte arg7
= (byte
) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj2
= 0 ;
9330 PyObject
* obj3
= 0 ;
9332 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9365 resultobj
= t_output_helper(resultobj
,o
);
9368 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9369 resultobj
= t_output_helper(resultobj
,o
);
9372 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9373 resultobj
= t_output_helper(resultobj
,o
);
9381 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxImage
*arg1
= (wxImage
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 PyObject
* obj2
= 0 ;
9392 PyObject
* obj3
= 0 ;
9393 PyObject
* obj4
= 0 ;
9395 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9405 PyErr_SetString(PyExc_TypeError
,"null reference");
9408 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9410 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9412 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxString
*arg1
= 0 ;
9434 bool temp1
= False
;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "name", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9442 arg1
= wxString_in_helper(obj0
);
9443 if (arg1
== NULL
) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9470 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxString
*arg1
= 0 ;
9473 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9475 bool temp1
= False
;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9479 (char *) "name",(char *) "type", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9484 arg1
= wxString_in_helper(obj0
);
9485 if (arg1
== NULL
) SWIG_fail
;
9489 arg2
= (long) SWIG_AsLong(obj1
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_FromInt((int)result
);
9514 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxImage
*arg1
= (wxImage
*) 0 ;
9517 wxString
*arg2
= 0 ;
9518 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9519 int arg4
= (int) -1 ;
9521 bool temp2
= False
;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 PyObject
* obj2
= 0 ;
9525 PyObject
* obj3
= 0 ;
9527 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 arg2
= wxString_in_helper(obj1
);
9535 if (arg2
== NULL
) SWIG_fail
;
9539 arg3
= (long) SWIG_AsLong(obj2
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9543 arg4
= (int) SWIG_AsInt(obj3
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9570 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxImage
*arg1
= (wxImage
*) 0 ;
9573 wxString
*arg2
= 0 ;
9574 wxString
*arg3
= 0 ;
9575 int arg4
= (int) -1 ;
9577 bool temp2
= False
;
9578 bool temp3
= False
;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9581 PyObject
* obj2
= 0 ;
9582 PyObject
* obj3
= 0 ;
9584 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 arg2
= wxString_in_helper(obj1
);
9592 if (arg2
== NULL
) SWIG_fail
;
9596 arg3
= wxString_in_helper(obj2
);
9597 if (arg3
== NULL
) SWIG_fail
;
9601 arg4
= (int) SWIG_AsInt(obj3
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9636 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxImage
*arg1
= (wxImage
*) 0 ;
9639 wxString
*arg2
= 0 ;
9642 bool temp2
= False
;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 PyObject
* obj2
= 0 ;
9647 (char *) "self",(char *) "name",(char *) "type", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 arg2
= wxString_in_helper(obj1
);
9655 if (arg2
== NULL
) SWIG_fail
;
9658 arg3
= (int) SWIG_AsInt(obj2
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxImage
*arg1
= (wxImage
*) 0 ;
9687 wxString
*arg2
= 0 ;
9688 wxString
*arg3
= 0 ;
9690 bool temp2
= False
;
9691 bool temp3
= False
;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9696 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9703 arg2
= wxString_in_helper(obj1
);
9704 if (arg2
== NULL
) SWIG_fail
;
9708 arg3
= wxString_in_helper(obj2
);
9709 if (arg3
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxInputStream
*arg1
= 0 ;
9748 wxPyInputStream
*temp1
;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "stream", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9757 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9758 arg1
= temp1
->m_wxis
;
9761 PyErr_Clear(); // clear the failure of the wxPyConvert above
9762 arg1
= wxPyCBInputStream_create(obj0
, False
);
9764 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (bool)wxImage::CanRead(*arg1
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9794 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxImage
*arg1
= (wxImage
*) 0 ;
9797 wxInputStream
*arg2
= 0 ;
9798 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9799 int arg4
= (int) -1 ;
9801 wxPyInputStream
*temp2
;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 PyObject
* obj2
= 0 ;
9806 PyObject
* obj3
= 0 ;
9808 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9816 arg2
= temp2
->m_wxis
;
9819 PyErr_Clear(); // clear the failure of the wxPyConvert above
9820 arg2
= wxPyCBInputStream_create(obj1
, False
);
9822 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9829 arg3
= (long) SWIG_AsLong(obj2
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 arg4
= (int) SWIG_AsInt(obj3
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxImage
*arg1
= (wxImage
*) 0 ;
9863 wxInputStream
*arg2
= 0 ;
9864 wxString
*arg3
= 0 ;
9865 int arg4
= (int) -1 ;
9867 wxPyInputStream
*temp2
;
9869 bool temp3
= False
;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 PyObject
* obj3
= 0 ;
9875 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9883 arg2
= temp2
->m_wxis
;
9886 PyErr_Clear(); // clear the failure of the wxPyConvert above
9887 arg2
= wxPyCBInputStream_create(obj1
, False
);
9889 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9896 arg3
= wxString_in_helper(obj2
);
9897 if (arg3
== NULL
) SWIG_fail
;
9901 arg4
= (int) SWIG_AsInt(obj3
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxImage
*arg1
= (wxImage
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)(arg1
)->Ok();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9964 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxImage
*arg1
= (wxImage
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "self", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (int)(arg1
)->GetWidth();
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_FromInt((int)result
);
9990 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxImage
*arg1
= (wxImage
*) 0 ;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "self", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (int)(arg1
)->GetHeight();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_FromInt((int)result
);
10016 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxImage
*arg1
= (wxImage
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= wxImage_GetSize(arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10036 wxSize
* resultptr
;
10037 resultptr
= new wxSize((wxSize
&) result
);
10038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10046 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxImage
*arg1
= (wxImage
*) 0 ;
10050 SwigValueWrapper
< wxImage
> result
;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "rect", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10073 wxImage
* resultptr
;
10074 resultptr
= new wxImage((wxImage
&) result
);
10075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10083 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxImage
*arg1
= (wxImage
*) 0 ;
10086 SwigValueWrapper
< wxImage
> result
;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (arg1
)->Copy();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 wxImage
* resultptr
;
10104 resultptr
= new wxImage((wxImage
&) result
);
10105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10113 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxImage
*arg1
= (wxImage
*) 0 ;
10116 wxImage
*arg2
= 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 PyObject
* obj2
= 0 ;
10122 PyObject
* obj3
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10133 if (arg2
== NULL
) {
10134 PyErr_SetString(PyExc_TypeError
,"null reference");
10137 arg3
= (int) SWIG_AsInt(obj2
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10139 arg4
= (int) SWIG_AsInt(obj3
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 Py_INCREF(Py_None
); resultobj
= Py_None
;
10155 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxImage
*arg1
= (wxImage
*) 0 ;
10159 PyObject
* obj0
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (PyObject
*)wxImage_GetData(arg1
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= result
;
10181 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxImage
*arg1
= (wxImage
*) 0 ;
10184 PyObject
*arg2
= (PyObject
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self",(char *) "data", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 wxImage_SetData(arg1
,arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxImage
*arg1
= (wxImage
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= result
;
10235 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxImage
*arg1
= (wxImage
*) 0 ;
10238 PyObject
*arg2
= (PyObject
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "data", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 wxImage_SetDataBuffer(arg1
,arg2
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 Py_INCREF(Py_None
); resultobj
= Py_None
;
10263 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxImage
*arg1
= (wxImage
*) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
;
10289 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxImage
*arg1
= (wxImage
*) 0 ;
10292 PyObject
*arg2
= (PyObject
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "data", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 wxImage_SetAlphaData(arg1
,arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxImage
*arg1
= (wxImage
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
;
10343 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxImage
*arg1
= (wxImage
*) 0 ;
10346 PyObject
*arg2
= (PyObject
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "data", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxImage_SetAlphaBuffer(arg1
,arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxImage
*arg1
= (wxImage
*) 0 ;
10374 unsigned char arg2
;
10375 unsigned char arg3
;
10376 unsigned char arg4
;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10380 PyObject
* obj3
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10390 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10392 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxImage
*arg1
= (wxImage
*) 0 ;
10411 unsigned char result
;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (unsigned char)(arg1
)->GetMaskRed();
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10434 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxImage
*arg1
= (wxImage
*) 0 ;
10437 unsigned char result
;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (unsigned char)(arg1
)->GetMaskGreen();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10460 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxImage
*arg1
= (wxImage
*) 0 ;
10463 unsigned char result
;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (unsigned char)(arg1
)->GetMaskBlue();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10486 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxImage
*arg1
= (wxImage
*) 0 ;
10489 bool arg2
= (bool) True
;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self",(char *) "mask", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 arg2
= (bool) SWIG_AsBool(obj1
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 (arg1
)->SetMask(arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 Py_INCREF(Py_None
); resultobj
= Py_None
;
10517 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxImage
*arg1
= (wxImage
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (bool)(arg1
)->HasMask();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10545 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxImage
*arg1
= (wxImage
*) 0 ;
10549 wxPoint
*arg3
= 0 ;
10550 bool arg4
= (bool) True
;
10551 wxPoint
*arg5
= (wxPoint
*) NULL
;
10552 SwigValueWrapper
< wxImage
> result
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 arg2
= (double) SWIG_AsDouble(obj1
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10573 arg4
= (bool) SWIG_AsBool(obj3
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10588 wxImage
* resultptr
;
10589 resultptr
= new wxImage((wxImage
&) result
);
10590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10598 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxImage
*arg1
= (wxImage
*) 0 ;
10601 bool arg2
= (bool) True
;
10602 SwigValueWrapper
< wxImage
> result
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "clockwise", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 arg2
= (bool) SWIG_AsBool(obj1
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (arg1
)->Rotate90(arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 wxImage
* resultptr
;
10625 resultptr
= new wxImage((wxImage
&) result
);
10626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10634 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxImage
*arg1
= (wxImage
*) 0 ;
10637 bool arg2
= (bool) True
;
10638 SwigValueWrapper
< wxImage
> result
;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "horizontally", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 arg2
= (bool) SWIG_AsBool(obj1
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (arg1
)->Mirror(arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 wxImage
* resultptr
;
10661 resultptr
= new wxImage((wxImage
&) result
);
10662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10670 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxImage
*arg1
= (wxImage
*) 0 ;
10673 unsigned char arg2
;
10674 unsigned char arg3
;
10675 unsigned char arg4
;
10676 unsigned char arg5
;
10677 unsigned char arg6
;
10678 unsigned char arg7
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 PyObject
* obj3
= 0 ;
10683 PyObject
* obj4
= 0 ;
10684 PyObject
* obj5
= 0 ;
10685 PyObject
* obj6
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10693 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10695 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10699 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10701 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxImage
*arg1
= (wxImage
*) 0 ;
10722 unsigned char arg2
;
10723 unsigned char arg3
;
10724 unsigned char arg4
;
10725 SwigValueWrapper
< wxImage
> result
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 PyObject
* obj3
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10739 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10741 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10751 wxImage
* resultptr
;
10752 resultptr
= new wxImage((wxImage
&) result
);
10753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10761 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxImage
*arg1
= (wxImage
*) 0 ;
10764 wxString
*arg2
= 0 ;
10765 wxString
*arg3
= 0 ;
10766 bool temp2
= False
;
10767 bool temp3
= False
;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 PyObject
* obj2
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "name",(char *) "value", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 arg2
= wxString_in_helper(obj1
);
10780 if (arg2
== NULL
) SWIG_fail
;
10784 arg3
= wxString_in_helper(obj2
);
10785 if (arg3
== NULL
) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxImage
*arg1
= (wxImage
*) 0 ;
10821 wxString
*arg2
= 0 ;
10823 bool temp2
= False
;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 PyObject
* obj2
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "name",(char *) "value", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 arg2
= wxString_in_helper(obj1
);
10836 if (arg2
== NULL
) SWIG_fail
;
10839 arg3
= (int) SWIG_AsInt(obj2
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxImage
*arg1
= (wxImage
*) 0 ;
10866 wxString
*arg2
= 0 ;
10868 bool temp2
= False
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self",(char *) "name", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 arg2
= wxString_in_helper(obj1
);
10880 if (arg2
== NULL
) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10911 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxImage
*arg1
= (wxImage
*) 0 ;
10914 wxString
*arg2
= 0 ;
10916 bool temp2
= False
;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "name", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10927 arg2
= wxString_in_helper(obj1
);
10928 if (arg2
== NULL
) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_FromInt((int)result
);
10953 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxImage
*arg1
= (wxImage
*) 0 ;
10956 wxString
*arg2
= 0 ;
10958 bool temp2
= False
;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "name", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 arg2
= wxString_in_helper(obj1
);
10970 if (arg2
== NULL
) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10997 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxImage
*arg1
= (wxImage
*) 0 ;
11000 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11001 unsigned long result
;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "stopafter", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11029 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxImage
*arg1
= (wxImage
*) 0 ;
11032 wxImageHistogram
*arg2
= 0 ;
11033 unsigned long result
;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "h", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11046 if (arg2
== NULL
) {
11047 PyErr_SetString(PyExc_TypeError
,"null reference");
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11064 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "handler", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 wxImage::AddHandler(arg1
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "handler", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 wxImage::InsertHandler(arg1
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxString
*arg1
= 0 ;
11118 bool temp1
= False
;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "name", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11126 arg1
= wxString_in_helper(obj0
);
11127 if (arg1
== NULL
) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11157 char *kwnames
[] = {
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= wxImage::GetImageExtWildcard();
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11182 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxImage
*arg1
= (wxImage
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= wxImage_ConvertToBitmap(arg1
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 wxBitmap
* resultptr
;
11203 resultptr
= new wxBitmap((wxBitmap
&) result
);
11204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11212 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxImage
*arg1
= (wxImage
*) 0 ;
11215 unsigned char arg2
;
11216 unsigned char arg3
;
11217 unsigned char arg4
;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 PyObject
* obj2
= 0 ;
11222 PyObject
* obj3
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11232 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11234 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11244 wxBitmap
* resultptr
;
11245 resultptr
= new wxBitmap((wxBitmap
&) result
);
11246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11254 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11257 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11259 return Py_BuildValue((char *)"");
11261 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 char *kwnames
[] = {
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxInitAllImageHandlers();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static int _wrap_NullImage_set(PyObject
*_val
) {
11283 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11288 static PyObject
*_wrap_NullImage_get() {
11291 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11296 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11297 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11302 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11307 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11309 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11316 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11317 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11322 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11327 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11329 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11336 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11337 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11342 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11347 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11349 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11356 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11357 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11362 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11367 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11369 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11376 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11377 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11382 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11387 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11389 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11396 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxBMPHandler
*result
;
11399 char *kwnames
[] = {
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (wxBMPHandler
*)new wxBMPHandler();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11418 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11423 return Py_BuildValue((char *)"");
11425 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxICOHandler
*result
;
11428 char *kwnames
[] = {
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (wxICOHandler
*)new wxICOHandler();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11447 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11452 return Py_BuildValue((char *)"");
11454 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxCURHandler
*result
;
11457 char *kwnames
[] = {
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (wxCURHandler
*)new wxCURHandler();
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11476 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11479 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11481 return Py_BuildValue((char *)"");
11483 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxANIHandler
*result
;
11486 char *kwnames
[] = {
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (wxANIHandler
*)new wxANIHandler();
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11505 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11508 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11510 return Py_BuildValue((char *)"");
11512 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxPNGHandler
*result
;
11515 char *kwnames
[] = {
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (wxPNGHandler
*)new wxPNGHandler();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11534 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11537 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11539 return Py_BuildValue((char *)"");
11541 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxGIFHandler
*result
;
11544 char *kwnames
[] = {
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (wxGIFHandler
*)new wxGIFHandler();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11563 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11566 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11568 return Py_BuildValue((char *)"");
11570 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxPCXHandler
*result
;
11573 char *kwnames
[] = {
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (wxPCXHandler
*)new wxPCXHandler();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11592 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11595 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11597 return Py_BuildValue((char *)"");
11599 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxJPEGHandler
*result
;
11602 char *kwnames
[] = {
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11621 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11624 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11626 return Py_BuildValue((char *)"");
11628 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxPNMHandler
*result
;
11631 char *kwnames
[] = {
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxPNMHandler
*)new wxPNMHandler();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11650 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11653 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11655 return Py_BuildValue((char *)"");
11657 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxXPMHandler
*result
;
11660 char *kwnames
[] = {
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxXPMHandler
*)new wxXPMHandler();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11679 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11682 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11684 return Py_BuildValue((char *)"");
11686 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxTIFFHandler
*result
;
11689 char *kwnames
[] = {
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11708 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxEvtHandler
*result
;
11718 char *kwnames
[] = {
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (wxEvtHandler
*)new wxEvtHandler();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= wxPyMake_wxObject(result
);
11739 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11742 wxEvtHandler
*result
;
11743 PyObject
* obj0
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= wxPyMake_wxObject(result
);
11767 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11770 wxEvtHandler
*result
;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= wxPyMake_wxObject(result
);
11795 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11798 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "handler", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetNextHandler(arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11827 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "handler", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->SetPreviousHandler(arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "enabled", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 arg2
= (bool) SWIG_AsBool(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->SetEvtHandlerEnabled(arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11913 wxEvent
*arg2
= 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "event", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11927 if (arg2
== NULL
) {
11928 PyErr_SetString(PyExc_TypeError
,"null reference");
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11950 wxEvent
*arg2
= 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "event", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11963 if (arg2
== NULL
) {
11964 PyErr_SetString(PyExc_TypeError
,"null reference");
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->AddPendingEvent(*arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->ProcessPendingEvents();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12012 PyObject
*arg5
= (PyObject
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 PyObject
* obj2
= 0 ;
12016 PyObject
* obj3
= 0 ;
12017 PyObject
* obj4
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 arg2
= (int) SWIG_AsInt(obj1
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12027 arg3
= (int) SWIG_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12029 arg4
= (int) SWIG_AsInt(obj3
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12046 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12050 int arg3
= (int) -1 ;
12051 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 PyObject
* obj2
= 0 ;
12056 PyObject
* obj3
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12064 arg2
= (int) SWIG_AsInt(obj1
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 arg3
= (int) SWIG_AsInt(obj2
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12093 PyObject
*arg2
= (PyObject
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "_self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 wxEvtHandler__setOORInfo(arg1
,arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12123 return Py_BuildValue((char *)"");
12125 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxEventType result
;
12128 char *kwnames
[] = {
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxEventType
)wxNewEventType();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_FromInt((int)result
);
12147 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxEvent
*arg1
= (wxEvent
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxEvent
*arg1
= (wxEvent
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "typ", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12185 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetEventType(arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxEvent
*arg1
= (wxEvent
*) 0 ;
12204 wxEventType result
;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_FromInt((int)result
);
12227 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxEvent
*arg1
= (wxEvent
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= wxPyMake_wxObject(result
);
12255 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvent
*arg1
= (wxEvent
*) 0 ;
12258 wxObject
*arg2
= (wxObject
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self",(char *) "obj", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetEventObject(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 Py_INCREF(Py_None
); resultobj
= Py_None
;
12284 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxEvent
*arg1
= (wxEvent
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_FromLong((long)result
);
12310 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxEvent
*arg1
= (wxEvent
*) 0 ;
12313 long arg2
= (long) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "ts", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 arg2
= (long) SWIG_AsLong(obj1
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetTimestamp(arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxEvent
*arg1
= (wxEvent
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)((wxEvent
const *)arg1
)->GetId();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_FromInt((int)result
);
12367 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvent
*arg1
= (wxEvent
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "Id", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int) SWIG_AsInt(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetId(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxEvent
*arg1
= (wxEvent
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12424 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxEvent
*arg1
= (wxEvent
*) 0 ;
12427 bool arg2
= (bool) True
;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "skip", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= (bool) SWIG_AsBool(obj1
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->Skip(arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxEvent
*arg1
= (wxEvent
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12483 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxEvent
*arg1
= (wxEvent
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEvent
*arg1
= (wxEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)(arg1
)->StopPropagation();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_FromInt((int)result
);
12537 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvent
*arg1
= (wxEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "propagationLevel", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 arg2
= (int) SWIG_AsInt(obj1
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->ResumePropagation(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (wxEvent
*)(arg1
)->Clone();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12592 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12595 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12597 return Py_BuildValue((char *)"");
12599 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxEvent
*arg1
= 0 ;
12602 wxPropagationDisabler
*result
;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "event", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12612 if (arg1
== NULL
) {
12613 PyErr_SetString(PyExc_TypeError
,"null reference");
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12630 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12658 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12660 return Py_BuildValue((char *)"");
12662 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxEvent
*arg1
= 0 ;
12665 wxPropagateOnce
*result
;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "event", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12675 if (arg1
== NULL
) {
12676 PyErr_SetString(PyExc_TypeError
,"null reference");
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12693 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12723 return Py_BuildValue((char *)"");
12725 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12728 int arg2
= (int) 0 ;
12729 wxCommandEvent
*result
;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "commandType",(char *) "winid", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12738 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 arg2
= (int) SWIG_AsInt(obj1
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12759 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_FromInt((int)result
);
12785 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12788 wxString
*arg2
= 0 ;
12789 bool temp2
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "s", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 arg2
= wxString_in_helper(obj1
);
12801 if (arg2
== NULL
) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetString((wxString
const &)*arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12858 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12886 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12914 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self",(char *) "extraLong", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 arg2
= (long) SWIG_AsLong(obj1
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetExtraLong(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_FromLong((long)result
);
12969 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "i", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 arg2
= (int) SWIG_AsInt(obj1
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetInt(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromLong((long)result
);
13024 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13050 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13053 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13055 return Py_BuildValue((char *)"");
13057 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13060 int arg2
= (int) 0 ;
13061 wxNotifyEvent
*result
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "commandType",(char *) "winid", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13070 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 arg2
= (int) SWIG_AsInt(obj1
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13091 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->IsAllowed();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13169 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13172 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13174 return Py_BuildValue((char *)"");
13176 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13179 int arg2
= (int) 0 ;
13180 int arg3
= (int) 0 ;
13181 int arg4
= (int) 0 ;
13182 wxScrollEvent
*result
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 PyObject
* obj2
= 0 ;
13186 PyObject
* obj3
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13193 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg2
= (int) SWIG_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg3
= (int) SWIG_AsInt(obj2
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 arg4
= (int) SWIG_AsInt(obj3
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13222 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_FromInt((int)result
);
13248 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_FromInt((int)result
);
13274 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "orient", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= (int) SWIG_AsInt(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetOrientation(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "pos", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= (int) SWIG_AsInt(obj1
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->SetPosition(arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 Py_INCREF(Py_None
); resultobj
= Py_None
;
13332 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13335 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13337 return Py_BuildValue((char *)"");
13339 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13342 int arg2
= (int) 0 ;
13343 int arg3
= (int) 0 ;
13344 wxScrollWinEvent
*result
;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13354 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 arg2
= (int) SWIG_AsInt(obj1
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 arg3
= (int) SWIG_AsInt(obj2
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13379 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_FromInt((int)result
);
13405 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_FromInt((int)result
);
13431 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "orient", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 arg2
= (int) SWIG_AsInt(obj1
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetOrientation(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13460 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "pos", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 arg2
= (int) SWIG_AsInt(obj1
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 (arg1
)->SetPosition(arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13494 return Py_BuildValue((char *)"");
13496 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13499 wxMouseEvent
*result
;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "mouseType", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13507 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= wxPyMake_wxObject(result
);
13526 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13557 int arg2
= (int) wxMOUSE_BTN_ANY
;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "but", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 arg2
= (int) SWIG_AsInt(obj1
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13588 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13591 int arg2
= (int) wxMOUSE_BTN_ANY
;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "but", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 arg2
= (int) SWIG_AsInt(obj1
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13625 int arg2
= (int) wxMOUSE_BTN_ANY
;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "but", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg2
= (int) SWIG_AsInt(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13656 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "but", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 arg2
= (int) SWIG_AsInt(obj1
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13688 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "but", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 arg2
= (int) SWIG_AsInt(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13720 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_FromInt((int)result
);
13746 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13830 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13970 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14026 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14082 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (bool)(arg1
)->LeftIsDown();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14138 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)(arg1
)->MiddleIsDown();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14166 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (bool)(arg1
)->RightIsDown();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14278 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (arg1
)->GetPosition();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 wxPoint
* resultptr
;
14327 resultptr
= new wxPoint((wxPoint
&) result
);
14328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14336 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14339 long *arg2
= (long *) 0 ;
14340 long *arg3
= (long *) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->GetPosition(arg2
,arg3
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14363 resultobj
= t_output_helper(resultobj
,o
);
14366 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14367 resultobj
= t_output_helper(resultobj
,o
);
14375 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "dc", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14392 if (arg2
== NULL
) {
14393 PyErr_SetString(PyExc_TypeError
,"null reference");
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 wxPoint
* resultptr
;
14405 resultptr
= new wxPoint((wxPoint
&) result
);
14406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14414 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_FromInt((int)result
);
14440 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_FromInt((int)result
);
14466 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_FromInt((int)result
);
14492 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= SWIG_FromInt((int)result
);
14518 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_FromInt((int)result
);
14544 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "m_x", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 arg2
= (int) SWIG_AsInt(obj1
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14587 if (arg1
) (arg1
)->m_x
= arg2
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 result
= (int) ((arg1
)->m_x
);
14610 resultobj
= SWIG_FromInt((int)result
);
14617 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "m_y", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (int) SWIG_AsInt(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14632 if (arg1
) (arg1
)->m_y
= arg2
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 result
= (int) ((arg1
)->m_y
);
14655 resultobj
= SWIG_FromInt((int)result
);
14662 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "m_leftDown", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg2
= (bool) SWIG_AsBool(obj1
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14677 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 result
= (bool) ((arg1
)->m_leftDown
);
14701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "m_middleDown", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 arg2
= (bool) SWIG_AsBool(obj1
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14724 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14745 result
= (bool) ((arg1
)->m_middleDown
);
14748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "m_rightDown", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 arg2
= (bool) SWIG_AsBool(obj1
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14771 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 result
= (bool) ((arg1
)->m_rightDown
);
14795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self",(char *) "m_controlDown", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg2
= (bool) SWIG_AsBool(obj1
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14818 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 result
= (bool) ((arg1
)->m_controlDown
);
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "m_shiftDown", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 arg2
= (bool) SWIG_AsBool(obj1
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14865 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 result
= (bool) ((arg1
)->m_shiftDown
);
14889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14897 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "m_altDown", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 arg2
= (bool) SWIG_AsBool(obj1
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14912 if (arg1
) (arg1
)->m_altDown
= arg2
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 result
= (bool) ((arg1
)->m_altDown
);
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "m_metaDown", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14957 arg2
= (bool) SWIG_AsBool(obj1
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14959 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 result
= (bool) ((arg1
)->m_metaDown
);
14983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14991 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self",(char *) "m_wheelRotation", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 arg2
= (int) SWIG_AsInt(obj1
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15006 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 result
= (int) ((arg1
)->m_wheelRotation
);
15029 resultobj
= SWIG_FromInt((int)result
);
15036 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "m_wheelDelta", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 arg2
= (int) SWIG_AsInt(obj1
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15051 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 result
= (int) ((arg1
)->m_wheelDelta
);
15074 resultobj
= SWIG_FromInt((int)result
);
15081 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "m_linesPerAction", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 arg2
= (int) SWIG_AsInt(obj1
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15096 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15105 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 result
= (int) ((arg1
)->m_linesPerAction
);
15119 resultobj
= SWIG_FromInt((int)result
);
15126 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15131 return Py_BuildValue((char *)"");
15133 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 int arg1
= (int) 0 ;
15136 int arg2
= (int) 0 ;
15137 wxSetCursorEvent
*result
;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "x",(char *) "y", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 arg1
= (int) SWIG_AsInt(obj0
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 arg2
= (int) SWIG_AsInt(obj1
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15167 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_FromInt((int)result
);
15193 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_FromInt((int)result
);
15219 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15222 wxCursor
*arg2
= 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "cursor", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15235 if (arg2
== NULL
) {
15236 PyErr_SetString(PyExc_TypeError
,"null reference");
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15269 result
= (wxCursor
*) &_result_ref
;
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 wxCursor
* resultptr
= new wxCursor(*result
);
15277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15285 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15316 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15318 return Py_BuildValue((char *)"");
15320 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15323 wxKeyEvent
*result
;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "keyType", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15331 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15348 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15376 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15404 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_FromInt((int)result
);
15514 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_FromInt((int)result
);
15540 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15543 unsigned int result
;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15566 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15569 unsigned int result
;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15592 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (arg1
)->GetPosition();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 wxPoint
* resultptr
;
15613 resultptr
= new wxPoint((wxPoint
&) result
);
15614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15622 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15625 long *arg2
= (long *) 0 ;
15626 long *arg3
= (long *) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 (arg1
)->GetPosition(arg2
,arg3
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 Py_INCREF(Py_None
); resultobj
= Py_None
;
15648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15649 resultobj
= t_output_helper(resultobj
,o
);
15652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15653 resultobj
= t_output_helper(resultobj
,o
);
15661 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= SWIG_FromInt((int)result
);
15687 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_FromInt((int)result
);
15713 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "m_x", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 arg2
= (int) SWIG_AsInt(obj1
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15728 if (arg1
) (arg1
)->m_x
= arg2
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 result
= (int) ((arg1
)->m_x
);
15751 resultobj
= SWIG_FromInt((int)result
);
15758 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self",(char *) "m_y", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 arg2
= (int) SWIG_AsInt(obj1
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15773 if (arg1
) (arg1
)->m_y
= arg2
;
15775 Py_INCREF(Py_None
); resultobj
= Py_None
;
15782 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 result
= (int) ((arg1
)->m_y
);
15796 resultobj
= SWIG_FromInt((int)result
);
15803 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self",(char *) "m_keyCode", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 arg2
= (long) SWIG_AsLong(obj1
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15818 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15820 Py_INCREF(Py_None
); resultobj
= Py_None
;
15827 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 result
= (long) ((arg1
)->m_keyCode
);
15841 resultobj
= SWIG_FromLong((long)result
);
15848 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self",(char *) "m_controlDown", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 arg2
= (bool) SWIG_AsBool(obj1
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15863 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15865 Py_INCREF(Py_None
); resultobj
= Py_None
;
15872 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 result
= (bool) ((arg1
)->m_controlDown
);
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self",(char *) "m_shiftDown", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 arg2
= (bool) SWIG_AsBool(obj1
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15910 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 result
= (bool) ((arg1
)->m_shiftDown
);
15934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15942 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "m_altDown", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= (bool) SWIG_AsBool(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15957 if (arg1
) (arg1
)->m_altDown
= arg2
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 result
= (bool) ((arg1
)->m_altDown
);
15981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15989 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "m_metaDown", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 arg2
= (bool) SWIG_AsBool(obj1
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16004 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 result
= (bool) ((arg1
)->m_metaDown
);
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16036 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self",(char *) "m_scanCode", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 arg2
= (bool) SWIG_AsBool(obj1
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16051 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16060 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 result
= (bool) ((arg1
)->m_scanCode
);
16075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16083 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16086 unsigned int arg2
;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self",(char *) "m_rawCode", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16098 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16110 unsigned int result
;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 result
= (unsigned int) ((arg1
)->m_rawCode
);
16121 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16128 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16131 unsigned int arg2
;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "m_rawFlags", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16152 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16155 unsigned int result
;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16166 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16173 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16176 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16178 return Py_BuildValue((char *)"");
16180 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16183 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16184 int arg2
= (int) 0 ;
16185 wxSizeEvent
*result
;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "sz",(char *) "winid", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16201 arg2
= (int) SWIG_AsInt(obj1
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16218 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 wxSize
* resultptr
;
16239 resultptr
= new wxSize((wxSize
&) result
);
16240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16248 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 wxRect
* resultptr
;
16269 resultptr
= new wxRect((wxRect
&) result
);
16270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16278 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "rect", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16293 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 (arg1
)->SetRect(arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16309 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "size", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16324 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 wxSizeEvent_SetSize(arg1
,arg2
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 Py_INCREF(Py_None
); resultobj
= Py_None
;
16340 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16343 wxSize
*arg2
= (wxSize
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "m_size", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 if (arg1
) (arg1
)->m_size
= *arg2
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 result
= (wxSize
*)& ((arg1
)->m_size
);
16378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16385 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16388 wxRect
*arg2
= (wxRect
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 PyObject
* obj1
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "m_rect", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 if (arg1
) (arg1
)->m_rect
= *arg2
;
16402 Py_INCREF(Py_None
); resultobj
= Py_None
;
16409 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 result
= (wxRect
*)& ((arg1
)->m_rect
);
16423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16430 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16435 return Py_BuildValue((char *)"");
16437 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16440 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16441 int arg2
= (int) 0 ;
16442 wxMoveEvent
*result
;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "pos",(char *) "winid", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16458 arg2
= (int) SWIG_AsInt(obj1
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16475 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 wxPoint
* resultptr
;
16496 resultptr
= new wxPoint((wxPoint
&) result
);
16497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16505 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 wxRect
* resultptr
;
16526 resultptr
= new wxRect((wxRect
&) result
);
16527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16535 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "rect", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16550 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->SetRect(arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "pos", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16581 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 wxMoveEvent_SetPosition(arg1
,arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 Py_INCREF(Py_None
); resultobj
= Py_None
;
16597 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16600 wxPoint
*arg2
= (wxPoint
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "m_pos", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 if (arg1
) (arg1
)->m_pos
= *arg2
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16642 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16645 wxRect
*arg2
= (wxRect
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "m_rect", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 if (arg1
) (arg1
)->m_rect
= *arg2
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 result
= (wxRect
*)& ((arg1
)->m_rect
);
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16687 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16692 return Py_BuildValue((char *)"");
16694 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 int arg1
= (int) 0 ;
16697 wxPaintEvent
*result
;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "Id", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16705 arg1
= (int) SWIG_AsInt(obj0
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16722 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16727 return Py_BuildValue((char *)"");
16729 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 int arg1
= (int) 0 ;
16732 wxNcPaintEvent
*result
;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "winid", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16740 arg1
= (int) SWIG_AsInt(obj0
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16757 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16760 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16762 return Py_BuildValue((char *)"");
16764 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 int arg1
= (int) 0 ;
16767 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16768 wxEraseEvent
*result
;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "Id",(char *) "dc", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 arg1
= (int) SWIG_AsInt(obj0
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16798 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= wxPyMake_wxObject(result
);
16826 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16831 return Py_BuildValue((char *)"");
16833 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16836 int arg2
= (int) 0 ;
16837 wxFocusEvent
*result
;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "type",(char *) "winid", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 arg2
= (int) SWIG_AsInt(obj1
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16867 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= wxPyMake_wxObject(result
);
16895 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16898 wxWindow
*arg2
= (wxWindow
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "win", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetWindow(arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 Py_INCREF(Py_None
); resultobj
= Py_None
;
16924 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16927 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16929 return Py_BuildValue((char *)"");
16931 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxWindow
*arg1
= (wxWindow
*) NULL
;
16934 wxChildFocusEvent
*result
;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "win", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16959 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= wxPyMake_wxObject(result
);
16987 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16990 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16992 return Py_BuildValue((char *)"");
16994 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16997 bool arg2
= (bool) True
;
16998 int arg3
= (int) 0 ;
16999 wxActivateEvent
*result
;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 PyObject
* obj2
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "type",(char *) "active",(char *) "Id", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17009 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 arg2
= (bool) SWIG_AsBool(obj1
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 arg3
= (int) SWIG_AsInt(obj2
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17034 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17062 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17067 return Py_BuildValue((char *)"");
17069 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 int arg1
= (int) 0 ;
17072 wxInitDialogEvent
*result
;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "Id", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17080 arg1
= (int) SWIG_AsInt(obj0
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17097 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17102 return Py_BuildValue((char *)"");
17104 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17107 int arg2
= (int) 0 ;
17108 wxMenu
*arg3
= (wxMenu
*) NULL
;
17109 wxMenuEvent
*result
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "type",(char *) "winid",(char *) "menu", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17119 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 arg2
= (int) SWIG_AsInt(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17144 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= SWIG_FromInt((int)result
);
17170 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17198 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= wxPyMake_wxObject(result
);
17226 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17229 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17231 return Py_BuildValue((char *)"");
17233 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17236 int arg2
= (int) 0 ;
17237 wxCloseEvent
*result
;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "type",(char *) "winid", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 arg2
= (int) SWIG_AsInt(obj1
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17267 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "logOff", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 arg2
= (bool) SWIG_AsBool(obj1
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetLoggingOff(arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 Py_INCREF(Py_None
); resultobj
= Py_None
;
17296 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17327 bool arg2
= (bool) True
;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "veto", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (bool) SWIG_AsBool(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 (arg1
)->Veto(arg2
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "canVeto", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 arg2
= (bool) SWIG_AsBool(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->SetCanVeto(arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17384 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17412 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17445 return Py_BuildValue((char *)"");
17447 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 int arg1
= (int) 0 ;
17450 bool arg2
= (bool) False
;
17451 wxShowEvent
*result
;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "winid",(char *) "show", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 arg1
= (int) SWIG_AsInt(obj0
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 arg2
= (bool) SWIG_AsBool(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17481 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "show", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (bool) SWIG_AsBool(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 (arg1
)->SetShow(arg2
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 Py_INCREF(Py_None
); resultobj
= Py_None
;
17510 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17543 return Py_BuildValue((char *)"");
17545 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 int arg1
= (int) 0 ;
17548 bool arg2
= (bool) True
;
17549 wxIconizeEvent
*result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "id",(char *) "iconized", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17558 arg1
= (int) SWIG_AsInt(obj0
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 arg2
= (bool) SWIG_AsBool(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17579 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->Iconized();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17610 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17612 return Py_BuildValue((char *)"");
17614 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 int arg1
= (int) 0 ;
17617 wxMaximizeEvent
*result
;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "id", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17625 arg1
= (int) SWIG_AsInt(obj0
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17642 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17645 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17647 return Py_BuildValue((char *)"");
17649 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (arg1
)->GetPosition();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 wxPoint
* resultptr
;
17670 resultptr
= new wxPoint((wxPoint
&) result
);
17671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17679 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (int)(arg1
)->GetNumberOfFiles();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_FromInt((int)result
);
17705 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= result
;
17731 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17734 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17736 return Py_BuildValue((char *)"");
17738 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 int arg1
= (int) 0 ;
17741 wxUpdateUIEvent
*result
;
17742 PyObject
* obj0
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "commandId", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17749 arg1
= (int) SWIG_AsInt(obj0
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17766 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17794 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17854 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17882 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17910 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17938 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "check", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 arg2
= (bool) SWIG_AsBool(obj1
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 (arg1
)->Check(arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 Py_INCREF(Py_None
); resultobj
= Py_None
;
17967 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "enable", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 arg2
= (bool) SWIG_AsBool(obj1
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 (arg1
)->Enable(arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17999 wxString
*arg2
= 0 ;
18000 bool temp2
= False
;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "text", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 arg2
= wxString_in_helper(obj1
);
18012 if (arg2
== NULL
) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetText((wxString
const &)*arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "updateInterval", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18046 arg1
= (long) SWIG_AsLong(obj0
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 Py_INCREF(Py_None
); resultobj
= Py_None
;
18062 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18065 char *kwnames
[] = {
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_FromLong((long)result
);
18084 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxWindow
*arg1
= (wxWindow
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "win", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 char *kwnames
[] = {
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 wxUpdateUIEvent::ResetUpdateTime();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "mode", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18142 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18161 char *kwnames
[] = {
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (int)wxUpdateUIEvent::GetMode();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_FromInt((int)result
);
18180 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18183 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18185 return Py_BuildValue((char *)"");
18187 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxSysColourChangedEvent
*result
;
18190 char *kwnames
[] = {
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18209 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18214 return Py_BuildValue((char *)"");
18216 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 int arg1
= (int) 0 ;
18219 wxWindow
*arg2
= (wxWindow
*) NULL
;
18220 wxMouseCaptureChangedEvent
*result
;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "winid",(char *) "gainedCapture", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 arg1
= (int) SWIG_AsInt(obj0
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18250 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= wxPyMake_wxObject(result
);
18278 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18281 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18283 return Py_BuildValue((char *)"");
18285 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxDisplayChangedEvent
*result
;
18288 char *kwnames
[] = {
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18307 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18310 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18312 return Py_BuildValue((char *)"");
18314 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 int arg1
= (int) 0 ;
18317 wxPaletteChangedEvent
*result
;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "id", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18325 arg1
= (int) SWIG_AsInt(obj0
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18342 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18345 wxWindow
*arg2
= (wxWindow
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self",(char *) "win", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetChangedWindow(arg2
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= wxPyMake_wxObject(result
);
18399 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18402 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18404 return Py_BuildValue((char *)"");
18406 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 int arg1
= (int) 0 ;
18409 wxQueryNewPaletteEvent
*result
;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "winid", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18417 arg1
= (int) SWIG_AsInt(obj0
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18434 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "realized", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (bool) SWIG_AsBool(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetPaletteRealized(arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18496 return Py_BuildValue((char *)"");
18498 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxNavigationKeyEvent
*result
;
18501 char *kwnames
[] = {
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18520 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18548 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "bForward", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (bool) SWIG_AsBool(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetDirection(arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18605 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "bIs", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 arg2
= (bool) SWIG_AsBool(obj1
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->SetWindowChange(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= wxPyMake_wxObject(result
);
18662 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18665 wxWindow
*arg2
= (wxWindow
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "win", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->SetCurrentFocus(arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 Py_INCREF(Py_None
); resultobj
= Py_None
;
18691 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18694 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18696 return Py_BuildValue((char *)"");
18698 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxWindow
*arg1
= (wxWindow
*) NULL
;
18701 wxWindowCreateEvent
*result
;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "win", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18726 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= wxPyMake_wxObject(result
);
18754 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18759 return Py_BuildValue((char *)"");
18761 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxWindow
*arg1
= (wxWindow
*) NULL
;
18764 wxWindowDestroyEvent
*result
;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "win", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18789 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= wxPyMake_wxObject(result
);
18817 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18827 int arg2
= (int) 0 ;
18828 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18829 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18830 wxContextMenuEvent
*result
;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 PyObject
* obj2
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "type",(char *) "winid",(char *) "pt", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18841 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 arg2
= (int) SWIG_AsInt(obj1
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18868 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18884 result
= (wxPoint
*) &_result_ref
;
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18897 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18900 wxPoint
*arg2
= 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "pos", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxIdleEvent
*result
;
18939 char *kwnames
[] = {
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxIdleEvent
*)new wxIdleEvent();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18958 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18961 bool arg2
= (bool) True
;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "needMore", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 arg2
= (bool) SWIG_AsBool(obj1
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->RequestMore(arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19017 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "mode", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19026 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19045 char *kwnames
[] = {
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (int)wxIdleEvent::GetMode();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_FromInt((int)result
);
19064 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxWindow
*arg1
= (wxWindow
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "win", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (bool)wxIdleEvent::CanSend(arg1
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19092 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19095 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19097 return Py_BuildValue((char *)"");
19099 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 int arg1
= (int) 0 ;
19102 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "winid",(char *) "commandType", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 arg1
= (int) SWIG_AsInt(obj0
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19133 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19161 PyObject
*arg2
= (PyObject
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->SetSelf(arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (PyObject
*)(arg1
)->GetSelf();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= result
;
19212 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19215 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19217 return Py_BuildValue((char *)"");
19219 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19222 int arg2
= (int) 0 ;
19223 wxPyCommandEvent
*result
;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "commandType",(char *) "id", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 arg2
= (int) SWIG_AsInt(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19253 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19281 PyObject
*arg2
= (PyObject
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->SetSelf(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (PyObject
*)(arg1
)->GetSelf();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= result
;
19332 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19337 return Py_BuildValue((char *)"");
19339 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19342 char *kwnames
[] = {
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (wxPyApp
*)new_wxPyApp();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= wxPyMake_wxObject(result
);
19363 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19391 PyObject
*arg2
= (PyObject
*) 0 ;
19392 PyObject
*arg3
= (PyObject
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 PyObject
* obj2
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self",(char *) "self",(char *) "_class", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19451 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19454 wxString
*arg2
= 0 ;
19455 bool temp2
= False
;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "name", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 arg2
= wxString_in_helper(obj1
);
19467 if (arg2
== NULL
) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 (arg1
)->SetAppName((wxString
const &)*arg2
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19524 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19527 wxString
*arg2
= 0 ;
19528 bool temp2
= False
;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "self",(char *) "name", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19539 arg2
= wxString_in_helper(obj1
);
19540 if (arg2
== NULL
) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetClassName((wxString
const &)*arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19581 result
= (wxString
*) &_result_ref
;
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19591 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19600 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19603 wxString
*arg2
= 0 ;
19604 bool temp2
= False
;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "name", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= wxString_in_helper(obj1
);
19616 if (arg2
== NULL
) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19644 wxAppTraits
*result
;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19667 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->ProcessPendingEvents();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19692 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19695 bool arg2
= (bool) False
;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "onlyIfNeeded", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 arg2
= (bool) SWIG_AsBool(obj1
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (bool)(arg1
)->Yield(arg2
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19726 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->WakeUpIdle();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 Py_INCREF(Py_None
); resultobj
= Py_None
;
19751 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)(arg1
)->MainLoop();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_FromInt((int)result
);
19777 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->ExitMainLoop();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 Py_INCREF(Py_None
); resultobj
= Py_None
;
19827 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)(arg1
)->Pending();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)(arg1
)->Dispatch();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (bool)(arg1
)->ProcessIdle();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19911 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19914 wxWindow
*arg2
= (wxWindow
*) 0 ;
19915 wxIdleEvent
*arg3
= 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 PyObject
* obj2
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self",(char *) "win",(char *) "event", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19932 if (arg3
== NULL
) {
19933 PyErr_SetString(PyExc_TypeError
,"null reference");
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19980 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19983 wxWindow
*arg2
= (wxWindow
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "win", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 (arg1
)->SetTopWindow(arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20009 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20013 PyObject
* obj0
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= wxPyMake_wxObject(result
);
20037 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "flag", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 arg2
= (bool) SWIG_AsBool(obj1
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 (arg1
)->SetExitOnFrameDelete(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 Py_INCREF(Py_None
); resultobj
= Py_None
;
20066 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "flag", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 arg2
= (bool) SWIG_AsBool(obj1
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetUseBestVisual(arg2
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20123 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "mode", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20164 arg2
= (int) SWIG_AsInt(obj1
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->SetPrintMode(arg2
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 Py_INCREF(Py_None
); resultobj
= Py_None
;
20180 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_FromInt((int)result
);
20206 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "mode", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 arg2
= (int) SWIG_AsInt(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->SetAssertMode(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (int)(arg1
)->GetAssertMode();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_FromInt((int)result
);
20261 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20264 char *kwnames
[] = {
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20285 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20288 char *kwnames
[] = {
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_FromLong((long)result
);
20307 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20310 char *kwnames
[] = {
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_FromLong((long)result
);
20329 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20332 char *kwnames
[] = {
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (long)wxPyApp::GetMacExitMenuItemId();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_FromLong((long)result
);
20351 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20354 char *kwnames
[] = {
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= wxPyApp::GetMacHelpMenuTitleName();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20379 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "val", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20388 arg1
= (bool) SWIG_AsBool(obj0
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "val", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20413 arg1
= (long) SWIG_AsLong(obj0
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 wxPyApp::SetMacAboutMenuItemId(arg1
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "val", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20438 arg1
= (long) SWIG_AsLong(obj0
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 Py_INCREF(Py_None
); resultobj
= Py_None
;
20454 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "val", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20463 arg1
= (long) SWIG_AsLong(obj0
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 wxPyApp::SetMacExitMenuItemId(arg1
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 Py_INCREF(Py_None
); resultobj
= Py_None
;
20479 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxString
*arg1
= 0 ;
20482 bool temp1
= False
;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "val", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20490 arg1
= wxString_in_helper(obj0
);
20491 if (arg1
== NULL
) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20516 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->_BootstrapApp();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20544 char *kwnames
[] = {
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (int)PyApp_GetComCtl32Version();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= SWIG_FromInt((int)result
);
20563 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20566 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20568 return Py_BuildValue((char *)"");
20570 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 char *kwnames
[] = {
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20594 char *kwnames
[] = {
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (bool)wxYield();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20615 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20618 char *kwnames
[] = {
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)wxYieldIfNeeded();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxWindow
*arg1
= (wxWindow
*) NULL
;
20642 bool arg2
= (bool) False
;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "win",(char *) "onlyIfNeeded", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 arg2
= (bool) SWIG_AsBool(obj1
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)wxSafeYield(arg1
,arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20675 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 char *kwnames
[] = {
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 Py_INCREF(Py_None
); resultobj
= Py_None
;
20696 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20699 wxEvent
*arg2
= 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "dest",(char *) "event", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20712 if (arg2
== NULL
) {
20713 PyErr_SetString(PyExc_TypeError
,"null reference");
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 wxPostEvent(arg1
,*arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 Py_INCREF(Py_None
); resultobj
= Py_None
;
20730 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (wxPyApp
*)wxGetApp();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= wxPyMake_wxObject(result
);
20775 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 int arg1
= (int) 0 ;
20778 int arg2
= (int) 0 ;
20779 int arg3
= (int) 0 ;
20780 wxAcceleratorEntry
*result
;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20790 arg1
= (int) SWIG_AsInt(obj0
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 arg2
= (int) SWIG_AsInt(obj1
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 arg3
= (int) SWIG_AsInt(obj2
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20815 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 PyObject
* obj3
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 arg2
= (int) SWIG_AsInt(obj1
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20859 arg3
= (int) SWIG_AsInt(obj2
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20861 arg4
= (int) SWIG_AsInt(obj3
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->Set(arg2
,arg3
,arg4
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (int)(arg1
)->GetFlags();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_FromInt((int)result
);
20903 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (int)(arg1
)->GetKeyCode();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_FromInt((int)result
);
20929 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "self", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)(arg1
)->GetCommand();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_FromInt((int)result
);
20955 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20958 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20960 return Py_BuildValue((char *)"");
20962 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20965 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20966 wxAcceleratorTable
*result
;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20974 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20975 if (arg2
) arg1
= PyList_Size(obj0
);
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20998 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21051 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21054 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21056 return Py_BuildValue((char *)"");
21058 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21059 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21064 static PyObject
*_wrap_NullAcceleratorTable_get() {
21067 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21072 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxString
*arg1
= 0 ;
21075 wxAcceleratorEntry
*result
;
21076 bool temp1
= False
;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "label", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21084 arg1
= wxString_in_helper(obj0
);
21085 if (arg1
== NULL
) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21110 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21111 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21116 static PyObject
*_wrap_PanelNameStr_get() {
21121 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21123 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21130 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxVisualAttributes
*result
;
21133 char *kwnames
[] = {
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21152 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 delete_wxVisualAttributes(arg1
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 Py_INCREF(Py_None
); resultobj
= Py_None
;
21177 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21180 wxFont
*arg2
= (wxFont
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "font", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 if (arg1
) (arg1
)->font
= *arg2
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21213 result
= (wxFont
*)& ((arg1
)->font
);
21215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21222 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21225 wxColour
*arg2
= (wxColour
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "colFg", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 if (arg1
) (arg1
)->colFg
= *arg2
;
21239 Py_INCREF(Py_None
); resultobj
= Py_None
;
21246 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 result
= (wxColour
*)& ((arg1
)->colFg
);
21260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21267 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21270 wxColour
*arg2
= (wxColour
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "colBg", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 if (arg1
) (arg1
)->colBg
= *arg2
;
21284 Py_INCREF(Py_None
); resultobj
= Py_None
;
21291 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 result
= (wxColour
*)& ((arg1
)->colBg
);
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21312 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21315 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21317 return Py_BuildValue((char *)"");
21319 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxWindow
*arg1
= (wxWindow
*) 0 ;
21322 int arg2
= (int) (int)-1 ;
21323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21327 long arg5
= (long) 0 ;
21328 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21333 bool temp6
= False
;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 PyObject
* obj2
= 0 ;
21337 PyObject
* obj3
= 0 ;
21338 PyObject
* obj4
= 0 ;
21339 PyObject
* obj5
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 arg2
= (int const) SWIG_AsInt(obj1
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21364 arg5
= (long) SWIG_AsLong(obj4
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21369 arg6
= wxString_in_helper(obj5
);
21370 if (arg6
== NULL
) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= wxPyMake_wxObject(result
);
21398 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21401 char *kwnames
[] = {
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxWindow
*)new wxWindow();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= wxPyMake_wxObject(result
);
21422 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxWindow
*arg1
= (wxWindow
*) 0 ;
21425 wxWindow
*arg2
= (wxWindow
*) 0 ;
21426 int arg3
= (int) (int)-1 ;
21427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21431 long arg6
= (long) 0 ;
21432 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21437 bool temp7
= False
;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 PyObject
* obj2
= 0 ;
21441 PyObject
* obj3
= 0 ;
21442 PyObject
* obj4
= 0 ;
21443 PyObject
* obj5
= 0 ;
21444 PyObject
* obj6
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 arg3
= (int const) SWIG_AsInt(obj2
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21471 arg6
= (long) SWIG_AsLong(obj5
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21476 arg7
= wxString_in_helper(obj6
);
21477 if (arg7
== NULL
) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21505 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxWindow
*arg1
= (wxWindow
*) 0 ;
21508 bool arg2
= (bool) False
;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "force", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 arg2
= (bool) SWIG_AsBool(obj1
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (bool)(arg1
)->Close(arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21539 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxWindow
*arg1
= (wxWindow
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (bool)(arg1
)->Destroy();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21567 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxWindow
*arg1
= (wxWindow
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (bool)(arg1
)->DestroyChildren();
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21595 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxWindow
*arg1
= (wxWindow
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21623 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxWindow
*arg1
= (wxWindow
*) 0 ;
21626 wxString
*arg2
= 0 ;
21627 bool temp2
= False
;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "title", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21638 arg2
= wxString_in_helper(obj1
);
21639 if (arg2
== NULL
) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->SetTitle((wxString
const &)*arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxWindow
*arg1
= (wxWindow
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= ((wxWindow
const *)arg1
)->GetTitle();
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21696 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxWindow
*arg1
= (wxWindow
*) 0 ;
21699 wxString
*arg2
= 0 ;
21700 bool temp2
= False
;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "label", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21711 arg2
= wxString_in_helper(obj1
);
21712 if (arg2
== NULL
) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 (arg1
)->SetLabel((wxString
const &)*arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 Py_INCREF(Py_None
); resultobj
= Py_None
;
21737 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxWindow
*arg1
= (wxWindow
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= ((wxWindow
const *)arg1
)->GetLabel();
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21769 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxWindow
*arg1
= (wxWindow
*) 0 ;
21772 wxString
*arg2
= 0 ;
21773 bool temp2
= False
;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "name", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 arg2
= wxString_in_helper(obj1
);
21785 if (arg2
== NULL
) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->SetName((wxString
const &)*arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21810 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxWindow
*arg1
= (wxWindow
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= ((wxWindow
const *)arg1
)->GetName();
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21842 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "variant", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_FromInt((int)result
);
21897 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxWindow
*arg1
= (wxWindow
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "winid", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 arg2
= (int) SWIG_AsInt(obj1
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->SetId(arg2
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21926 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxWindow
*arg1
= (wxWindow
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)((wxWindow
const *)arg1
)->GetId();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= SWIG_FromInt((int)result
);
21952 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21955 char *kwnames
[] = {
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (int)wxWindow::NewControlId();
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_FromInt((int)result
);
21974 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21978 PyObject
* obj0
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "winid", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21984 arg1
= (int) SWIG_AsInt(obj0
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 result
= (int)wxWindow::NextControlId(arg1
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= SWIG_FromInt((int)result
);
22000 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22004 PyObject
* obj0
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "winid", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22010 arg1
= (int) SWIG_AsInt(obj0
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (int)wxWindow::PrevControlId(arg1
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_FromInt((int)result
);
22026 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxWindow
*arg1
= (wxWindow
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "size", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 (arg1
)->SetSize((wxSize
const &)*arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 Py_INCREF(Py_None
); resultobj
= Py_None
;
22058 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxWindow
*arg1
= (wxWindow
*) 0 ;
22065 int arg6
= (int) wxSIZE_AUTO
;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 PyObject
* obj3
= 0 ;
22070 PyObject
* obj4
= 0 ;
22071 PyObject
* obj5
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 arg2
= (int) SWIG_AsInt(obj1
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22081 arg3
= (int) SWIG_AsInt(obj2
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22083 arg4
= (int) SWIG_AsInt(obj3
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22085 arg5
= (int) SWIG_AsInt(obj4
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 arg6
= (int) SWIG_AsInt(obj5
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxWindow
*arg1
= (wxWindow
*) 0 ;
22109 int arg3
= (int) wxSIZE_AUTO
;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 PyObject
* obj2
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22123 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22126 arg3
= (int) SWIG_AsInt(obj2
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 Py_INCREF(Py_None
); resultobj
= Py_None
;
22143 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxWindow
*arg1
= (wxWindow
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "width",(char *) "height", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (int) SWIG_AsInt(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22160 arg3
= (int) SWIG_AsInt(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->SetSize(arg2
,arg3
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 Py_INCREF(Py_None
); resultobj
= Py_None
;
22176 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxWindow
*arg1
= (wxWindow
*) 0 ;
22179 wxPoint
*arg2
= 0 ;
22180 int arg3
= (int) wxSIZE_USE_EXISTING
;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 PyObject
* obj2
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "pt",(char *) "flags", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22197 arg3
= (int) SWIG_AsInt(obj2
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 Py_INCREF(Py_None
); resultobj
= Py_None
;
22214 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxWindow
*arg1
= (wxWindow
*) 0 ;
22219 int arg4
= (int) wxSIZE_USE_EXISTING
;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 PyObject
* obj2
= 0 ;
22223 PyObject
* obj3
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 arg2
= (int) SWIG_AsInt(obj1
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22233 arg3
= (int) SWIG_AsInt(obj2
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 arg4
= (int) SWIG_AsInt(obj3
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 (arg1
)->Move(arg2
,arg3
,arg4
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 Py_INCREF(Py_None
); resultobj
= Py_None
;
22253 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxWindow
*arg1
= (wxWindow
*) 0 ;
22256 PyObject
* obj0
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 Py_INCREF(Py_None
); resultobj
= Py_None
;
22278 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxWindow
*arg1
= (wxWindow
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxWindow
*arg1
= (wxWindow
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "size", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 Py_INCREF(Py_None
); resultobj
= Py_None
;
22335 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxWindow
*arg1
= (wxWindow
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 PyObject
* obj2
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "width",(char *) "height", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 arg2
= (int) SWIG_AsInt(obj1
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22352 arg3
= (int) SWIG_AsInt(obj2
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->SetClientSize(arg2
,arg3
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "rect", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxWindow
*arg1
= (wxWindow
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (arg1
)->GetPosition();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 wxPoint
* resultptr
;
22421 resultptr
= new wxPoint((wxPoint
&) result
);
22422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22430 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxWindow
*arg1
= (wxWindow
*) 0 ;
22433 int *arg2
= (int *) 0 ;
22434 int *arg3
= (int *) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->GetPosition(arg2
,arg3
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22457 resultobj
= t_output_helper(resultobj
,o
);
22460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22461 resultobj
= t_output_helper(resultobj
,o
);
22469 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxWindow
*arg1
= (wxWindow
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= ((wxWindow
const *)arg1
)->GetSize();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 wxSize
* resultptr
;
22490 resultptr
= new wxSize((wxSize
&) result
);
22491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22499 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxWindow
*arg1
= (wxWindow
*) 0 ;
22502 int *arg2
= (int *) 0 ;
22503 int *arg3
= (int *) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22526 resultobj
= t_output_helper(resultobj
,o
);
22529 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22530 resultobj
= t_output_helper(resultobj
,o
);
22538 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= ((wxWindow
const *)arg1
)->GetRect();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 wxRect
* resultptr
;
22559 resultptr
= new wxRect((wxRect
&) result
);
22560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22568 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxWindow
*arg1
= (wxWindow
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 wxSize
* resultptr
;
22589 resultptr
= new wxSize((wxSize
&) result
);
22590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22598 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22601 int *arg2
= (int *) 0 ;
22602 int *arg3
= (int *) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22625 resultobj
= t_output_helper(resultobj
,o
);
22628 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22629 resultobj
= t_output_helper(resultobj
,o
);
22637 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxWindow
*arg1
= (wxWindow
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 wxPoint
* resultptr
;
22658 resultptr
= new wxPoint((wxPoint
&) result
);
22659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22667 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxWindow
*arg1
= (wxWindow
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 wxRect
* resultptr
;
22688 resultptr
= new wxRect((wxRect
&) result
);
22689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22697 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxWindow
*arg1
= (wxWindow
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 wxSize
* resultptr
;
22718 resultptr
= new wxSize((wxSize
&) result
);
22719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22727 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxWindow
*arg1
= (wxWindow
*) 0 ;
22730 int *arg2
= (int *) 0 ;
22731 int *arg3
= (int *) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22754 resultobj
= t_output_helper(resultobj
,o
);
22757 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22758 resultobj
= t_output_helper(resultobj
,o
);
22766 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxWindow
*arg1
= (wxWindow
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 wxSize
* resultptr
;
22787 resultptr
= new wxSize((wxSize
&) result
);
22788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22796 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxWindow
*arg1
= (wxWindow
*) 0 ;
22799 int arg2
= (int) wxBOTH
;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "direction", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 arg2
= (int) SWIG_AsInt(obj1
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 (arg1
)->Center(arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 Py_INCREF(Py_None
); resultobj
= Py_None
;
22827 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxWindow
*arg1
= (wxWindow
*) 0 ;
22830 int arg2
= (int) wxBOTH
;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "dir", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22841 arg2
= (int) SWIG_AsInt(obj1
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->CenterOnScreen(arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 Py_INCREF(Py_None
); resultobj
= Py_None
;
22858 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxWindow
*arg1
= (wxWindow
*) 0 ;
22861 int arg2
= (int) wxBOTH
;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "dir", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22872 arg2
= (int) SWIG_AsInt(obj1
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 (arg1
)->CenterOnParent(arg2
);
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 Py_INCREF(Py_None
); resultobj
= Py_None
;
22889 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxWindow
*arg1
= (wxWindow
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxWindow
*arg1
= (wxWindow
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->FitInside();
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 Py_INCREF(Py_None
); resultobj
= Py_None
;
22939 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22940 PyObject
*resultobj
;
22941 wxWindow
*arg1
= (wxWindow
*) 0 ;
22944 int arg4
= (int) -1 ;
22945 int arg5
= (int) -1 ;
22946 int arg6
= (int) -1 ;
22947 int arg7
= (int) -1 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 PyObject
* obj2
= 0 ;
22951 PyObject
* obj3
= 0 ;
22952 PyObject
* obj4
= 0 ;
22953 PyObject
* obj5
= 0 ;
22954 PyObject
* obj6
= 0 ;
22956 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 arg2
= (int) SWIG_AsInt(obj1
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22961 arg3
= (int) SWIG_AsInt(obj2
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 arg4
= (int) SWIG_AsInt(obj3
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22968 arg5
= (int) SWIG_AsInt(obj4
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 arg6
= (int) SWIG_AsInt(obj5
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 arg7
= (int) SWIG_AsInt(obj6
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22994 PyObject
*resultobj
;
22995 wxWindow
*arg1
= (wxWindow
*) 0 ;
22997 wxSize
const &arg3_defvalue
= wxDefaultSize
;
22998 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
22999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 PyObject
* obj2
= 0 ;
23007 PyObject
* obj3
= 0 ;
23009 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23019 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 Py_INCREF(Py_None
); resultobj
= Py_None
;
23042 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23047 argc
= PyObject_Length(args
);
23048 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23049 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23051 if ((argc
>= 2) && (argc
<= 4)) {
23055 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23064 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23068 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23071 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23075 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23078 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23081 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23087 if ((argc
>= 3) && (argc
<= 7)) {
23091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23099 _v
= SWIG_CheckInt(argv
[1]);
23101 _v
= SWIG_CheckInt(argv
[2]);
23104 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23106 _v
= SWIG_CheckInt(argv
[3]);
23109 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23111 _v
= SWIG_CheckInt(argv
[4]);
23114 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23116 _v
= SWIG_CheckInt(argv
[5]);
23119 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23121 _v
= SWIG_CheckInt(argv
[6]);
23123 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23133 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23138 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23139 PyObject
*resultobj
;
23140 wxWindow
*arg1
= (wxWindow
*) 0 ;
23143 int arg4
= (int) -1 ;
23144 int arg5
= (int) -1 ;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 PyObject
* obj2
= 0 ;
23148 PyObject
* obj3
= 0 ;
23149 PyObject
* obj4
= 0 ;
23151 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 arg2
= (int) SWIG_AsInt(obj1
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23156 arg3
= (int) SWIG_AsInt(obj2
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 arg4
= (int) SWIG_AsInt(obj3
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 arg5
= (int) SWIG_AsInt(obj4
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 Py_INCREF(Py_None
); resultobj
= Py_None
;
23180 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23181 PyObject
*resultobj
;
23182 wxWindow
*arg1
= (wxWindow
*) 0 ;
23184 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23185 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 PyObject
* obj2
= 0 ;
23192 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23202 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23219 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23224 argc
= PyObject_Length(args
);
23225 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23226 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23228 if ((argc
>= 2) && (argc
<= 3)) {
23232 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23241 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23245 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23248 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23251 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23256 if ((argc
>= 3) && (argc
<= 5)) {
23260 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23268 _v
= SWIG_CheckInt(argv
[1]);
23270 _v
= SWIG_CheckInt(argv
[2]);
23273 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23275 _v
= SWIG_CheckInt(argv
[3]);
23278 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23280 _v
= SWIG_CheckInt(argv
[4]);
23282 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23290 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23295 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxWindow
*arg1
= (wxWindow
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_FromInt((int)result
);
23321 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxWindow
*arg1
= (wxWindow
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_FromInt((int)result
);
23347 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxWindow
*arg1
= (wxWindow
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_FromInt((int)result
);
23373 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxWindow
*arg1
= (wxWindow
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_FromInt((int)result
);
23399 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxWindow
*arg1
= (wxWindow
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 wxSize
* resultptr
;
23420 resultptr
= new wxSize((wxSize
&) result
);
23421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23429 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxWindow
*arg1
= (wxWindow
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 wxSize
* resultptr
;
23450 resultptr
= new wxSize((wxSize
&) result
);
23451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23459 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "size", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 Py_INCREF(Py_None
); resultobj
= Py_None
;
23491 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxWindow
*arg1
= (wxWindow
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 PyObject
* obj2
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "w",(char *) "h", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 arg2
= (int) SWIG_AsInt(obj1
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23508 arg3
= (int) SWIG_AsInt(obj2
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->SetVirtualSize(arg2
,arg3
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 Py_INCREF(Py_None
); resultobj
= Py_None
;
23524 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxWindow
*arg1
= (wxWindow
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23544 wxSize
* resultptr
;
23545 resultptr
= new wxSize((wxSize
&) result
);
23546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23554 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxWindow
*arg1
= (wxWindow
*) 0 ;
23557 int *arg2
= (int *) 0 ;
23558 int *arg3
= (int *) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 Py_INCREF(Py_None
); resultobj
= Py_None
;
23580 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23581 resultobj
= t_output_helper(resultobj
,o
);
23584 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23585 resultobj
= t_output_helper(resultobj
,o
);
23593 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxWindow
*arg1
= (wxWindow
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 wxSize
* resultptr
;
23614 resultptr
= new wxSize((wxSize
&) result
);
23615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23623 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxWindow
*arg1
= (wxWindow
*) 0 ;
23626 bool arg2
= (bool) True
;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "show", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 arg2
= (bool) SWIG_AsBool(obj1
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (bool)(arg1
)->Show(arg2
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23657 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxWindow
*arg1
= (wxWindow
*) 0 ;
23661 PyObject
* obj0
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (bool)(arg1
)->Hide();
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23685 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxWindow
*arg1
= (wxWindow
*) 0 ;
23688 bool arg2
= (bool) True
;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "enable", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 arg2
= (bool) SWIG_AsBool(obj1
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (bool)(arg1
)->Enable(arg2
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23719 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxWindow
*arg1
= (wxWindow
*) 0 ;
23723 PyObject
* obj0
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (bool)(arg1
)->Disable();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23747 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxWindow
*arg1
= (wxWindow
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23775 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23803 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxWindow
*arg1
= (wxWindow
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self",(char *) "style", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 arg2
= (long) SWIG_AsLong(obj1
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 (arg1
)->SetWindowStyleFlag(arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 Py_INCREF(Py_None
); resultobj
= Py_None
;
23832 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxWindow
*arg1
= (wxWindow
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_FromLong((long)result
);
23858 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxWindow
*arg1
= (wxWindow
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "flag", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (int) SWIG_AsInt(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23890 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxWindow
*arg1
= (wxWindow
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23918 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxWindow
*arg1
= (wxWindow
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "exStyle", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 arg2
= (long) SWIG_AsLong(obj1
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 (arg1
)->SetExtraStyle(arg2
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 Py_INCREF(Py_None
); resultobj
= Py_None
;
23947 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxWindow
*arg1
= (wxWindow
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_FromLong((long)result
);
23973 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxWindow
*arg1
= (wxWindow
*) 0 ;
23976 bool arg2
= (bool) True
;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "modal", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 arg2
= (bool) SWIG_AsBool(obj1
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 (arg1
)->MakeModal(arg2
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 Py_INCREF(Py_None
); resultobj
= Py_None
;
24004 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxWindow
*arg1
= (wxWindow
*) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "enableTheme", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 arg2
= (bool) SWIG_AsBool(obj1
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->SetThemeEnabled(arg2
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 Py_INCREF(Py_None
); resultobj
= Py_None
;
24033 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
;
24035 wxWindow
*arg1
= (wxWindow
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxWindow
*arg1
= (wxWindow
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 (arg1
)->SetFocus();
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 Py_INCREF(Py_None
); resultobj
= Py_None
;
24086 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxWindow
*arg1
= (wxWindow
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 (arg1
)->SetFocusFromKbd();
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24114 char *kwnames
[] = {
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxWindow
*)wxWindow::FindFocus();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= wxPyMake_wxObject(result
);
24135 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxWindow
*arg1
= (wxWindow
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxWindow
*arg1
= (wxWindow
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24191 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxWindow
*arg1
= (wxWindow
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= wxPyMake_wxObject(result
);
24219 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxWindow
*arg1
= (wxWindow
*) 0 ;
24222 wxWindow
*arg2
= (wxWindow
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "child", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= wxPyMake_wxObject(result
);
24251 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxWindow
*arg1
= (wxWindow
*) 0 ;
24254 wxWindow
*arg2
= (wxWindow
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self",(char *) "win", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 (arg1
)->SetTmpDefaultItem(arg2
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 Py_INCREF(Py_None
); resultobj
= Py_None
;
24280 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxWindow
*arg1
= (wxWindow
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= result
;
24306 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= wxPyMake_wxObject(result
);
24334 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxWindow
*arg1
= (wxWindow
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= wxPyMake_wxObject(result
);
24362 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxWindow
*arg1
= (wxWindow
*) 0 ;
24366 PyObject
* obj0
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24390 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxWindow
*arg1
= (wxWindow
*) 0 ;
24393 wxWindow
*arg2
= (wxWindow
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "newParent", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (bool)(arg1
)->Reparent(arg2
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24422 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 wxWindow
*arg2
= (wxWindow
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "child", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->AddChild(arg2
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 Py_INCREF(Py_None
); resultobj
= Py_None
;
24451 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxWindow
*arg1
= (wxWindow
*) 0 ;
24454 wxWindow
*arg2
= (wxWindow
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "child", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->RemoveChild(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxWindow
*arg1
= (wxWindow
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "winid", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 arg2
= (long) SWIG_AsLong(obj1
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= wxPyMake_wxObject(result
);
24512 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxWindow
*arg1
= (wxWindow
*) 0 ;
24515 wxString
*arg2
= 0 ;
24517 bool temp2
= False
;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "name", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 arg2
= wxString_in_helper(obj1
);
24529 if (arg2
== NULL
) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= wxPyMake_wxObject(result
);
24556 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxWindow
*arg1
= (wxWindow
*) 0 ;
24559 wxEvtHandler
*result
;
24560 PyObject
* obj0
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= wxPyMake_wxObject(result
);
24584 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxWindow
*arg1
= (wxWindow
*) 0 ;
24587 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "handler", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->SetEventHandler(arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 Py_INCREF(Py_None
); resultobj
= Py_None
;
24613 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxWindow
*arg1
= (wxWindow
*) 0 ;
24616 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "handler", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->PushEventHandler(arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 Py_INCREF(Py_None
); resultobj
= Py_None
;
24642 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxWindow
*arg1
= (wxWindow
*) 0 ;
24645 bool arg2
= (bool) False
;
24646 wxEvtHandler
*result
;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "deleteHandler", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 arg2
= (bool) SWIG_AsBool(obj1
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= wxPyMake_wxObject(result
);
24676 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxWindow
*arg1
= (wxWindow
*) 0 ;
24679 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "handler", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24711 wxValidator
*arg2
= 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "validator", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24724 if (arg2
== NULL
) {
24725 PyErr_SetString(PyExc_TypeError
,"null reference");
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxWindow
*arg1
= (wxWindow
*) 0 ;
24745 wxValidator
*result
;
24746 PyObject
* obj0
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (wxValidator
*)(arg1
)->GetValidator();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= wxPyMake_wxObject(result
);
24770 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxWindow
*arg1
= (wxWindow
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 char *kwnames
[] = {
24776 (char *) "self", NULL
24779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 result
= (bool)(arg1
)->Validate();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24798 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
;
24800 wxWindow
*arg1
= (wxWindow
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (bool)(arg1
)->TransferDataToWindow();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxWindow
*arg1
= (wxWindow
*) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (bool)(arg1
)->TransferDataFromWindow();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24854 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxWindow
*arg1
= (wxWindow
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->InitDialog();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 Py_INCREF(Py_None
); resultobj
= Py_None
;
24879 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxWindow
*arg1
= (wxWindow
*) 0 ;
24882 wxAcceleratorTable
*arg2
= 0 ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "accel", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24895 if (arg2
== NULL
) {
24896 PyErr_SetString(PyExc_TypeError
,"null reference");
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 Py_INCREF(Py_None
); resultobj
= Py_None
;
24913 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxWindow
*arg1
= (wxWindow
*) 0 ;
24916 wxAcceleratorTable
*result
;
24917 PyObject
* obj0
= 0 ;
24918 char *kwnames
[] = {
24919 (char *) "self", NULL
24922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24939 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxWindow
*arg1
= (wxWindow
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 PyObject
* obj2
= 0 ;
24949 PyObject
* obj3
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24957 arg2
= (int) SWIG_AsInt(obj1
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24959 arg3
= (int) SWIG_AsInt(obj2
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24961 arg4
= (int) SWIG_AsInt(obj3
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24979 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "hotkeyId", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 arg2
= (int) SWIG_AsInt(obj1
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25011 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxWindow
*arg1
= (wxWindow
*) 0 ;
25014 wxPoint
*arg2
= 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "pt", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 wxPoint
* resultptr
;
25039 resultptr
= new wxPoint((wxPoint
&) result
);
25040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25048 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxWindow
*arg1
= (wxWindow
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "sz", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 wxSize
* resultptr
;
25076 resultptr
= new wxSize((wxSize
&) result
);
25077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25085 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 wxPoint
*arg2
= 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "pt", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25112 wxPoint
* resultptr
;
25113 resultptr
= new wxPoint((wxPoint
&) result
);
25114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25122 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxWindow
*arg1
= (wxWindow
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self",(char *) "sz", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 wxSize
* resultptr
;
25150 resultptr
= new wxSize((wxSize
&) result
);
25151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25159 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 wxPoint
*arg2
= 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "pt", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 wxPoint
* resultptr
;
25187 resultptr
= new wxPoint((wxPoint
&) result
);
25188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25196 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxWindow
*arg1
= (wxWindow
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "sz", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 wxSize
* resultptr
;
25224 resultptr
= new wxSize((wxSize
&) result
);
25225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25233 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "x",(char *) "y", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25248 arg2
= (int) SWIG_AsInt(obj1
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25250 arg3
= (int) SWIG_AsInt(obj2
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->WarpPointer(arg2
,arg3
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25266 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxWindow
*arg1
= (wxWindow
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 (arg1
)->CaptureMouse();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 Py_INCREF(Py_None
); resultobj
= Py_None
;
25291 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxWindow
*arg1
= (wxWindow
*) 0 ;
25294 PyObject
* obj0
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 (arg1
)->ReleaseMouse();
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 Py_INCREF(Py_None
); resultobj
= Py_None
;
25316 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25319 char *kwnames
[] = {
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (wxWindow
*)wxWindow::GetCapture();
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= wxPyMake_wxObject(result
);
25340 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxWindow
*arg1
= (wxWindow
*) 0 ;
25344 PyObject
* obj0
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "self", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25368 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxWindow
*arg1
= (wxWindow
*) 0 ;
25371 bool arg2
= (bool) True
;
25372 wxRect
*arg3
= (wxRect
*) NULL
;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 PyObject
* obj2
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 arg2
= (bool) SWIG_AsBool(obj1
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25388 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 Py_INCREF(Py_None
); resultobj
= Py_None
;
25405 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxWindow
*arg1
= (wxWindow
*) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self",(char *) "rect", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxWindow
*arg1
= (wxWindow
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 Py_INCREF(Py_None
); resultobj
= Py_None
;
25462 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
;
25464 wxWindow
*arg1
= (wxWindow
*) 0 ;
25465 PyObject
* obj0
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 (arg1
)->ClearBackground();
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 Py_INCREF(Py_None
); resultobj
= Py_None
;
25487 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxWindow
*arg1
= (wxWindow
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 Py_INCREF(Py_None
); resultobj
= Py_None
;
25512 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 Py_INCREF(Py_None
); resultobj
= Py_None
;
25537 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25539 wxWindow
*arg1
= (wxWindow
*) 0 ;
25541 PyObject
* obj0
= 0 ;
25542 PyObject
* obj1
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self",(char *) "dc", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25553 if (arg2
== NULL
) {
25554 PyErr_SetString(PyExc_TypeError
,"null reference");
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 (arg1
)->PrepareDC(*arg2
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 Py_INCREF(Py_None
); resultobj
= Py_None
;
25571 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxWindow
*arg1
= (wxWindow
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25587 result
= (wxRegion
*) &_result_ref
;
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25600 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxWindow
*arg1
= (wxWindow
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 wxRect
* resultptr
;
25621 resultptr
= new wxRect((wxRect
&) result
);
25622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25630 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxWindow
*arg1
= (wxWindow
*) 0 ;
25635 int arg4
= (int) 1 ;
25636 int arg5
= (int) 1 ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 PyObject
* obj3
= 0 ;
25642 PyObject
* obj4
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 arg2
= (int) SWIG_AsInt(obj1
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25652 arg3
= (int) SWIG_AsInt(obj2
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 arg4
= (int) SWIG_AsInt(obj3
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 arg5
= (int) SWIG_AsInt(obj4
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25678 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxWindow
*arg1
= (wxWindow
*) 0 ;
25681 wxPoint
*arg2
= 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "pt", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25713 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25714 PyObject
*resultobj
;
25715 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "rect", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25748 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxWindow
*arg1
= (wxWindow
*) 0 ;
25751 wxVisualAttributes result
;
25752 PyObject
* obj0
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 wxVisualAttributes
* resultptr
;
25769 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25778 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25781 wxVisualAttributes result
;
25782 PyObject
* obj0
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "variant", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25789 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 wxVisualAttributes
* resultptr
;
25801 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25810 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25813 wxColour
*arg2
= 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self",(char *) "colour", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25845 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
;
25847 wxWindow
*arg1
= (wxWindow
*) 0 ;
25848 wxColour
*arg2
= 0 ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "colour", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 Py_INCREF(Py_None
); resultobj
= Py_None
;
25877 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxWindow
*arg1
= (wxWindow
*) 0 ;
25880 wxColour
*arg2
= 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "colour", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25912 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxWindow
*arg1
= (wxWindow
*) 0 ;
25915 wxColour
*arg2
= 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "colour", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxWindow
*arg1
= (wxWindow
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 wxColour
* resultptr
;
25965 resultptr
= new wxColour((wxColour
&) result
);
25966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25974 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxWindow
*arg1
= (wxWindow
*) 0 ;
25978 PyObject
* obj0
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 wxColour
* resultptr
;
25995 resultptr
= new wxColour((wxColour
&) result
);
25996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26004 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxWindow
*arg1
= (wxWindow
*) 0 ;
26007 wxCursor
*arg2
= 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "cursor", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26021 if (arg2
== NULL
) {
26022 PyErr_SetString(PyExc_TypeError
,"null reference");
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26041 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26057 result
= (wxCursor
*) &_result_ref
;
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 wxCursor
* resultptr
= new wxCursor(*result
);
26065 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26073 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self",(char *) "font", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26090 if (arg2
== NULL
) {
26091 PyErr_SetString(PyExc_TypeError
,"null reference");
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26110 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxWindow
*arg1
= (wxWindow
*) 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "font", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26126 if (arg2
== NULL
) {
26127 PyErr_SetString(PyExc_TypeError
,"null reference");
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxWindow
*arg1
= (wxWindow
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 wxFont
&_result_ref
= (arg1
)->GetFont();
26160 result
= (wxFont
*) &_result_ref
;
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 wxFont
* resultptr
= new wxFont(*result
);
26168 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26176 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxWindow
*arg1
= (wxWindow
*) 0 ;
26179 wxCaret
*arg2
= (wxCaret
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self",(char *) "caret", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 (arg1
)->SetCaret(arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 Py_INCREF(Py_None
); resultobj
= Py_None
;
26205 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxWindow
*arg1
= (wxWindow
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26231 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxWindow
*arg1
= (wxWindow
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_FromInt((int)result
);
26257 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
;
26259 wxWindow
*arg1
= (wxWindow
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_FromInt((int)result
);
26283 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26286 wxString
*arg2
= 0 ;
26287 int *arg3
= (int *) 0 ;
26288 int *arg4
= (int *) 0 ;
26289 bool temp2
= False
;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self",(char *) "string", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 arg2
= wxString_in_helper(obj1
);
26305 if (arg2
== NULL
) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26318 resultobj
= t_output_helper(resultobj
,o
);
26321 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26322 resultobj
= t_output_helper(resultobj
,o
);
26338 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxWindow
*arg1
= (wxWindow
*) 0 ;
26341 wxString
*arg2
= 0 ;
26342 int *arg3
= (int *) 0 ;
26343 int *arg4
= (int *) 0 ;
26344 int *arg5
= (int *) 0 ;
26345 int *arg6
= (int *) 0 ;
26346 wxFont
*arg7
= (wxFont
*) NULL
;
26347 bool temp2
= False
;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "string",(char *) "font", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 arg2
= wxString_in_helper(obj1
);
26368 if (arg2
== NULL
) SWIG_fail
;
26372 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26385 resultobj
= t_output_helper(resultobj
,o
);
26388 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26389 resultobj
= t_output_helper(resultobj
,o
);
26392 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26393 resultobj
= t_output_helper(resultobj
,o
);
26396 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26397 resultobj
= t_output_helper(resultobj
,o
);
26413 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26416 int *arg2
= (int *) 0 ;
26417 int *arg3
= (int *) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 PyObject
* obj2
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "x",(char *) "y", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26431 temp2
= PyInt_AsLong(obj1
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26436 temp3
= PyInt_AsLong(obj2
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 Py_INCREF(Py_None
); resultobj
= Py_None
;
26449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26450 resultobj
= t_output_helper(resultobj
,o
);
26453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26454 resultobj
= t_output_helper(resultobj
,o
);
26462 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxWindow
*arg1
= (wxWindow
*) 0 ;
26465 int *arg2
= (int *) 0 ;
26466 int *arg3
= (int *) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 PyObject
* obj2
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self",(char *) "x",(char *) "y", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 temp2
= PyInt_AsLong(obj1
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26485 temp3
= PyInt_AsLong(obj2
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26499 resultobj
= t_output_helper(resultobj
,o
);
26502 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26503 resultobj
= t_output_helper(resultobj
,o
);
26511 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxWindow
*arg1
= (wxWindow
*) 0 ;
26514 wxPoint
*arg2
= 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self",(char *) "pt", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 wxPoint
* resultptr
;
26539 resultptr
= new wxPoint((wxPoint
&) result
);
26540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26548 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxWindow
*arg1
= (wxWindow
*) 0 ;
26551 wxPoint
*arg2
= 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self",(char *) "pt", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 wxPoint
* resultptr
;
26576 resultptr
= new wxPoint((wxPoint
&) result
);
26577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26585 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 wxWindow
*arg1
= (wxWindow
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 PyObject
* obj2
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "x",(char *) "y", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26601 arg2
= (int) SWIG_AsInt(obj1
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26603 arg3
= (int) SWIG_AsInt(obj2
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_FromInt((int)result
);
26619 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxWindow
*arg1
= (wxWindow
*) 0 ;
26622 wxPoint
*arg2
= 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "pt", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_FromInt((int)result
);
26652 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26653 PyObject
*resultobj
;
26654 wxWindow
*arg1
= (wxWindow
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26660 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26663 arg2
= (long) SWIG_AsLong(obj1
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_FromInt((int)result
);
26679 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26680 PyObject
*resultobj
;
26681 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26685 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_FromInt((int)result
);
26702 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26707 argc
= PyObject_Length(args
);
26708 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26709 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26723 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26738 _v
= SWIG_CheckLong(argv
[1]);
26740 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26745 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26750 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxWindow
*arg1
= (wxWindow
*) 0 ;
26753 long arg2
= (long) wxUPDATE_UI_NONE
;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self",(char *) "flags", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 arg2
= (long) SWIG_AsLong(obj1
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 (arg1
)->UpdateWindowUI(arg2
);
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 Py_INCREF(Py_None
); resultobj
= Py_None
;
26781 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxWindow
*arg1
= (wxWindow
*) 0 ;
26784 wxMenu
*arg2
= (wxMenu
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 PyObject
* obj3
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26801 arg3
= (int) SWIG_AsInt(obj2
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26803 arg4
= (int) SWIG_AsInt(obj3
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 wxMenu
*arg2
= (wxMenu
*) 0 ;
26825 wxPoint
*arg3
= 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self",(char *) "menu",(char *) "pos", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26860 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxWindow
*arg1
= (wxWindow
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (long)wxWindow_GetHandle(arg1
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_FromLong((long)result
);
26886 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 char *kwnames
[] = {
26894 (char *) "self",(char *) "orient", NULL
26897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26900 arg2
= (int) SWIG_AsInt(obj1
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26918 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxWindow
*arg1
= (wxWindow
*) 0 ;
26925 bool arg6
= (bool) True
;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 PyObject
* obj2
= 0 ;
26929 PyObject
* obj3
= 0 ;
26930 PyObject
* obj4
= 0 ;
26931 PyObject
* obj5
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 arg2
= (int) SWIG_AsInt(obj1
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26941 arg3
= (int) SWIG_AsInt(obj2
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26943 arg4
= (int) SWIG_AsInt(obj3
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26945 arg5
= (int) SWIG_AsInt(obj4
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 arg6
= (bool) SWIG_AsBool(obj5
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 Py_INCREF(Py_None
); resultobj
= Py_None
;
26965 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxWindow
*arg1
= (wxWindow
*) 0 ;
26970 bool arg4
= (bool) True
;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 PyObject
* obj2
= 0 ;
26974 PyObject
* obj3
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 arg2
= (int) SWIG_AsInt(obj1
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26984 arg3
= (int) SWIG_AsInt(obj2
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 arg4
= (bool) SWIG_AsBool(obj3
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27004 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "orientation", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 arg2
= (int) SWIG_AsInt(obj1
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_FromInt((int)result
);
27034 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxWindow
*arg1
= (wxWindow
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self",(char *) "orientation", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 arg2
= (int) SWIG_AsInt(obj1
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_FromInt((int)result
);
27064 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "orientation", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 arg2
= (int) SWIG_AsInt(obj1
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_FromInt((int)result
);
27094 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxWindow
*arg1
= (wxWindow
*) 0 ;
27099 wxRect
*arg4
= (wxRect
*) NULL
;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 PyObject
* obj2
= 0 ;
27103 PyObject
* obj3
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27111 arg2
= (int) SWIG_AsInt(obj1
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27113 arg3
= (int) SWIG_AsInt(obj2
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 Py_INCREF(Py_None
); resultobj
= Py_None
;
27133 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self",(char *) "lines", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 arg2
= (int) SWIG_AsInt(obj1
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 result
= (bool)(arg1
)->ScrollLines(arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27165 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxWindow
*arg1
= (wxWindow
*) 0 ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self",(char *) "pages", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27179 arg2
= (int) SWIG_AsInt(obj1
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (bool)(arg1
)->ScrollPages(arg2
);
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27197 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxWindow
*arg1
= (wxWindow
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (bool)(arg1
)->LineUp();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27225 static PyObject
*_wrap_Window_LineDown(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_LineDown",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
)->LineDown();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_Window_PageUp(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_PageUp",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
)->PageUp();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27281 static PyObject
*_wrap_Window_PageDown(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_PageDown",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
)->PageDown();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27309 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27312 wxString
*arg2
= 0 ;
27313 bool temp2
= False
;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self",(char *) "text", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 arg2
= wxString_in_helper(obj1
);
27325 if (arg2
== NULL
) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27350 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxWindow
*arg1
= (wxWindow
*) 0 ;
27353 wxString
*arg2
= 0 ;
27354 bool temp2
= False
;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self",(char *) "text", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27365 arg2
= wxString_in_helper(obj1
);
27366 if (arg2
== NULL
) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27391 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxWindow
*arg1
= (wxWindow
*) 0 ;
27395 PyObject
* obj0
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27423 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxWindow
*arg1
= (wxWindow
*) 0 ;
27426 wxString
*arg2
= 0 ;
27427 bool temp2
= False
;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "tip", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27438 arg2
= wxString_in_helper(obj1
);
27439 if (arg2
== NULL
) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 Py_INCREF(Py_None
); resultobj
= Py_None
;
27464 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxWindow
*arg1
= (wxWindow
*) 0 ;
27467 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "tip", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->SetToolTip(arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 Py_INCREF(Py_None
); resultobj
= Py_None
;
27493 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxWindow
*arg1
= (wxWindow
*) 0 ;
27497 PyObject
* obj0
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= wxPyMake_wxObject(result
);
27521 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxWindow
*arg1
= (wxWindow
*) 0 ;
27524 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 PyObject
* obj1
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self",(char *) "dropTarget", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27535 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 (arg1
)->SetDropTarget(arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 Py_INCREF(Py_None
); resultobj
= Py_None
;
27550 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
;
27552 wxWindow
*arg1
= (wxWindow
*) 0 ;
27553 wxPyDropTarget
*result
;
27554 PyObject
* obj0
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27576 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxWindow
*arg1
= (wxWindow
*) 0 ;
27579 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27580 PyObject
* obj0
= 0 ;
27581 PyObject
* obj1
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self",(char *) "constraints", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 (arg1
)->SetConstraints(arg2
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 Py_INCREF(Py_None
); resultobj
= Py_None
;
27605 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxWindow
*arg1
= (wxWindow
*) 0 ;
27608 wxLayoutConstraints
*result
;
27609 PyObject
* obj0
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27631 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxWindow
*arg1
= (wxWindow
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self",(char *) "autoLayout", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27644 arg2
= (bool) SWIG_AsBool(obj1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 (arg1
)->SetAutoLayout(arg2
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 Py_INCREF(Py_None
); resultobj
= Py_None
;
27660 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxWindow
*arg1
= (wxWindow
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27688 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxWindow
*arg1
= (wxWindow
*) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (bool)(arg1
)->Layout();
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27716 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxWindow
*arg1
= (wxWindow
*) 0 ;
27719 wxSizer
*arg2
= (wxSizer
*) 0 ;
27720 bool arg3
= (bool) True
;
27721 PyObject
* obj0
= 0 ;
27722 PyObject
* obj1
= 0 ;
27723 PyObject
* obj2
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27734 arg3
= (bool) SWIG_AsBool(obj2
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 (arg1
)->SetSizer(arg2
,arg3
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 Py_INCREF(Py_None
); resultobj
= Py_None
;
27751 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxWindow
*arg1
= (wxWindow
*) 0 ;
27754 wxSizer
*arg2
= (wxSizer
*) 0 ;
27755 bool arg3
= (bool) True
;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 PyObject
* obj2
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27769 arg3
= (bool) SWIG_AsBool(obj2
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 Py_INCREF(Py_None
); resultobj
= Py_None
;
27786 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= wxPyMake_wxSizer(result
);
27814 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxWindow
*arg1
= (wxWindow
*) 0 ;
27817 wxSizer
*arg2
= (wxSizer
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 PyObject
* obj1
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self",(char *) "sizer", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 (arg1
)->SetContainingSizer(arg2
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 Py_INCREF(Py_None
); resultobj
= Py_None
;
27843 static PyObject
*_wrap_Window_GetContainingSizer(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_GetContainingSizer",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
)->GetContainingSizer();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= wxPyMake_wxSizer(result
);
27871 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxWindow
*arg1
= (wxWindow
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 (arg1
)->InheritAttributes();
27886 wxPyEndAllowThreads(__tstate
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27889 Py_INCREF(Py_None
); resultobj
= Py_None
;
27896 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
;
27898 wxWindow
*arg1
= (wxWindow
*) 0 ;
27900 PyObject
* obj0
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "self", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27924 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27927 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27929 return Py_BuildValue((char *)"");
27931 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27934 wxWindow
*arg2
= (wxWindow
*) NULL
;
27936 PyObject
* obj0
= 0 ;
27937 PyObject
* obj1
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "id",(char *) "parent", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27943 arg1
= (long) SWIG_AsLong(obj0
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= wxPyMake_wxObject(result
);
27965 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxString
*arg1
= 0 ;
27968 wxWindow
*arg2
= (wxWindow
*) NULL
;
27970 bool temp1
= False
;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "name",(char *) "parent", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 arg1
= wxString_in_helper(obj0
);
27980 if (arg1
== NULL
) SWIG_fail
;
27984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= wxPyMake_wxObject(result
);
28011 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxString
*arg1
= 0 ;
28014 wxWindow
*arg2
= (wxWindow
*) NULL
;
28016 bool temp1
= False
;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "label",(char *) "parent", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28025 arg1
= wxString_in_helper(obj0
);
28026 if (arg1
== NULL
) SWIG_fail
;
28030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= wxPyMake_wxObject(result
);
28057 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxWindow
*arg1
= (wxWindow
*) 0 ;
28060 unsigned long arg2
;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj1
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "parent",(char *) "_hWnd", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28071 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= wxPyMake_wxObject(result
);
28089 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
;
28091 wxValidator
*result
;
28092 char *kwnames
[] = {
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 result
= (wxValidator
*)new wxValidator();
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28105 resultobj
= wxPyMake_wxObject(result
);
28113 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
;
28115 wxValidator
*arg1
= (wxValidator
*) 0 ;
28116 wxValidator
*result
;
28117 PyObject
* obj0
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (wxValidator
*)(arg1
)->Clone();
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= wxPyMake_wxObject(result
);
28141 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxValidator
*arg1
= (wxValidator
*) 0 ;
28144 wxWindow
*arg2
= (wxWindow
*) 0 ;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self",(char *) "parent", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (bool)(arg1
)->Validate(arg2
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28173 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxValidator
*arg1
= (wxValidator
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (bool)(arg1
)->TransferToWindow();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28201 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxValidator
*arg1
= (wxValidator
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (bool)(arg1
)->TransferFromWindow();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28229 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxValidator
*arg1
= (wxValidator
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (wxWindow
*)(arg1
)->GetWindow();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= wxPyMake_wxObject(result
);
28257 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
;
28259 wxValidator
*arg1
= (wxValidator
*) 0 ;
28260 wxWindow
*arg2
= (wxWindow
*) 0 ;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self",(char *) "window", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->SetWindow(arg2
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28286 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28289 char *kwnames
[] = {
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (bool)wxValidator::IsSilent();
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28310 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 int arg1
= (int) True
;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "doIt", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28320 arg1
= (int) SWIG_AsInt(obj0
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 wxValidator::SetBellOnError(arg1
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 Py_INCREF(Py_None
); resultobj
= Py_None
;
28337 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28340 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28342 return Py_BuildValue((char *)"");
28344 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxPyValidator
*result
;
28347 char *kwnames
[] = {
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (wxPyValidator
*)new wxPyValidator();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28366 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28369 PyObject
*arg2
= (PyObject
*) 0 ;
28370 PyObject
*arg3
= (PyObject
*) 0 ;
28371 int arg4
= (int) True
;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 PyObject
* obj2
= 0 ;
28375 PyObject
* obj3
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28386 arg4
= (int) SWIG_AsInt(obj3
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 Py_INCREF(Py_None
); resultobj
= Py_None
;
28403 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28406 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28408 return Py_BuildValue((char *)"");
28410 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28411 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28416 static PyObject
*_wrap_DefaultValidator_get() {
28419 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28424 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28427 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28428 long arg2
= (long) 0 ;
28430 bool temp1
= False
;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "title",(char *) "style", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28440 arg1
= wxString_in_helper(obj0
);
28441 if (arg1
== NULL
) SWIG_fail
;
28446 arg2
= (long) SWIG_AsLong(obj1
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= wxPyMake_wxObject(result
);
28473 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
;
28475 wxMenu
*arg1
= (wxMenu
*) 0 ;
28477 wxString
*arg3
= 0 ;
28478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28480 int arg5
= (int) wxITEM_NORMAL
;
28481 wxMenuItem
*result
;
28482 bool temp3
= False
;
28483 bool temp4
= False
;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 PyObject
* obj2
= 0 ;
28487 PyObject
* obj3
= 0 ;
28488 PyObject
* obj4
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28496 arg2
= (int) SWIG_AsInt(obj1
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 arg3
= wxString_in_helper(obj2
);
28500 if (arg3
== NULL
) SWIG_fail
;
28505 arg4
= wxString_in_helper(obj3
);
28506 if (arg4
== NULL
) SWIG_fail
;
28511 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= wxPyMake_wxObject(result
);
28546 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxMenu
*arg1
= (wxMenu
*) 0 ;
28549 wxMenuItem
*result
;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= wxPyMake_wxObject(result
);
28574 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxMenu
*arg1
= (wxMenu
*) 0 ;
28578 wxString
*arg3
= 0 ;
28579 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28580 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28581 wxMenuItem
*result
;
28582 bool temp3
= False
;
28583 bool temp4
= False
;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 PyObject
* obj2
= 0 ;
28587 PyObject
* obj3
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28595 arg2
= (int) SWIG_AsInt(obj1
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 arg3
= wxString_in_helper(obj2
);
28599 if (arg3
== NULL
) SWIG_fail
;
28604 arg4
= wxString_in_helper(obj3
);
28605 if (arg4
== NULL
) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= wxPyMake_wxObject(result
);
28641 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxMenu
*arg1
= (wxMenu
*) 0 ;
28645 wxString
*arg3
= 0 ;
28646 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28647 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28648 wxMenuItem
*result
;
28649 bool temp3
= False
;
28650 bool temp4
= False
;
28651 PyObject
* obj0
= 0 ;
28652 PyObject
* obj1
= 0 ;
28653 PyObject
* obj2
= 0 ;
28654 PyObject
* obj3
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28662 arg2
= (int) SWIG_AsInt(obj1
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 arg3
= wxString_in_helper(obj2
);
28666 if (arg3
== NULL
) SWIG_fail
;
28671 arg4
= wxString_in_helper(obj3
);
28672 if (arg4
== NULL
) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= wxPyMake_wxObject(result
);
28708 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxMenu
*arg1
= (wxMenu
*) 0 ;
28712 wxString
*arg3
= 0 ;
28713 wxMenu
*arg4
= (wxMenu
*) 0 ;
28714 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28715 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28716 wxMenuItem
*result
;
28717 bool temp3
= False
;
28718 bool temp5
= False
;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 PyObject
* obj2
= 0 ;
28722 PyObject
* obj3
= 0 ;
28723 PyObject
* obj4
= 0 ;
28724 char *kwnames
[] = {
28725 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28731 arg2
= (int) SWIG_AsInt(obj1
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 arg3
= wxString_in_helper(obj2
);
28735 if (arg3
== NULL
) SWIG_fail
;
28738 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28742 arg5
= wxString_in_helper(obj4
);
28743 if (arg5
== NULL
) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= wxPyMake_wxObject(result
);
28779 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxMenu
*arg1
= (wxMenu
*) 0 ;
28782 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28783 wxMenuItem
*result
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "item", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= wxPyMake_wxObject(result
);
28811 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxMenu
*arg1
= (wxMenu
*) 0 ;
28814 PyObject
* obj0
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 Py_INCREF(Py_None
); resultobj
= Py_None
;
28836 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxMenu
*arg1
= (wxMenu
*) 0 ;
28840 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28841 wxMenuItem
*result
;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 PyObject
* obj2
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self",(char *) "pos",(char *) "item", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= wxPyMake_wxObject(result
);
28872 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxMenu
*arg1
= (wxMenu
*) 0 ;
28877 wxString
*arg4
= 0 ;
28878 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28879 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28880 int arg6
= (int) wxITEM_NORMAL
;
28881 wxMenuItem
*result
;
28882 bool temp4
= False
;
28883 bool temp5
= False
;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 PyObject
* obj2
= 0 ;
28887 PyObject
* obj3
= 0 ;
28888 PyObject
* obj4
= 0 ;
28889 PyObject
* obj5
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28899 arg3
= (int) SWIG_AsInt(obj2
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 arg4
= wxString_in_helper(obj3
);
28903 if (arg4
== NULL
) SWIG_fail
;
28908 arg5
= wxString_in_helper(obj4
);
28909 if (arg5
== NULL
) SWIG_fail
;
28914 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= wxPyMake_wxObject(result
);
28949 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28950 PyObject
*resultobj
;
28951 wxMenu
*arg1
= (wxMenu
*) 0 ;
28953 wxMenuItem
*result
;
28954 PyObject
* obj0
= 0 ;
28955 PyObject
* obj1
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "pos", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= wxPyMake_wxObject(result
);
28981 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
;
28983 wxMenu
*arg1
= (wxMenu
*) 0 ;
28986 wxString
*arg4
= 0 ;
28987 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28988 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28989 wxMenuItem
*result
;
28990 bool temp4
= False
;
28991 bool temp5
= False
;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 PyObject
* obj3
= 0 ;
28996 PyObject
* obj4
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29004 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29006 arg3
= (int) SWIG_AsInt(obj2
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 arg4
= wxString_in_helper(obj3
);
29010 if (arg4
== NULL
) SWIG_fail
;
29015 arg5
= wxString_in_helper(obj4
);
29016 if (arg5
== NULL
) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= wxPyMake_wxObject(result
);
29052 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxMenu
*arg1
= (wxMenu
*) 0 ;
29057 wxString
*arg4
= 0 ;
29058 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29059 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29060 wxMenuItem
*result
;
29061 bool temp4
= False
;
29062 bool temp5
= False
;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 PyObject
* obj2
= 0 ;
29066 PyObject
* obj3
= 0 ;
29067 PyObject
* obj4
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29075 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29077 arg3
= (int) SWIG_AsInt(obj2
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 arg4
= wxString_in_helper(obj3
);
29081 if (arg4
== NULL
) SWIG_fail
;
29086 arg5
= wxString_in_helper(obj4
);
29087 if (arg5
== NULL
) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= wxPyMake_wxObject(result
);
29123 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
;
29125 wxMenu
*arg1
= (wxMenu
*) 0 ;
29128 wxString
*arg4
= 0 ;
29129 wxMenu
*arg5
= (wxMenu
*) 0 ;
29130 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29131 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29132 wxMenuItem
*result
;
29133 bool temp4
= False
;
29134 bool temp6
= False
;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 PyObject
* obj3
= 0 ;
29139 PyObject
* obj4
= 0 ;
29140 PyObject
* obj5
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29148 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29150 arg3
= (int) SWIG_AsInt(obj2
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 arg4
= wxString_in_helper(obj3
);
29154 if (arg4
== NULL
) SWIG_fail
;
29157 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29161 arg6
= wxString_in_helper(obj5
);
29162 if (arg6
== NULL
) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= wxPyMake_wxObject(result
);
29198 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxMenu
*arg1
= (wxMenu
*) 0 ;
29201 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29202 wxMenuItem
*result
;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "self",(char *) "item", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= wxPyMake_wxObject(result
);
29230 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxMenu
*arg1
= (wxMenu
*) 0 ;
29234 wxString
*arg3
= 0 ;
29235 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29236 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29237 int arg5
= (int) wxITEM_NORMAL
;
29238 wxMenuItem
*result
;
29239 bool temp3
= False
;
29240 bool temp4
= False
;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 PyObject
* obj2
= 0 ;
29244 PyObject
* obj3
= 0 ;
29245 PyObject
* obj4
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29253 arg2
= (int) SWIG_AsInt(obj1
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 arg3
= wxString_in_helper(obj2
);
29257 if (arg3
== NULL
) SWIG_fail
;
29262 arg4
= wxString_in_helper(obj3
);
29263 if (arg4
== NULL
) SWIG_fail
;
29268 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= wxPyMake_wxObject(result
);
29303 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxMenu
*arg1
= (wxMenu
*) 0 ;
29306 wxMenuItem
*result
;
29307 PyObject
* obj0
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= wxPyMake_wxObject(result
);
29331 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxMenu
*arg1
= (wxMenu
*) 0 ;
29335 wxString
*arg3
= 0 ;
29336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29338 wxMenuItem
*result
;
29339 bool temp3
= False
;
29340 bool temp4
= False
;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 PyObject
* obj2
= 0 ;
29344 PyObject
* obj3
= 0 ;
29345 char *kwnames
[] = {
29346 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29352 arg2
= (int) SWIG_AsInt(obj1
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 arg3
= wxString_in_helper(obj2
);
29356 if (arg3
== NULL
) SWIG_fail
;
29361 arg4
= wxString_in_helper(obj3
);
29362 if (arg4
== NULL
) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= wxPyMake_wxObject(result
);
29398 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxMenu
*arg1
= (wxMenu
*) 0 ;
29402 wxString
*arg3
= 0 ;
29403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29405 wxMenuItem
*result
;
29406 bool temp3
= False
;
29407 bool temp4
= False
;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 PyObject
* obj2
= 0 ;
29411 PyObject
* obj3
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29419 arg2
= (int) SWIG_AsInt(obj1
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 arg3
= wxString_in_helper(obj2
);
29423 if (arg3
== NULL
) SWIG_fail
;
29428 arg4
= wxString_in_helper(obj3
);
29429 if (arg4
== NULL
) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= wxPyMake_wxObject(result
);
29465 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxMenu
*arg1
= (wxMenu
*) 0 ;
29469 wxString
*arg3
= 0 ;
29470 wxMenu
*arg4
= (wxMenu
*) 0 ;
29471 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29472 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29473 wxMenuItem
*result
;
29474 bool temp3
= False
;
29475 bool temp5
= False
;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 PyObject
* obj2
= 0 ;
29479 PyObject
* obj3
= 0 ;
29480 PyObject
* obj4
= 0 ;
29481 char *kwnames
[] = {
29482 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29488 arg2
= (int) SWIG_AsInt(obj1
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 arg3
= wxString_in_helper(obj2
);
29492 if (arg3
== NULL
) SWIG_fail
;
29495 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29499 arg5
= wxString_in_helper(obj4
);
29500 if (arg5
== NULL
) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= wxPyMake_wxObject(result
);
29536 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
;
29538 wxMenu
*arg1
= (wxMenu
*) 0 ;
29540 wxMenuItem
*result
;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self",(char *) "id", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29550 arg2
= (int) SWIG_AsInt(obj1
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= wxPyMake_wxObject(result
);
29568 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxMenu
*arg1
= (wxMenu
*) 0 ;
29571 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29572 wxMenuItem
*result
;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "item", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= wxPyMake_wxObject(result
);
29600 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxMenu
*arg1
= (wxMenu
*) 0 ;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "self",(char *) "id", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29614 arg2
= (int) SWIG_AsInt(obj1
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (bool)(arg1
)->Delete(arg2
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29632 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxMenu
*arg1
= (wxMenu
*) 0 ;
29635 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 char *kwnames
[] = {
29640 (char *) "self",(char *) "item", NULL
29643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->Delete(arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxMenu
*arg1
= (wxMenu
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 wxMenu_Destroy(arg1
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxMenu
*arg1
= (wxMenu
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "id", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 arg2
= (int) SWIG_AsInt(obj1
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (bool)(arg1
)->Destroy(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_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxMenu
*arg1
= (wxMenu
*) 0 ;
29724 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self",(char *) "item", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (bool)(arg1
)->Destroy(arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29753 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxMenu
*arg1
= (wxMenu
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29779 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxMenu
*arg1
= (wxMenu
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= result
;
29805 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
;
29807 wxMenu
*arg1
= (wxMenu
*) 0 ;
29808 wxString
*arg2
= 0 ;
29810 bool temp2
= False
;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "item", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29821 arg2
= wxString_in_helper(obj1
);
29822 if (arg2
== NULL
) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_FromInt((int)result
);
29847 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
;
29849 wxMenu
*arg1
= (wxMenu
*) 0 ;
29851 wxMenuItem
*result
;
29852 PyObject
* obj0
= 0 ;
29853 PyObject
* obj1
= 0 ;
29854 char *kwnames
[] = {
29855 (char *) "self",(char *) "id", NULL
29858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29861 arg2
= (int) SWIG_AsInt(obj1
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= wxPyMake_wxObject(result
);
29879 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxMenu
*arg1
= (wxMenu
*) 0 ;
29883 wxMenuItem
*result
;
29884 PyObject
* obj0
= 0 ;
29885 PyObject
* obj1
= 0 ;
29886 char *kwnames
[] = {
29887 (char *) "self",(char *) "position", NULL
29890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= wxPyMake_wxObject(result
);
29911 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxMenu
*arg1
= (wxMenu
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "id",(char *) "enable", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29926 arg2
= (int) SWIG_AsInt(obj1
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29928 arg3
= (bool) SWIG_AsBool(obj2
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 (arg1
)->Enable(arg2
,arg3
);
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 Py_INCREF(Py_None
); resultobj
= Py_None
;
29944 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
;
29946 wxMenu
*arg1
= (wxMenu
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 char *kwnames
[] = {
29952 (char *) "self",(char *) "id", NULL
29955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29958 arg2
= (int) SWIG_AsInt(obj1
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29976 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
;
29978 wxMenu
*arg1
= (wxMenu
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 PyObject
* obj2
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self",(char *) "id",(char *) "check", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29991 arg2
= (int) SWIG_AsInt(obj1
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29993 arg3
= (bool) SWIG_AsBool(obj2
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 (arg1
)->Check(arg2
,arg3
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 Py_INCREF(Py_None
); resultobj
= Py_None
;
30009 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxMenu
*arg1
= (wxMenu
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self",(char *) "id", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30023 arg2
= (int) SWIG_AsInt(obj1
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30041 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
;
30043 wxMenu
*arg1
= (wxMenu
*) 0 ;
30045 wxString
*arg3
= 0 ;
30046 bool temp3
= False
;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 PyObject
* obj2
= 0 ;
30050 char *kwnames
[] = {
30051 (char *) "self",(char *) "id",(char *) "label", NULL
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30057 arg2
= (int) SWIG_AsInt(obj1
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 arg3
= wxString_in_helper(obj2
);
30061 if (arg3
== NULL
) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxMenu
*arg1
= (wxMenu
*) 0 ;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self",(char *) "id", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30100 arg2
= (int) SWIG_AsInt(obj1
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30122 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxMenu
*arg1
= (wxMenu
*) 0 ;
30126 wxString
*arg3
= 0 ;
30127 bool temp3
= False
;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 PyObject
* obj2
= 0 ;
30131 char *kwnames
[] = {
30132 (char *) "self",(char *) "id",(char *) "helpString", NULL
30135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30138 arg2
= (int) SWIG_AsInt(obj1
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 arg3
= wxString_in_helper(obj2
);
30142 if (arg3
== NULL
) SWIG_fail
;
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 Py_INCREF(Py_None
); resultobj
= Py_None
;
30167 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxMenu
*arg1
= (wxMenu
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "id", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 arg2
= (int) SWIG_AsInt(obj1
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30203 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxMenu
*arg1
= (wxMenu
*) 0 ;
30206 wxString
*arg2
= 0 ;
30207 bool temp2
= False
;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self",(char *) "title", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30218 arg2
= wxString_in_helper(obj1
);
30219 if (arg2
== NULL
) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->SetTitle((wxString
const &)*arg2
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxMenu
*arg1
= (wxMenu
*) 0 ;
30248 PyObject
* obj0
= 0 ;
30249 char *kwnames
[] = {
30250 (char *) "self", NULL
30253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 result
= ((wxMenu
const *)arg1
)->GetTitle();
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30276 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
;
30278 wxMenu
*arg1
= (wxMenu
*) 0 ;
30279 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 char *kwnames
[] = {
30283 (char *) "self",(char *) "handler", NULL
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->SetEventHandler(arg2
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxMenu
*arg1
= (wxMenu
*) 0 ;
30308 wxEvtHandler
*result
;
30309 PyObject
* obj0
= 0 ;
30310 char *kwnames
[] = {
30311 (char *) "self", NULL
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= wxPyMake_wxObject(result
);
30333 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxMenu
*arg1
= (wxMenu
*) 0 ;
30336 wxWindow
*arg2
= (wxWindow
*) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "win", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",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_wxWindow
,
30347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 (arg1
)->SetInvokingWindow(arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 Py_INCREF(Py_None
); resultobj
= Py_None
;
30362 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxMenu
*arg1
= (wxMenu
*) 0 ;
30366 PyObject
* obj0
= 0 ;
30367 char *kwnames
[] = {
30368 (char *) "self", NULL
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",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
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= wxPyMake_wxObject(result
);
30390 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxMenu
*arg1
= (wxMenu
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "self", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_FromLong((long)result
);
30416 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
;
30418 wxMenu
*arg1
= (wxMenu
*) 0 ;
30419 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char *kwnames
[] = {
30423 (char *) "self",(char *) "source", NULL
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->UpdateUI(arg2
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_Menu_GetMenuBar(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_GetMenuBar",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
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= wxPyMake_wxObject(result
);
30475 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxMenu
*arg1
= (wxMenu
*) 0 ;
30478 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char *kwnames
[] = {
30482 (char *) "self",(char *) "menubar", NULL
30485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->Attach(arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30504 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxMenu
*arg1
= (wxMenu
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxMenu
*arg1
= (wxMenu
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30557 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxMenu
*arg1
= (wxMenu
*) 0 ;
30560 wxMenu
*arg2
= (wxMenu
*) 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "parent", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->SetParent(arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_Menu_GetParent(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_GetParent",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
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= wxPyMake_wxObject(result
);
30614 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30617 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30619 return Py_BuildValue((char *)"");
30621 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
;
30623 long arg1
= (long) 0 ;
30625 PyObject
* obj0
= 0 ;
30626 char *kwnames
[] = {
30627 (char *) "style", NULL
30630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30632 arg1
= (long) SWIG_AsLong(obj0
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30643 resultobj
= wxPyMake_wxObject(result
);
30651 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30654 wxMenu
*arg2
= (wxMenu
*) 0 ;
30655 wxString
*arg3
= 0 ;
30657 bool temp3
= False
;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 PyObject
* obj2
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "menu",(char *) "title", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30671 arg3
= wxString_in_helper(obj2
);
30672 if (arg3
== NULL
) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30699 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
;
30701 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30703 wxMenu
*arg3
= (wxMenu
*) 0 ;
30704 wxString
*arg4
= 0 ;
30706 bool temp4
= False
;
30707 PyObject
* obj0
= 0 ;
30708 PyObject
* obj1
= 0 ;
30709 PyObject
* obj2
= 0 ;
30710 PyObject
* obj3
= 0 ;
30711 char *kwnames
[] = {
30712 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30718 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30720 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 arg4
= wxString_in_helper(obj3
);
30724 if (arg4
== NULL
) SWIG_fail
;
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30731 wxPyEndAllowThreads(__tstate
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30751 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30777 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 PyObject
* obj1
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "pos", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= wxPyMake_wxObject(result
);
30809 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
;
30811 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30813 wxMenu
*arg3
= (wxMenu
*) 0 ;
30814 wxString
*arg4
= 0 ;
30816 bool temp4
= False
;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 PyObject
* obj3
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30830 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30833 arg4
= wxString_in_helper(obj3
);
30834 if (arg4
== NULL
) SWIG_fail
;
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= wxPyMake_wxObject(result
);
30861 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
;
30863 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 char *kwnames
[] = {
30869 (char *) "self",(char *) "pos", NULL
30872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30875 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= wxPyMake_wxObject(result
);
30893 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 PyObject
* obj2
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "pos",(char *) "enable", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30908 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30910 arg3
= (bool) SWIG_AsBool(obj2
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 (arg1
)->EnableTop(arg2
,arg3
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 Py_INCREF(Py_None
); resultobj
= Py_None
;
30926 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self",(char *) "pos", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30958 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
;
30960 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30962 wxString
*arg3
= 0 ;
30963 bool temp3
= False
;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 PyObject
* obj2
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "pos",(char *) "label", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 arg3
= wxString_in_helper(obj2
);
30978 if (arg3
== NULL
) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 Py_INCREF(Py_None
); resultobj
= Py_None
;
31003 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
;
31005 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self",(char *) "pos", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31017 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31021 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31039 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31042 wxString
*arg2
= 0 ;
31043 wxString
*arg3
= 0 ;
31045 bool temp2
= False
;
31046 bool temp3
= False
;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 PyObject
* obj2
= 0 ;
31050 char *kwnames
[] = {
31051 (char *) "self",(char *) "menu",(char *) "item", NULL
31054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 arg2
= wxString_in_helper(obj1
);
31059 if (arg2
== NULL
) SWIG_fail
;
31063 arg3
= wxString_in_helper(obj2
);
31064 if (arg3
== NULL
) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_FromInt((int)result
);
31097 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31101 wxMenuItem
*result
;
31102 PyObject
* obj0
= 0 ;
31103 PyObject
* obj1
= 0 ;
31104 char *kwnames
[] = {
31105 (char *) "self",(char *) "id", NULL
31108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31111 arg2
= (int) SWIG_AsInt(obj1
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31117 wxPyEndAllowThreads(__tstate
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= wxPyMake_wxObject(result
);
31129 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31132 wxString
*arg2
= 0 ;
31134 bool temp2
= False
;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 char *kwnames
[] = {
31138 (char *) "self",(char *) "title", NULL
31141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 arg2
= wxString_in_helper(obj1
);
31146 if (arg2
== NULL
) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= SWIG_FromInt((int)result
);
31171 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 PyObject
* obj2
= 0 ;
31179 char *kwnames
[] = {
31180 (char *) "self",(char *) "id",(char *) "enable", NULL
31183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31186 arg2
= (int) SWIG_AsInt(obj1
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31188 arg3
= (bool) SWIG_AsBool(obj2
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 (arg1
)->Enable(arg2
,arg3
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 Py_INCREF(Py_None
); resultobj
= Py_None
;
31204 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
;
31206 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31209 PyObject
* obj0
= 0 ;
31210 PyObject
* obj1
= 0 ;
31211 PyObject
* obj2
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self",(char *) "id",(char *) "check", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31219 arg2
= (int) SWIG_AsInt(obj1
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31221 arg3
= (bool) SWIG_AsBool(obj2
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 (arg1
)->Check(arg2
,arg3
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 Py_INCREF(Py_None
); resultobj
= Py_None
;
31237 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "id", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31251 arg2
= (int) SWIG_AsInt(obj1
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31269 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self",(char *) "id", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31283 arg2
= (int) SWIG_AsInt(obj1
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31301 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
;
31303 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31305 wxString
*arg3
= 0 ;
31306 bool temp3
= False
;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 PyObject
* obj2
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "self",(char *) "id",(char *) "label", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31317 arg2
= (int) SWIG_AsInt(obj1
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31320 arg3
= wxString_in_helper(obj2
);
31321 if (arg3
== NULL
) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 Py_INCREF(Py_None
); resultobj
= Py_None
;
31346 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self",(char *) "id", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31360 arg2
= (int) SWIG_AsInt(obj1
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31382 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31386 wxString
*arg3
= 0 ;
31387 bool temp3
= False
;
31388 PyObject
* obj0
= 0 ;
31389 PyObject
* obj1
= 0 ;
31390 PyObject
* obj2
= 0 ;
31391 char *kwnames
[] = {
31392 (char *) "self",(char *) "id",(char *) "helpString", NULL
31395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31398 arg2
= (int) SWIG_AsInt(obj1
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31401 arg3
= wxString_in_helper(obj2
);
31402 if (arg3
== NULL
) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 Py_INCREF(Py_None
); resultobj
= Py_None
;
31427 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
;
31429 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 PyObject
* obj1
= 0 ;
31434 char *kwnames
[] = {
31435 (char *) "self",(char *) "id", NULL
31438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31441 arg2
= (int) SWIG_AsInt(obj1
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31463 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= wxPyMake_wxObject(result
);
31491 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31519 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31520 PyObject
*resultobj
;
31521 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31522 wxFrame
*arg2
= (wxFrame
*) 0 ;
31523 PyObject
* obj0
= 0 ;
31524 PyObject
* obj1
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self",(char *) "frame", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->Attach(arg2
);
31538 wxPyEndAllowThreads(__tstate
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31541 Py_INCREF(Py_None
); resultobj
= Py_None
;
31548 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31551 PyObject
* obj0
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 Py_INCREF(Py_None
); resultobj
= Py_None
;
31573 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31576 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31578 return Py_BuildValue((char *)"");
31580 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
;
31582 wxMenu
*arg1
= (wxMenu
*) NULL
;
31583 int arg2
= (int) wxID_ANY
;
31584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31586 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31587 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31588 int arg5
= (int) wxITEM_NORMAL
;
31589 wxMenu
*arg6
= (wxMenu
*) NULL
;
31590 wxMenuItem
*result
;
31591 bool temp3
= False
;
31592 bool temp4
= False
;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 PyObject
* obj2
= 0 ;
31596 PyObject
* obj3
= 0 ;
31597 PyObject
* obj4
= 0 ;
31598 PyObject
* obj5
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31609 arg2
= (int) SWIG_AsInt(obj1
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31614 arg3
= wxString_in_helper(obj2
);
31615 if (arg3
== NULL
) SWIG_fail
;
31621 arg4
= wxString_in_helper(obj3
);
31622 if (arg4
== NULL
) SWIG_fail
;
31627 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31631 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= wxPyMake_wxObject(result
);
31666 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31670 PyObject
* obj0
= 0 ;
31671 char *kwnames
[] = {
31672 (char *) "self", NULL
31675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= wxPyMake_wxObject(result
);
31694 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
;
31696 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31697 wxMenu
*arg2
= (wxMenu
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 char *kwnames
[] = {
31701 (char *) "self",(char *) "menu", NULL
31704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 (arg1
)->SetMenu(arg2
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 char *kwnames
[] = {
31730 (char *) "self",(char *) "id", NULL
31733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31736 arg2
= (int) SWIG_AsInt(obj1
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 (arg1
)->SetId(arg2
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 Py_INCREF(Py_None
); resultobj
= Py_None
;
31752 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
;
31754 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= SWIG_FromInt((int)result
);
31778 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31779 PyObject
*resultobj
;
31780 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31782 PyObject
* obj0
= 0 ;
31783 char *kwnames
[] = {
31784 (char *) "self", NULL
31787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31792 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31794 wxPyEndAllowThreads(__tstate
);
31795 if (PyErr_Occurred()) SWIG_fail
;
31798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31806 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31809 wxString
*arg2
= 0 ;
31810 bool temp2
= False
;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "self",(char *) "str", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31821 arg2
= wxString_in_helper(obj1
);
31822 if (arg2
== NULL
) SWIG_fail
;
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 (arg1
)->SetText((wxString
const &)*arg2
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 Py_INCREF(Py_None
); resultobj
= Py_None
;
31847 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31879 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31883 PyObject
* obj0
= 0 ;
31884 char *kwnames
[] = {
31885 (char *) "self", NULL
31888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31895 result
= (wxString
*) &_result_ref
;
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31914 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 wxString
*arg1
= 0 ;
31918 bool temp1
= False
;
31919 PyObject
* obj0
= 0 ;
31920 char *kwnames
[] = {
31921 (char *) "text", NULL
31924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31926 arg1
= wxString_in_helper(obj0
);
31927 if (arg1
== NULL
) SWIG_fail
;
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31958 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self", NULL
31967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= SWIG_FromInt((int)result
);
31984 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31985 PyObject
*resultobj
;
31986 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31988 PyObject
* obj0
= 0 ;
31989 PyObject
* obj1
= 0 ;
31990 char *kwnames
[] = {
31991 (char *) "self",(char *) "kind", NULL
31994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
31995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31997 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 (arg1
)->SetKind((wxItemKind
)arg2
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 Py_INCREF(Py_None
); resultobj
= Py_None
;
32013 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "checkable", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32026 arg2
= (bool) SWIG_AsBool(obj1
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 (arg1
)->SetCheckable(arg2
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 Py_INCREF(Py_None
); resultobj
= Py_None
;
32042 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
;
32044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32070 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32074 PyObject
* obj0
= 0 ;
32075 char *kwnames
[] = {
32076 (char *) "self", NULL
32079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32098 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
;
32100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32101 wxMenu
*arg2
= (wxMenu
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "self",(char *) "menu", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 (arg1
)->SetSubMenu(arg2
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 Py_INCREF(Py_None
); resultobj
= Py_None
;
32127 static PyObject
*_wrap_MenuItem_GetSubMenu(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_GetSubMenu",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
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= wxPyMake_wxObject(result
);
32155 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32158 bool arg2
= (bool) True
;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self",(char *) "enable", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32169 arg2
= (bool) SWIG_AsBool(obj1
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 (arg1
)->Enable(arg2
);
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32179 Py_INCREF(Py_None
); resultobj
= Py_None
;
32186 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
;
32188 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32190 PyObject
* obj0
= 0 ;
32191 char *kwnames
[] = {
32192 (char *) "self", NULL
32195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32214 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32215 PyObject
*resultobj
;
32216 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32217 bool arg2
= (bool) True
;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "check", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32228 arg2
= (bool) SWIG_AsBool(obj1
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 (arg1
)->Check(arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 Py_INCREF(Py_None
); resultobj
= Py_None
;
32245 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
;
32247 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32249 PyObject
* obj0
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "self", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32273 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
;
32275 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 char *kwnames
[] = {
32278 (char *) "self", NULL
32281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32301 wxString
*arg2
= 0 ;
32302 bool temp2
= False
;
32303 PyObject
* obj0
= 0 ;
32304 PyObject
* obj1
= 0 ;
32305 char *kwnames
[] = {
32306 (char *) "self",(char *) "str", NULL
32309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32313 arg2
= wxString_in_helper(obj1
);
32314 if (arg2
== NULL
) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 (arg1
)->SetHelp((wxString
const &)*arg2
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 Py_INCREF(Py_None
); resultobj
= Py_None
;
32339 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
;
32341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32343 PyObject
* obj0
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32355 result
= (wxString
*) &_result_ref
;
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32365 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32374 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
;
32376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32377 wxAcceleratorEntry
*result
;
32378 PyObject
* obj0
= 0 ;
32379 char *kwnames
[] = {
32380 (char *) "self", NULL
32383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32388 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32400 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
;
32402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32403 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 PyObject
* obj1
= 0 ;
32406 char *kwnames
[] = {
32407 (char *) "self",(char *) "accel", NULL
32410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 (arg1
)->SetAccel(arg2
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 Py_INCREF(Py_None
); resultobj
= Py_None
;
32429 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
;
32432 char *kwnames
[] = {
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 result
= (int)MenuItem_GetDefaultMarginWidth();
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= SWIG_FromInt((int)result
);
32451 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32454 wxBitmap
*arg2
= 0 ;
32455 PyObject
* obj0
= 0 ;
32456 PyObject
* obj1
= 0 ;
32457 char *kwnames
[] = {
32458 (char *) "self",(char *) "bitmap", NULL
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32467 if (arg2
== NULL
) {
32468 PyErr_SetString(PyExc_TypeError
,"null reference");
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 Py_INCREF(Py_None
); resultobj
= Py_None
;
32485 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
;
32487 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32501 result
= (wxBitmap
*) &_result_ref
;
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 wxBitmap
* resultptr
= new wxBitmap(*result
);
32509 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32517 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32520 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32522 return Py_BuildValue((char *)"");
32524 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32525 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32530 static PyObject
*_wrap_ControlNameStr_get() {
32535 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32537 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32544 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxWindow
*arg1
= (wxWindow
*) 0 ;
32548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32552 long arg5
= (long) 0 ;
32553 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32554 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32555 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32560 bool temp7
= False
;
32561 PyObject
* obj0
= 0 ;
32562 PyObject
* obj1
= 0 ;
32563 PyObject
* obj2
= 0 ;
32564 PyObject
* obj3
= 0 ;
32565 PyObject
* obj4
= 0 ;
32566 PyObject
* obj5
= 0 ;
32567 PyObject
* obj6
= 0 ;
32568 char *kwnames
[] = {
32569 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32575 arg2
= (int) SWIG_AsInt(obj1
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32586 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32590 arg5
= (long) SWIG_AsLong(obj4
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32594 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32597 if (arg6
== NULL
) {
32598 PyErr_SetString(PyExc_TypeError
,"null reference");
32604 arg7
= wxString_in_helper(obj6
);
32605 if (arg7
== NULL
) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= wxPyMake_wxObject(result
);
32633 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32636 char *kwnames
[] = {
32640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 result
= (wxControl
*)new wxControl();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= wxPyMake_wxObject(result
);
32657 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
;
32659 wxControl
*arg1
= (wxControl
*) 0 ;
32660 wxWindow
*arg2
= (wxWindow
*) 0 ;
32662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32666 long arg6
= (long) 0 ;
32667 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32668 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32669 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32670 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32674 bool temp8
= False
;
32675 PyObject
* obj0
= 0 ;
32676 PyObject
* obj1
= 0 ;
32677 PyObject
* obj2
= 0 ;
32678 PyObject
* obj3
= 0 ;
32679 PyObject
* obj4
= 0 ;
32680 PyObject
* obj5
= 0 ;
32681 PyObject
* obj6
= 0 ;
32682 PyObject
* obj7
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32692 arg3
= (int) SWIG_AsInt(obj2
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32697 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32703 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32707 arg6
= (long) SWIG_AsLong(obj5
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32711 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32714 if (arg7
== NULL
) {
32715 PyErr_SetString(PyExc_TypeError
,"null reference");
32721 arg8
= wxString_in_helper(obj7
);
32722 if (arg8
== NULL
) SWIG_fail
;
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32750 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
;
32752 wxControl
*arg1
= (wxControl
*) 0 ;
32753 wxCommandEvent
*arg2
= 0 ;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self",(char *) "event", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32766 if (arg2
== NULL
) {
32767 PyErr_SetString(PyExc_TypeError
,"null reference");
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 (arg1
)->Command(*arg2
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 Py_INCREF(Py_None
); resultobj
= Py_None
;
32784 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxControl
*arg1
= (wxControl
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (arg1
)->GetLabel();
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32816 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxControl
*arg1
= (wxControl
*) 0 ;
32819 wxString
*arg2
= 0 ;
32820 bool temp2
= False
;
32821 PyObject
* obj0
= 0 ;
32822 PyObject
* obj1
= 0 ;
32823 char *kwnames
[] = {
32824 (char *) "self",(char *) "label", NULL
32827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32831 arg2
= wxString_in_helper(obj1
);
32832 if (arg2
== NULL
) SWIG_fail
;
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 (arg1
)->SetLabel((wxString
const &)*arg2
);
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 Py_INCREF(Py_None
); resultobj
= Py_None
;
32857 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
;
32859 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32860 wxVisualAttributes result
;
32861 PyObject
* obj0
= 0 ;
32862 char *kwnames
[] = {
32863 (char *) "variant", NULL
32866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32868 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32879 wxVisualAttributes
* resultptr
;
32880 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32889 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32892 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32894 return Py_BuildValue((char *)"");
32896 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32897 PyObject
*resultobj
;
32898 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32899 wxString
*arg2
= 0 ;
32900 PyObject
*arg3
= (PyObject
*) NULL
;
32902 bool temp2
= False
;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 PyObject
* obj2
= 0 ;
32906 char *kwnames
[] = {
32907 (char *) "self",(char *) "item",(char *) "clientData", NULL
32910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32914 arg2
= wxString_in_helper(obj1
);
32915 if (arg2
== NULL
) SWIG_fail
;
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= SWIG_FromInt((int)result
);
32943 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32946 wxArrayString
*arg2
= 0 ;
32947 bool temp2
= False
;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 char *kwnames
[] = {
32951 (char *) "self",(char *) "strings", NULL
32954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32958 if (! PySequence_Check(obj1
)) {
32959 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32962 arg2
= new wxArrayString
;
32964 int i
, len
=PySequence_Length(obj1
);
32965 for (i
=0; i
<len
; i
++) {
32966 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32968 PyObject
* str
= PyObject_Unicode(item
);
32970 PyObject
* str
= PyObject_Str(item
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32973 arg2
->Add(Py2wxString(str
));
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->Append((wxArrayString
const &)*arg2
);
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32987 if (temp2
) delete arg2
;
32992 if (temp2
) delete arg2
;
32998 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33000 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33001 wxString
*arg2
= 0 ;
33003 PyObject
*arg4
= (PyObject
*) NULL
;
33005 bool temp2
= False
;
33006 PyObject
* obj0
= 0 ;
33007 PyObject
* obj1
= 0 ;
33008 PyObject
* obj2
= 0 ;
33009 PyObject
* obj3
= 0 ;
33010 char *kwnames
[] = {
33011 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33018 arg2
= wxString_in_helper(obj1
);
33019 if (arg2
== NULL
) SWIG_fail
;
33022 arg3
= (int) SWIG_AsInt(obj2
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= SWIG_FromInt((int)result
);
33049 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 wxPyEndAllowThreads(__tstate
);
33065 if (PyErr_Occurred()) SWIG_fail
;
33067 Py_INCREF(Py_None
); resultobj
= Py_None
;
33074 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33075 PyObject
*resultobj
;
33076 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 char *kwnames
[] = {
33081 (char *) "self",(char *) "n", NULL
33084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33087 arg2
= (int) SWIG_AsInt(obj1
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 (arg1
)->Delete(arg2
);
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 Py_INCREF(Py_None
); resultobj
= Py_None
;
33103 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
;
33105 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33107 PyObject
* obj0
= 0 ;
33108 char *kwnames
[] = {
33109 (char *) "self", NULL
33112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33119 wxPyEndAllowThreads(__tstate
);
33120 if (PyErr_Occurred()) SWIG_fail
;
33122 resultobj
= SWIG_FromInt((int)result
);
33129 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33130 PyObject
*resultobj
;
33131 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33133 PyObject
* obj0
= 0 ;
33134 char *kwnames
[] = {
33135 (char *) "self", NULL
33138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33157 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33158 PyObject
*resultobj
;
33159 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33162 PyObject
* obj0
= 0 ;
33163 PyObject
* obj1
= 0 ;
33164 char *kwnames
[] = {
33165 (char *) "self",(char *) "n", NULL
33168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33171 arg2
= (int) SWIG_AsInt(obj1
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33193 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33194 PyObject
*resultobj
;
33195 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33196 wxArrayString result
;
33197 PyObject
* obj0
= 0 ;
33198 char *kwnames
[] = {
33199 (char *) "self", NULL
33202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= wxArrayString2PyList_helper(result
);
33221 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
;
33223 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33225 wxString
*arg3
= 0 ;
33226 bool temp3
= False
;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 PyObject
* obj2
= 0 ;
33230 char *kwnames
[] = {
33231 (char *) "self",(char *) "n",(char *) "s", NULL
33234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33237 arg2
= (int) SWIG_AsInt(obj1
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 arg3
= wxString_in_helper(obj2
);
33241 if (arg3
== NULL
) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 Py_INCREF(Py_None
); resultobj
= Py_None
;
33266 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33267 PyObject
*resultobj
;
33268 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33269 wxString
*arg2
= 0 ;
33271 bool temp2
= False
;
33272 PyObject
* obj0
= 0 ;
33273 PyObject
* obj1
= 0 ;
33274 char *kwnames
[] = {
33275 (char *) "self",(char *) "s", NULL
33278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33282 arg2
= wxString_in_helper(obj1
);
33283 if (arg2
== NULL
) SWIG_fail
;
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33290 wxPyEndAllowThreads(__tstate
);
33291 if (PyErr_Occurred()) SWIG_fail
;
33293 resultobj
= SWIG_FromInt((int)result
);
33308 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
;
33310 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33312 PyObject
* obj0
= 0 ;
33313 PyObject
* obj1
= 0 ;
33314 char *kwnames
[] = {
33315 (char *) "self",(char *) "n", NULL
33318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33321 arg2
= (int) SWIG_AsInt(obj1
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33325 (arg1
)->Select(arg2
);
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 Py_INCREF(Py_None
); resultobj
= Py_None
;
33337 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
;
33339 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33341 PyObject
* obj0
= 0 ;
33342 char *kwnames
[] = {
33343 (char *) "self", NULL
33346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33356 resultobj
= SWIG_FromInt((int)result
);
33363 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33364 PyObject
*resultobj
;
33365 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33367 PyObject
* obj0
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "self", NULL
33372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33395 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
;
33397 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "self",(char *) "n", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33409 arg2
= (int) SWIG_AsInt(obj1
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= result
;
33425 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
;
33427 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33429 PyObject
*arg3
= (PyObject
*) 0 ;
33430 PyObject
* obj0
= 0 ;
33431 PyObject
* obj1
= 0 ;
33432 PyObject
* obj2
= 0 ;
33433 char *kwnames
[] = {
33434 (char *) "self",(char *) "n",(char *) "clientData", NULL
33437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33440 arg2
= (int) SWIG_AsInt(obj1
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 Py_INCREF(Py_None
); resultobj
= Py_None
;
33457 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33460 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33462 return Py_BuildValue((char *)"");
33464 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33467 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33469 return Py_BuildValue((char *)"");
33471 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxSizerItem
*result
;
33474 char *kwnames
[] = {
33478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (wxSizerItem
*)new wxSizerItem();
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33493 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33500 wxObject
*arg6
= (wxObject
*) 0 ;
33501 wxSizerItem
*result
;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 PyObject
* obj2
= 0 ;
33505 PyObject
* obj3
= 0 ;
33506 PyObject
* obj4
= 0 ;
33507 PyObject
* obj5
= 0 ;
33508 char *kwnames
[] = {
33509 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33513 arg1
= (int) SWIG_AsInt(obj0
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33515 arg2
= (int) SWIG_AsInt(obj1
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33517 arg3
= (int) SWIG_AsInt(obj2
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33519 arg4
= (int) SWIG_AsInt(obj3
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33521 arg5
= (int) SWIG_AsInt(obj4
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33523 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33539 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33540 PyObject
*resultobj
;
33541 wxWindow
*arg1
= (wxWindow
*) 0 ;
33545 wxObject
*arg5
= (wxObject
*) 0 ;
33546 wxSizerItem
*result
;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 PyObject
* obj3
= 0 ;
33551 PyObject
* obj4
= 0 ;
33552 char *kwnames
[] = {
33553 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33559 arg2
= (int) SWIG_AsInt(obj1
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33561 arg3
= (int) SWIG_AsInt(obj2
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33563 arg4
= (int) SWIG_AsInt(obj3
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33565 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33581 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
;
33583 wxSizer
*arg1
= (wxSizer
*) 0 ;
33587 wxObject
*arg5
= (wxObject
*) 0 ;
33588 wxSizerItem
*result
;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 PyObject
* obj2
= 0 ;
33592 PyObject
* obj3
= 0 ;
33593 PyObject
* obj4
= 0 ;
33594 char *kwnames
[] = {
33595 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33601 arg2
= (int) SWIG_AsInt(obj1
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33603 arg3
= (int) SWIG_AsInt(obj2
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33605 arg4
= (int) SWIG_AsInt(obj3
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33607 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33623 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
;
33625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 char *kwnames
[] = {
33628 (char *) "self", NULL
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->DeleteWindows();
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 Py_INCREF(Py_None
); resultobj
= Py_None
;
33648 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33649 PyObject
*resultobj
;
33650 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33651 PyObject
* obj0
= 0 ;
33652 char *kwnames
[] = {
33653 (char *) "self", NULL
33656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->DetachSizer();
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 Py_INCREF(Py_None
); resultobj
= Py_None
;
33673 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 char *kwnames
[] = {
33679 (char *) "self", NULL
33682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (arg1
)->GetSize();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33693 wxSize
* resultptr
;
33694 resultptr
= new wxSize((wxSize
&) result
);
33695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33703 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33704 PyObject
*resultobj
;
33705 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33707 PyObject
* obj0
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "self", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 result
= (arg1
)->CalcMin();
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33723 wxSize
* resultptr
;
33724 resultptr
= new wxSize((wxSize
&) result
);
33725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33733 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33735 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 PyObject
* obj2
= 0 ;
33743 char *kwnames
[] = {
33744 (char *) "self",(char *) "pos",(char *) "size", NULL
33747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33750 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33751 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33753 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33754 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33758 (arg1
)->SetDimension(arg2
,arg3
);
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 Py_INCREF(Py_None
); resultobj
= Py_None
;
33770 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
;
33772 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 char *kwnames
[] = {
33776 (char *) "self", NULL
33779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 result
= (arg1
)->GetMinSize();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33790 wxSize
* resultptr
;
33791 resultptr
= new wxSize((wxSize
&) result
);
33792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33800 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
;
33802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33805 PyObject
* obj0
= 0 ;
33806 PyObject
* obj1
= 0 ;
33807 PyObject
* obj2
= 0 ;
33808 char *kwnames
[] = {
33809 (char *) "self",(char *) "x",(char *) "y", NULL
33812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33815 arg2
= (int) SWIG_AsInt(obj1
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33817 arg3
= (int) SWIG_AsInt(obj2
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->SetInitSize(arg2
,arg3
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 PyObject
* obj2
= 0 ;
33841 char *kwnames
[] = {
33842 (char *) "self",(char *) "width",(char *) "height", NULL
33845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33848 arg2
= (int) SWIG_AsInt(obj1
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33850 arg3
= (int) SWIG_AsInt(obj2
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 (arg1
)->SetRatio(arg2
,arg3
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 Py_INCREF(Py_None
); resultobj
= Py_None
;
33866 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char *kwnames
[] = {
33874 (char *) "self",(char *) "size", NULL
33877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33880 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33881 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 (arg1
)->SetRatio(arg2
);
33887 wxPyEndAllowThreads(__tstate
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 Py_INCREF(Py_None
); resultobj
= Py_None
;
33897 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
;
33899 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 char *kwnames
[] = {
33904 (char *) "self",(char *) "ratio", NULL
33907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33910 arg2
= (float) SWIG_AsFloat(obj1
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 (arg1
)->SetRatio(arg2
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 Py_INCREF(Py_None
); resultobj
= Py_None
;
33926 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
;
33928 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33930 PyObject
* obj0
= 0 ;
33931 char *kwnames
[] = {
33932 (char *) "self", NULL
33935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 result
= (float)(arg1
)->GetRatio();
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33945 resultobj
= SWIG_FromFloat((float)result
);
33952 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
;
33954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33956 PyObject
* obj0
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)(arg1
)->IsWindow();
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33980 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33984 PyObject
* obj0
= 0 ;
33985 char *kwnames
[] = {
33986 (char *) "self", NULL
33989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 result
= (bool)(arg1
)->IsSizer();
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34008 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "self", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 result
= (bool)(arg1
)->IsSpacer();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34036 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
;
34038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 char *kwnames
[] = {
34043 (char *) "self",(char *) "proportion", NULL
34046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34049 arg2
= (int) SWIG_AsInt(obj1
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 (arg1
)->SetProportion(arg2
);
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 Py_INCREF(Py_None
); resultobj
= Py_None
;
34065 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34066 PyObject
*resultobj
;
34067 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34069 PyObject
* obj0
= 0 ;
34070 char *kwnames
[] = {
34071 (char *) "self", NULL
34074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 result
= (int)(arg1
)->GetProportion();
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_FromInt((int)result
);
34091 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
;
34093 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self",(char *) "flag", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34104 arg2
= (int) SWIG_AsInt(obj1
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 (arg1
)->SetFlag(arg2
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 Py_INCREF(Py_None
); resultobj
= Py_None
;
34120 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
;
34122 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (int)(arg1
)->GetFlag();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_FromInt((int)result
);
34146 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 char *kwnames
[] = {
34153 (char *) "self",(char *) "border", NULL
34156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34159 arg2
= (int) SWIG_AsInt(obj1
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 (arg1
)->SetBorder(arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 Py_INCREF(Py_None
); resultobj
= Py_None
;
34175 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34176 PyObject
*resultobj
;
34177 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34179 PyObject
* obj0
= 0 ;
34180 char *kwnames
[] = {
34181 (char *) "self", NULL
34184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (int)(arg1
)->GetBorder();
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34194 resultobj
= SWIG_FromInt((int)result
);
34201 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (wxWindow
*)(arg1
)->GetWindow();
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= wxPyMake_wxObject(result
);
34229 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34232 wxWindow
*arg2
= (wxWindow
*) 0 ;
34233 PyObject
* obj0
= 0 ;
34234 PyObject
* obj1
= 0 ;
34235 char *kwnames
[] = {
34236 (char *) "self",(char *) "window", NULL
34239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 (arg1
)->SetWindow(arg2
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 Py_INCREF(Py_None
); resultobj
= Py_None
;
34258 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
;
34260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34262 PyObject
* obj0
= 0 ;
34263 char *kwnames
[] = {
34264 (char *) "self", NULL
34267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 result
= (wxSizer
*)(arg1
)->GetSizer();
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34278 resultobj
= wxPyMake_wxSizer(result
);
34286 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34287 PyObject
*resultobj
;
34288 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34289 wxSizer
*arg2
= (wxSizer
*) 0 ;
34290 PyObject
* obj0
= 0 ;
34291 PyObject
* obj1
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self",(char *) "sizer", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 (arg1
)->SetSizer(arg2
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 Py_INCREF(Py_None
); resultobj
= Py_None
;
34315 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 char *kwnames
[] = {
34321 (char *) "self", NULL
34324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34331 result
= (wxSize
*) &_result_ref
;
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34344 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
;
34346 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 char *kwnames
[] = {
34352 (char *) "self",(char *) "size", NULL
34355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34369 Py_INCREF(Py_None
); resultobj
= Py_None
;
34376 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
;
34378 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34380 PyObject
* obj0
= 0 ;
34381 PyObject
* obj1
= 0 ;
34382 char *kwnames
[] = {
34383 (char *) "self",(char *) "show", NULL
34386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34389 arg2
= (bool) SWIG_AsBool(obj1
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 (arg1
)->Show(arg2
);
34395 wxPyEndAllowThreads(__tstate
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34398 Py_INCREF(Py_None
); resultobj
= Py_None
;
34405 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
;
34407 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34409 PyObject
* obj0
= 0 ;
34410 char *kwnames
[] = {
34411 (char *) "self", NULL
34414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (bool)(arg1
)->IsShown();
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34433 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
;
34435 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34437 PyObject
* obj0
= 0 ;
34438 char *kwnames
[] = {
34439 (char *) "self", NULL
34442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= (arg1
)->GetPosition();
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34453 wxPoint
* resultptr
;
34454 resultptr
= new wxPoint((wxPoint
&) result
);
34455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34463 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34464 PyObject
*resultobj
;
34465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34467 PyObject
* obj0
= 0 ;
34468 char *kwnames
[] = {
34469 (char *) "self", NULL
34472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= result
;
34489 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34492 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34494 return Py_BuildValue((char *)"");
34496 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
;
34498 wxSizer
*arg1
= (wxSizer
*) 0 ;
34499 PyObject
*arg2
= (PyObject
*) 0 ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 char *kwnames
[] = {
34503 (char *) "self",(char *) "_self", NULL
34506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 wxSizer__setOORInfo(arg1
,arg2
);
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34517 Py_INCREF(Py_None
); resultobj
= Py_None
;
34524 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
;
34526 wxSizer
*arg1
= (wxSizer
*) 0 ;
34527 PyObject
*arg2
= (PyObject
*) 0 ;
34528 int arg3
= (int) 0 ;
34529 int arg4
= (int) 0 ;
34530 int arg5
= (int) 0 ;
34531 PyObject
*arg6
= (PyObject
*) NULL
;
34532 PyObject
* obj0
= 0 ;
34533 PyObject
* obj1
= 0 ;
34534 PyObject
* obj2
= 0 ;
34535 PyObject
* obj3
= 0 ;
34536 PyObject
* obj4
= 0 ;
34537 PyObject
* obj5
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34547 arg3
= (int) SWIG_AsInt(obj2
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34551 arg4
= (int) SWIG_AsInt(obj3
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34555 arg5
= (int) SWIG_AsInt(obj4
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 Py_INCREF(Py_None
); resultobj
= Py_None
;
34575 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
;
34577 wxSizer
*arg1
= (wxSizer
*) 0 ;
34579 PyObject
*arg3
= (PyObject
*) 0 ;
34580 int arg4
= (int) 0 ;
34581 int arg5
= (int) 0 ;
34582 int arg6
= (int) 0 ;
34583 PyObject
*arg7
= (PyObject
*) NULL
;
34584 PyObject
* obj0
= 0 ;
34585 PyObject
* obj1
= 0 ;
34586 PyObject
* obj2
= 0 ;
34587 PyObject
* obj3
= 0 ;
34588 PyObject
* obj4
= 0 ;
34589 PyObject
* obj5
= 0 ;
34590 PyObject
* obj6
= 0 ;
34591 char *kwnames
[] = {
34592 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34598 arg2
= (int) SWIG_AsInt(obj1
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34602 arg4
= (int) SWIG_AsInt(obj3
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34606 arg5
= (int) SWIG_AsInt(obj4
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34610 arg6
= (int) SWIG_AsInt(obj5
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 Py_INCREF(Py_None
); resultobj
= Py_None
;
34630 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
;
34632 wxSizer
*arg1
= (wxSizer
*) 0 ;
34633 PyObject
*arg2
= (PyObject
*) 0 ;
34634 int arg3
= (int) 0 ;
34635 int arg4
= (int) 0 ;
34636 int arg5
= (int) 0 ;
34637 PyObject
*arg6
= (PyObject
*) NULL
;
34638 PyObject
* obj0
= 0 ;
34639 PyObject
* obj1
= 0 ;
34640 PyObject
* obj2
= 0 ;
34641 PyObject
* obj3
= 0 ;
34642 PyObject
* obj4
= 0 ;
34643 PyObject
* obj5
= 0 ;
34644 char *kwnames
[] = {
34645 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34653 arg3
= (int) SWIG_AsInt(obj2
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34657 arg4
= (int) SWIG_AsInt(obj3
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 arg5
= (int) SWIG_AsInt(obj4
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34669 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 Py_INCREF(Py_None
); resultobj
= Py_None
;
34681 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
;
34683 wxSizer
*arg1
= (wxSizer
*) 0 ;
34684 PyObject
*arg2
= (PyObject
*) 0 ;
34686 PyObject
* obj0
= 0 ;
34687 PyObject
* obj1
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self",(char *) "item", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34700 wxPyEndAllowThreads(__tstate
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34712 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34713 PyObject
*resultobj
;
34714 wxSizer
*arg1
= (wxSizer
*) 0 ;
34715 PyObject
*arg2
= (PyObject
*) 0 ;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 PyObject
* obj2
= 0 ;
34721 char *kwnames
[] = {
34722 (char *) "self",(char *) "item",(char *) "size", NULL
34725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34731 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34737 wxPyEndAllowThreads(__tstate
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34740 Py_INCREF(Py_None
); resultobj
= Py_None
;
34747 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
;
34749 wxSizer
*arg1
= (wxSizer
*) 0 ;
34750 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self",(char *) "item", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 Py_INCREF(Py_None
); resultobj
= Py_None
;
34776 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
;
34778 wxSizer
*arg1
= (wxSizer
*) 0 ;
34780 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 PyObject
* obj2
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "index",(char *) "item", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 (arg1
)->Insert(arg2
,arg3
);
34799 wxPyEndAllowThreads(__tstate
);
34800 if (PyErr_Occurred()) SWIG_fail
;
34802 Py_INCREF(Py_None
); resultobj
= Py_None
;
34809 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34810 PyObject
*resultobj
;
34811 wxSizer
*arg1
= (wxSizer
*) 0 ;
34812 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self",(char *) "item", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 (arg1
)->Prepend(arg2
);
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34831 Py_INCREF(Py_None
); resultobj
= Py_None
;
34838 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxSizer
*arg1
= (wxSizer
*) 0 ;
34845 PyObject
* obj0
= 0 ;
34846 PyObject
* obj1
= 0 ;
34847 PyObject
* obj2
= 0 ;
34848 PyObject
* obj3
= 0 ;
34849 PyObject
* obj4
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34857 arg2
= (int) SWIG_AsInt(obj1
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34859 arg3
= (int) SWIG_AsInt(obj2
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34861 arg4
= (int) SWIG_AsInt(obj3
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34863 arg5
= (int) SWIG_AsInt(obj4
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 Py_INCREF(Py_None
); resultobj
= Py_None
;
34879 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxSizer
*arg1
= (wxSizer
*) 0 ;
34884 PyObject
* obj0
= 0 ;
34885 PyObject
* obj1
= 0 ;
34886 char *kwnames
[] = {
34887 (char *) "self",(char *) "size", NULL
34890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 Py_INCREF(Py_None
); resultobj
= Py_None
;
34911 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
;
34913 wxSizer
*arg1
= (wxSizer
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 result
= (arg1
)->GetSize();
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34931 wxSize
* resultptr
;
34932 resultptr
= new wxSize((wxSize
&) result
);
34933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34941 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
;
34943 wxSizer
*arg1
= (wxSizer
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 char *kwnames
[] = {
34947 (char *) "self", NULL
34950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 result
= (arg1
)->GetPosition();
34957 wxPyEndAllowThreads(__tstate
);
34958 if (PyErr_Occurred()) SWIG_fail
;
34961 wxPoint
* resultptr
;
34962 resultptr
= new wxPoint((wxPoint
&) result
);
34963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34971 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
;
34973 wxSizer
*arg1
= (wxSizer
*) 0 ;
34975 PyObject
* obj0
= 0 ;
34976 char *kwnames
[] = {
34977 (char *) "self", NULL
34980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34985 result
= (arg1
)->GetMinSize();
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34991 wxSize
* resultptr
;
34992 resultptr
= new wxSize((wxSize
&) result
);
34993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35001 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35002 PyObject
*resultobj
;
35003 wxSizer
*arg1
= (wxSizer
*) 0 ;
35004 PyObject
* obj0
= 0 ;
35005 char *kwnames
[] = {
35006 (char *) "self", NULL
35009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35014 (arg1
)->RecalcSizes();
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 Py_INCREF(Py_None
); resultobj
= Py_None
;
35026 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
;
35028 wxSizer
*arg1
= (wxSizer
*) 0 ;
35030 PyObject
* obj0
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= (arg1
)->CalcMin();
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35046 wxSize
* resultptr
;
35047 resultptr
= new wxSize((wxSize
&) result
);
35048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35056 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxSizer
*arg1
= (wxSizer
*) 0 ;
35059 PyObject
* obj0
= 0 ;
35060 char *kwnames
[] = {
35061 (char *) "self", NULL
35064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35074 Py_INCREF(Py_None
); resultobj
= Py_None
;
35081 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35082 PyObject
*resultobj
;
35083 wxSizer
*arg1
= (wxSizer
*) 0 ;
35084 wxWindow
*arg2
= (wxWindow
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 PyObject
* obj1
= 0 ;
35088 char *kwnames
[] = {
35089 (char *) "self",(char *) "window", NULL
35092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (arg1
)->Fit(arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 wxSize
* resultptr
;
35106 resultptr
= new wxSize((wxSize
&) result
);
35107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35115 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35116 PyObject
*resultobj
;
35117 wxSizer
*arg1
= (wxSizer
*) 0 ;
35118 wxWindow
*arg2
= (wxWindow
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char *kwnames
[] = {
35122 (char *) "self",(char *) "window", NULL
35125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 (arg1
)->FitInside(arg2
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35137 Py_INCREF(Py_None
); resultobj
= Py_None
;
35144 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
;
35146 wxSizer
*arg1
= (wxSizer
*) 0 ;
35147 wxWindow
*arg2
= (wxWindow
*) 0 ;
35148 PyObject
* obj0
= 0 ;
35149 PyObject
* obj1
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "window", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35161 (arg1
)->SetSizeHints(arg2
);
35163 wxPyEndAllowThreads(__tstate
);
35164 if (PyErr_Occurred()) SWIG_fail
;
35166 Py_INCREF(Py_None
); resultobj
= Py_None
;
35173 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35174 PyObject
*resultobj
;
35175 wxSizer
*arg1
= (wxSizer
*) 0 ;
35176 wxWindow
*arg2
= (wxWindow
*) 0 ;
35177 PyObject
* obj0
= 0 ;
35178 PyObject
* obj1
= 0 ;
35179 char *kwnames
[] = {
35180 (char *) "self",(char *) "window", NULL
35183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 (arg1
)->SetVirtualSizeHints(arg2
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 Py_INCREF(Py_None
); resultobj
= Py_None
;
35202 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 wxSizer
*arg1
= (wxSizer
*) 0 ;
35205 bool arg2
= (bool) False
;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 char *kwnames
[] = {
35209 (char *) "self",(char *) "delete_windows", NULL
35212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35216 arg2
= (bool) SWIG_AsBool(obj1
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 (arg1
)->Clear(arg2
);
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35226 Py_INCREF(Py_None
); resultobj
= Py_None
;
35233 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35234 PyObject
*resultobj
;
35235 wxSizer
*arg1
= (wxSizer
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 (arg1
)->DeleteWindows();
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35251 Py_INCREF(Py_None
); resultobj
= Py_None
;
35258 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35259 PyObject
*resultobj
;
35260 wxSizer
*arg1
= (wxSizer
*) 0 ;
35262 PyObject
* obj0
= 0 ;
35263 char *kwnames
[] = {
35264 (char *) "self", NULL
35267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35277 resultobj
= result
;
35284 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35285 PyObject
*resultobj
;
35286 wxSizer
*arg1
= (wxSizer
*) 0 ;
35287 PyObject
*arg2
= (PyObject
*) 0 ;
35288 bool arg3
= (bool) True
;
35289 PyObject
* obj0
= 0 ;
35290 PyObject
* obj1
= 0 ;
35291 PyObject
* obj2
= 0 ;
35292 char *kwnames
[] = {
35293 (char *) "self",(char *) "item",(char *) "show", NULL
35296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35301 arg3
= (bool) SWIG_AsBool(obj2
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35306 wxSizer_Show(arg1
,arg2
,arg3
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 Py_INCREF(Py_None
); resultobj
= Py_None
;
35318 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35319 PyObject
*resultobj
;
35320 wxSizer
*arg1
= (wxSizer
*) 0 ;
35321 PyObject
*arg2
= (PyObject
*) 0 ;
35322 PyObject
* obj0
= 0 ;
35323 PyObject
* obj1
= 0 ;
35324 char *kwnames
[] = {
35325 (char *) "self",(char *) "item", NULL
35328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 wxSizer_Hide(arg1
,arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 Py_INCREF(Py_None
); resultobj
= Py_None
;
35346 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
;
35348 wxSizer
*arg1
= (wxSizer
*) 0 ;
35349 PyObject
*arg2
= (PyObject
*) 0 ;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 char *kwnames
[] = {
35354 (char *) "self",(char *) "item", NULL
35357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35363 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35377 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35378 PyObject
*resultobj
;
35379 wxSizer
*arg1
= (wxSizer
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "show", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 arg2
= (bool) SWIG_AsBool(obj1
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->ShowItems(arg2
);
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 Py_INCREF(Py_None
); resultobj
= Py_None
;
35406 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35409 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35411 return Py_BuildValue((char *)"");
35413 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35414 PyObject
*resultobj
;
35416 char *kwnames
[] = {
35420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 result
= (wxPySizer
*)new wxPySizer();
35425 wxPyEndAllowThreads(__tstate
);
35426 if (PyErr_Occurred()) SWIG_fail
;
35428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35435 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
;
35437 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35438 PyObject
*arg2
= (PyObject
*) 0 ;
35439 PyObject
*arg3
= (PyObject
*) 0 ;
35440 PyObject
* obj0
= 0 ;
35441 PyObject
* obj1
= 0 ;
35442 PyObject
* obj2
= 0 ;
35443 char *kwnames
[] = {
35444 (char *) "self",(char *) "self",(char *) "_class", NULL
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35456 wxPyEndAllowThreads(__tstate
);
35457 if (PyErr_Occurred()) SWIG_fail
;
35459 Py_INCREF(Py_None
); resultobj
= Py_None
;
35466 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35469 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35471 return Py_BuildValue((char *)"");
35473 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
;
35475 int arg1
= (int) wxHORIZONTAL
;
35476 wxBoxSizer
*result
;
35477 PyObject
* obj0
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "orient", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35484 arg1
= (int) SWIG_AsInt(obj0
);
35485 if (PyErr_Occurred()) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35501 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
;
35503 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35505 PyObject
* obj0
= 0 ;
35506 char *kwnames
[] = {
35507 (char *) "self", NULL
35510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 result
= (int)(arg1
)->GetOrientation();
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= SWIG_FromInt((int)result
);
35527 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char *kwnames
[] = {
35534 (char *) "self",(char *) "orient", NULL
35537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 arg2
= (int) SWIG_AsInt(obj1
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 (arg1
)->SetOrientation(arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 Py_INCREF(Py_None
); resultobj
= Py_None
;
35556 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35557 PyObject
*resultobj
;
35558 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 (arg1
)->RecalcSizes();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35574 Py_INCREF(Py_None
); resultobj
= Py_None
;
35581 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35582 PyObject
*resultobj
;
35583 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35585 PyObject
* obj0
= 0 ;
35586 char *kwnames
[] = {
35587 (char *) "self", NULL
35590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 result
= (arg1
)->CalcMin();
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35601 wxSize
* resultptr
;
35602 resultptr
= new wxSize((wxSize
&) result
);
35603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35611 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35614 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35616 return Py_BuildValue((char *)"");
35618 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35619 PyObject
*resultobj
;
35620 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35621 int arg2
= (int) wxHORIZONTAL
;
35622 wxStaticBoxSizer
*result
;
35623 PyObject
* obj0
= 0 ;
35624 PyObject
* obj1
= 0 ;
35625 char *kwnames
[] = {
35626 (char *) "box",(char *) "orient", NULL
35629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35633 arg2
= (int) SWIG_AsInt(obj1
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35650 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35653 wxStaticBox
*result
;
35654 PyObject
* obj0
= 0 ;
35655 char *kwnames
[] = {
35656 (char *) "self", NULL
35659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= wxPyMake_wxObject(result
);
35678 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35681 PyObject
* obj0
= 0 ;
35682 char *kwnames
[] = {
35683 (char *) "self", NULL
35686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 (arg1
)->RecalcSizes();
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35696 Py_INCREF(Py_None
); resultobj
= Py_None
;
35703 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35704 PyObject
*resultobj
;
35705 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35707 PyObject
* obj0
= 0 ;
35708 char *kwnames
[] = {
35709 (char *) "self", NULL
35712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 result
= (arg1
)->CalcMin();
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35723 wxSize
* resultptr
;
35724 resultptr
= new wxSize((wxSize
&) result
);
35725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35733 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35738 return Py_BuildValue((char *)"");
35740 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35741 PyObject
*resultobj
;
35742 int arg1
= (int) 1 ;
35743 int arg2
= (int) 0 ;
35744 int arg3
= (int) 0 ;
35745 int arg4
= (int) 0 ;
35746 wxGridSizer
*result
;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 PyObject
* obj2
= 0 ;
35750 PyObject
* obj3
= 0 ;
35751 char *kwnames
[] = {
35752 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35757 arg1
= (int) SWIG_AsInt(obj0
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35761 arg2
= (int) SWIG_AsInt(obj1
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 arg3
= (int) SWIG_AsInt(obj2
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 arg4
= (int) SWIG_AsInt(obj3
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35786 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35789 PyObject
* obj0
= 0 ;
35790 char *kwnames
[] = {
35791 (char *) "self", NULL
35794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35799 (arg1
)->RecalcSizes();
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 Py_INCREF(Py_None
); resultobj
= Py_None
;
35811 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35815 PyObject
* obj0
= 0 ;
35816 char *kwnames
[] = {
35817 (char *) "self", NULL
35820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= (arg1
)->CalcMin();
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35831 wxSize
* resultptr
;
35832 resultptr
= new wxSize((wxSize
&) result
);
35833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35841 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
;
35843 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 PyObject
* obj1
= 0 ;
35847 char *kwnames
[] = {
35848 (char *) "self",(char *) "cols", NULL
35851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35854 arg2
= (int) SWIG_AsInt(obj1
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 (arg1
)->SetCols(arg2
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 Py_INCREF(Py_None
); resultobj
= Py_None
;
35870 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
;
35872 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35874 PyObject
* obj0
= 0 ;
35875 PyObject
* obj1
= 0 ;
35876 char *kwnames
[] = {
35877 (char *) "self",(char *) "rows", NULL
35880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35883 arg2
= (int) SWIG_AsInt(obj1
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 (arg1
)->SetRows(arg2
);
35889 wxPyEndAllowThreads(__tstate
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35892 Py_INCREF(Py_None
); resultobj
= Py_None
;
35899 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
;
35901 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35903 PyObject
* obj0
= 0 ;
35904 PyObject
* obj1
= 0 ;
35905 char *kwnames
[] = {
35906 (char *) "self",(char *) "gap", NULL
35909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35912 arg2
= (int) SWIG_AsInt(obj1
);
35913 if (PyErr_Occurred()) SWIG_fail
;
35915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35916 (arg1
)->SetVGap(arg2
);
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 Py_INCREF(Py_None
); resultobj
= Py_None
;
35928 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35929 PyObject
*resultobj
;
35930 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 char *kwnames
[] = {
35935 (char *) "self",(char *) "gap", NULL
35938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35941 arg2
= (int) SWIG_AsInt(obj1
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35945 (arg1
)->SetHGap(arg2
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 Py_INCREF(Py_None
); resultobj
= Py_None
;
35957 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
;
35959 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35961 PyObject
* obj0
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "self", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (int)(arg1
)->GetCols();
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= SWIG_FromInt((int)result
);
35983 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35985 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35987 PyObject
* obj0
= 0 ;
35988 char *kwnames
[] = {
35989 (char *) "self", NULL
35992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 result
= (int)(arg1
)->GetRows();
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_FromInt((int)result
);
36009 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36013 PyObject
* obj0
= 0 ;
36014 char *kwnames
[] = {
36015 (char *) "self", NULL
36018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36023 result
= (int)(arg1
)->GetVGap();
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_FromInt((int)result
);
36035 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
;
36037 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36039 PyObject
* obj0
= 0 ;
36040 char *kwnames
[] = {
36041 (char *) "self", NULL
36044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 result
= (int)(arg1
)->GetHGap();
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_FromInt((int)result
);
36061 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36064 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36066 return Py_BuildValue((char *)"");
36068 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 int arg1
= (int) 1 ;
36071 int arg2
= (int) 0 ;
36072 int arg3
= (int) 0 ;
36073 int arg4
= (int) 0 ;
36074 wxFlexGridSizer
*result
;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 PyObject
* obj2
= 0 ;
36078 PyObject
* obj3
= 0 ;
36079 char *kwnames
[] = {
36080 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36085 arg1
= (int) SWIG_AsInt(obj0
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36089 arg2
= (int) SWIG_AsInt(obj1
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36093 arg3
= (int) SWIG_AsInt(obj2
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36097 arg4
= (int) SWIG_AsInt(obj3
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36104 wxPyEndAllowThreads(__tstate
);
36105 if (PyErr_Occurred()) SWIG_fail
;
36107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36114 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36115 PyObject
*resultobj
;
36116 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36117 PyObject
* obj0
= 0 ;
36118 char *kwnames
[] = {
36119 (char *) "self", NULL
36122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36127 (arg1
)->RecalcSizes();
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36132 Py_INCREF(Py_None
); resultobj
= Py_None
;
36139 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36140 PyObject
*resultobj
;
36141 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36143 PyObject
* obj0
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 result
= (arg1
)->CalcMin();
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36159 wxSize
* resultptr
;
36160 resultptr
= new wxSize((wxSize
&) result
);
36161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36169 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36170 PyObject
*resultobj
;
36171 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36173 int arg3
= (int) 0 ;
36174 PyObject
* obj0
= 0 ;
36175 PyObject
* obj1
= 0 ;
36176 PyObject
* obj2
= 0 ;
36177 char *kwnames
[] = {
36178 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36184 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36185 if (PyErr_Occurred()) SWIG_fail
;
36187 arg3
= (int) SWIG_AsInt(obj2
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 (arg1
)->AddGrowableRow(arg2
,arg3
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 Py_INCREF(Py_None
); resultobj
= Py_None
;
36204 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
;
36206 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36208 PyObject
* obj0
= 0 ;
36209 PyObject
* obj1
= 0 ;
36210 char *kwnames
[] = {
36211 (char *) "self",(char *) "idx", NULL
36214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36217 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36218 if (PyErr_Occurred()) SWIG_fail
;
36220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36221 (arg1
)->RemoveGrowableRow(arg2
);
36223 wxPyEndAllowThreads(__tstate
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36226 Py_INCREF(Py_None
); resultobj
= Py_None
;
36233 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36234 PyObject
*resultobj
;
36235 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36237 int arg3
= (int) 0 ;
36238 PyObject
* obj0
= 0 ;
36239 PyObject
* obj1
= 0 ;
36240 PyObject
* obj2
= 0 ;
36241 char *kwnames
[] = {
36242 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36248 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36249 if (PyErr_Occurred()) SWIG_fail
;
36251 arg3
= (int) SWIG_AsInt(obj2
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36256 (arg1
)->AddGrowableCol(arg2
,arg3
);
36258 wxPyEndAllowThreads(__tstate
);
36259 if (PyErr_Occurred()) SWIG_fail
;
36261 Py_INCREF(Py_None
); resultobj
= Py_None
;
36268 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36269 PyObject
*resultobj
;
36270 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36272 PyObject
* obj0
= 0 ;
36273 PyObject
* obj1
= 0 ;
36274 char *kwnames
[] = {
36275 (char *) "self",(char *) "idx", NULL
36278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36281 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 (arg1
)->RemoveGrowableCol(arg2
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 Py_INCREF(Py_None
); resultobj
= Py_None
;
36297 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
;
36299 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 char *kwnames
[] = {
36304 (char *) "self",(char *) "direction", NULL
36307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36310 arg2
= (int) SWIG_AsInt(obj1
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 (arg1
)->SetFlexibleDirection(arg2
);
36316 wxPyEndAllowThreads(__tstate
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 Py_INCREF(Py_None
); resultobj
= Py_None
;
36326 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36327 PyObject
*resultobj
;
36328 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36330 PyObject
* obj0
= 0 ;
36331 char *kwnames
[] = {
36332 (char *) "self", NULL
36335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36340 result
= (int)(arg1
)->GetFlexibleDirection();
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_FromInt((int)result
);
36352 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36353 PyObject
*resultobj
;
36354 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36356 PyObject
* obj0
= 0 ;
36357 PyObject
* obj1
= 0 ;
36358 char *kwnames
[] = {
36359 (char *) "self",(char *) "mode", NULL
36362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36365 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36371 wxPyEndAllowThreads(__tstate
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36374 Py_INCREF(Py_None
); resultobj
= Py_None
;
36381 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36382 PyObject
*resultobj
;
36383 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36385 PyObject
* obj0
= 0 ;
36386 char *kwnames
[] = {
36387 (char *) "self", NULL
36390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36397 wxPyEndAllowThreads(__tstate
);
36398 if (PyErr_Occurred()) SWIG_fail
;
36400 resultobj
= SWIG_FromInt((int)result
);
36407 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36408 PyObject
*resultobj
;
36409 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36410 wxArrayInt
*result
;
36411 PyObject
* obj0
= 0 ;
36412 char *kwnames
[] = {
36413 (char *) "self", NULL
36416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36423 result
= (wxArrayInt
*) &_result_ref
;
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36430 resultobj
= PyList_New(0);
36432 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36433 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36434 PyList_Append(resultobj
, val
);
36444 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36447 wxArrayInt
*result
;
36448 PyObject
* obj0
= 0 ;
36449 char *kwnames
[] = {
36450 (char *) "self", NULL
36453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36460 result
= (wxArrayInt
*) &_result_ref
;
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= PyList_New(0);
36469 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36470 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36471 PyList_Append(resultobj
, val
);
36481 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36484 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36486 return Py_BuildValue((char *)"");
36488 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36489 PyObject
*resultobj
;
36490 int arg1
= (int) 0 ;
36491 int arg2
= (int) 0 ;
36492 wxGBPosition
*result
;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 char *kwnames
[] = {
36496 (char *) "row",(char *) "col", NULL
36499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36501 arg1
= (int) SWIG_AsInt(obj0
);
36502 if (PyErr_Occurred()) SWIG_fail
;
36505 arg2
= (int) SWIG_AsInt(obj1
);
36506 if (PyErr_Occurred()) SWIG_fail
;
36509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36510 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36512 wxPyEndAllowThreads(__tstate
);
36513 if (PyErr_Occurred()) SWIG_fail
;
36515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36522 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36523 PyObject
*resultobj
;
36524 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36526 PyObject
* obj0
= 0 ;
36527 char *kwnames
[] = {
36528 (char *) "self", NULL
36531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36536 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_FromInt((int)result
);
36548 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36552 PyObject
* obj0
= 0 ;
36553 char *kwnames
[] = {
36554 (char *) "self", NULL
36557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_FromInt((int)result
);
36574 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
;
36576 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36578 PyObject
* obj0
= 0 ;
36579 PyObject
* obj1
= 0 ;
36580 char *kwnames
[] = {
36581 (char *) "self",(char *) "row", NULL
36584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36587 arg2
= (int) SWIG_AsInt(obj1
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 (arg1
)->SetRow(arg2
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 Py_INCREF(Py_None
); resultobj
= Py_None
;
36603 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36604 PyObject
*resultobj
;
36605 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36607 PyObject
* obj0
= 0 ;
36608 PyObject
* obj1
= 0 ;
36609 char *kwnames
[] = {
36610 (char *) "self",(char *) "col", NULL
36613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36616 arg2
= (int) SWIG_AsInt(obj1
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36620 (arg1
)->SetCol(arg2
);
36622 wxPyEndAllowThreads(__tstate
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36625 Py_INCREF(Py_None
); resultobj
= Py_None
;
36632 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36633 PyObject
*resultobj
;
36634 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36635 wxGBPosition
*arg2
= 0 ;
36637 wxGBPosition temp2
;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 char *kwnames
[] = {
36641 (char *) "self",(char *) "other", NULL
36644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36649 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36667 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36668 PyObject
*resultobj
;
36669 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36670 wxGBPosition
*arg2
= 0 ;
36672 wxGBPosition temp2
;
36673 PyObject
* obj0
= 0 ;
36674 PyObject
* obj1
= 0 ;
36675 char *kwnames
[] = {
36676 (char *) "self",(char *) "other", NULL
36679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36684 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36702 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36705 int arg2
= (int) 0 ;
36706 int arg3
= (int) 0 ;
36707 PyObject
* obj0
= 0 ;
36708 PyObject
* obj1
= 0 ;
36709 PyObject
* obj2
= 0 ;
36710 char *kwnames
[] = {
36711 (char *) "self",(char *) "row",(char *) "col", NULL
36714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36718 arg2
= (int) SWIG_AsInt(obj1
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36722 arg3
= (int) SWIG_AsInt(obj2
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36727 wxGBPosition_Set(arg1
,arg2
,arg3
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 Py_INCREF(Py_None
); resultobj
= Py_None
;
36739 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
;
36741 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36743 PyObject
* obj0
= 0 ;
36744 char *kwnames
[] = {
36745 (char *) "self", NULL
36748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 resultobj
= result
;
36765 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36768 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36770 return Py_BuildValue((char *)"");
36772 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36773 PyObject
*resultobj
;
36774 int arg1
= (int) 1 ;
36775 int arg2
= (int) 1 ;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 char *kwnames
[] = {
36780 (char *) "rowspan",(char *) "colspan", NULL
36783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36785 arg1
= (int) SWIG_AsInt(obj0
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36789 arg2
= (int) SWIG_AsInt(obj1
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36806 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
;
36808 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36810 PyObject
* obj0
= 0 ;
36811 char *kwnames
[] = {
36812 (char *) "self", NULL
36815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 resultobj
= SWIG_FromInt((int)result
);
36832 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36833 PyObject
*resultobj
;
36834 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36836 PyObject
* obj0
= 0 ;
36837 char *kwnames
[] = {
36838 (char *) "self", NULL
36841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36851 resultobj
= SWIG_FromInt((int)result
);
36858 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
;
36860 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "self",(char *) "rowspan", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36871 arg2
= (int) SWIG_AsInt(obj1
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 (arg1
)->SetRowspan(arg2
);
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36880 Py_INCREF(Py_None
); resultobj
= Py_None
;
36887 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
;
36889 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36891 PyObject
* obj0
= 0 ;
36892 PyObject
* obj1
= 0 ;
36893 char *kwnames
[] = {
36894 (char *) "self",(char *) "colspan", NULL
36897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36900 arg2
= (int) SWIG_AsInt(obj1
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 (arg1
)->SetColspan(arg2
);
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36909 Py_INCREF(Py_None
); resultobj
= Py_None
;
36916 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36917 PyObject
*resultobj
;
36918 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36919 wxGBSpan
*arg2
= 0 ;
36922 PyObject
* obj0
= 0 ;
36923 PyObject
* obj1
= 0 ;
36924 char *kwnames
[] = {
36925 (char *) "self",(char *) "other", NULL
36928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36933 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36951 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
;
36953 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36954 wxGBSpan
*arg2
= 0 ;
36957 PyObject
* obj0
= 0 ;
36958 PyObject
* obj1
= 0 ;
36959 char *kwnames
[] = {
36960 (char *) "self",(char *) "other", NULL
36963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36968 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36972 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36986 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36987 PyObject
*resultobj
;
36988 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36989 int arg2
= (int) 1 ;
36990 int arg3
= (int) 1 ;
36991 PyObject
* obj0
= 0 ;
36992 PyObject
* obj1
= 0 ;
36993 PyObject
* obj2
= 0 ;
36994 char *kwnames
[] = {
36995 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37002 arg2
= (int) SWIG_AsInt(obj1
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37006 arg3
= (int) SWIG_AsInt(obj2
);
37007 if (PyErr_Occurred()) SWIG_fail
;
37010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37011 wxGBSpan_Set(arg1
,arg2
,arg3
);
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37016 Py_INCREF(Py_None
); resultobj
= Py_None
;
37023 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
;
37025 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37027 PyObject
* obj0
= 0 ;
37028 char *kwnames
[] = {
37029 (char *) "self", NULL
37032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= result
;
37049 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37052 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37054 return Py_BuildValue((char *)"");
37056 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37057 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37062 static PyObject
*_wrap_DefaultSpan_get() {
37065 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37070 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
;
37072 wxGBSizerItem
*result
;
37073 char *kwnames
[] = {
37077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37092 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37093 PyObject
*resultobj
;
37094 wxWindow
*arg1
= (wxWindow
*) 0 ;
37095 wxGBPosition
*arg2
= 0 ;
37096 wxGBSpan
*arg3
= 0 ;
37099 wxObject
*arg6
= (wxObject
*) 0 ;
37100 wxGBSizerItem
*result
;
37101 wxGBPosition temp2
;
37103 PyObject
* obj0
= 0 ;
37104 PyObject
* obj1
= 0 ;
37105 PyObject
* obj2
= 0 ;
37106 PyObject
* obj3
= 0 ;
37107 PyObject
* obj4
= 0 ;
37108 PyObject
* obj5
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37118 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37122 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37124 arg4
= (int) SWIG_AsInt(obj3
);
37125 if (PyErr_Occurred()) SWIG_fail
;
37126 arg5
= (int) SWIG_AsInt(obj4
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37128 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37144 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37146 wxSizer
*arg1
= (wxSizer
*) 0 ;
37147 wxGBPosition
*arg2
= 0 ;
37148 wxGBSpan
*arg3
= 0 ;
37151 wxObject
*arg6
= (wxObject
*) 0 ;
37152 wxGBSizerItem
*result
;
37153 wxGBPosition temp2
;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 PyObject
* obj2
= 0 ;
37158 PyObject
* obj3
= 0 ;
37159 PyObject
* obj4
= 0 ;
37160 PyObject
* obj5
= 0 ;
37161 char *kwnames
[] = {
37162 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37170 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37174 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37176 arg4
= (int) SWIG_AsInt(obj3
);
37177 if (PyErr_Occurred()) SWIG_fail
;
37178 arg5
= (int) SWIG_AsInt(obj4
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37180 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37184 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37186 wxPyEndAllowThreads(__tstate
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37196 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
;
37200 wxGBPosition
*arg3
= 0 ;
37201 wxGBSpan
*arg4
= 0 ;
37204 wxObject
*arg7
= (wxObject
*) 0 ;
37205 wxGBSizerItem
*result
;
37206 wxGBPosition temp3
;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 PyObject
* obj2
= 0 ;
37211 PyObject
* obj3
= 0 ;
37212 PyObject
* obj4
= 0 ;
37213 PyObject
* obj5
= 0 ;
37214 PyObject
* obj6
= 0 ;
37215 char *kwnames
[] = {
37216 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37220 arg1
= (int) SWIG_AsInt(obj0
);
37221 if (PyErr_Occurred()) SWIG_fail
;
37222 arg2
= (int) SWIG_AsInt(obj1
);
37223 if (PyErr_Occurred()) SWIG_fail
;
37226 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37230 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37232 arg5
= (int) SWIG_AsInt(obj4
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37234 arg6
= (int) SWIG_AsInt(obj5
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37236 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37252 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
;
37254 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37255 wxGBPosition result
;
37256 PyObject
* obj0
= 0 ;
37257 char *kwnames
[] = {
37258 (char *) "self", NULL
37261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 wxGBPosition
* resultptr
;
37273 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37282 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37286 PyObject
* obj0
= 0 ;
37287 char *kwnames
[] = {
37288 (char *) "self", NULL
37291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37296 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37298 wxPyEndAllowThreads(__tstate
);
37299 if (PyErr_Occurred()) SWIG_fail
;
37302 wxGBSpan
* resultptr
;
37303 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37312 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37313 PyObject
*resultobj
;
37314 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37315 wxGBPosition
*arg2
= 0 ;
37317 wxGBPosition temp2
;
37318 PyObject
* obj0
= 0 ;
37319 PyObject
* obj1
= 0 ;
37320 char *kwnames
[] = {
37321 (char *) "self",(char *) "pos", NULL
37324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37329 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37333 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37335 wxPyEndAllowThreads(__tstate
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37347 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37348 PyObject
*resultobj
;
37349 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37350 wxGBSpan
*arg2
= 0 ;
37353 PyObject
* obj0
= 0 ;
37354 PyObject
* obj1
= 0 ;
37355 char *kwnames
[] = {
37356 (char *) "self",(char *) "span", NULL
37359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37364 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37368 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37382 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37383 PyObject
*resultobj
;
37384 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37385 wxGBSizerItem
*arg2
= 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37390 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37396 if (arg2
== NULL
) {
37397 PyErr_SetString(PyExc_TypeError
,"null reference");
37401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37402 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37416 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37417 PyObject
*resultobj
;
37418 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37419 wxGBPosition
*arg2
= 0 ;
37420 wxGBSpan
*arg3
= 0 ;
37422 wxGBPosition temp2
;
37424 PyObject
* obj0
= 0 ;
37425 PyObject
* obj1
= 0 ;
37426 PyObject
* obj2
= 0 ;
37428 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37433 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37437 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37441 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37443 wxPyEndAllowThreads(__tstate
);
37444 if (PyErr_Occurred()) SWIG_fail
;
37447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37455 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37460 argc
= PyObject_Length(args
);
37461 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37462 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37468 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37478 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37486 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37494 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37503 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37507 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37510 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37516 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37521 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
;
37523 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 PyObject
* obj2
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "row",(char *) "col", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37539 if (arg2
== NULL
) {
37540 PyErr_SetString(PyExc_TypeError
,"null reference");
37543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37546 if (arg3
== NULL
) {
37547 PyErr_SetString(PyExc_TypeError
,"null reference");
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 (arg1
)->GetEndPos(*arg2
,*arg3
);
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 Py_INCREF(Py_None
); resultobj
= Py_None
;
37564 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37567 wxGridBagSizer
*result
;
37568 PyObject
* obj0
= 0 ;
37569 char *kwnames
[] = {
37570 (char *) "self", NULL
37573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37590 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37591 PyObject
*resultobj
;
37592 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37593 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 char *kwnames
[] = {
37597 (char *) "self",(char *) "sizer", NULL
37600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 (arg1
)->SetGBSizer(arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 Py_INCREF(Py_None
); resultobj
= Py_None
;
37619 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37622 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37624 return Py_BuildValue((char *)"");
37626 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37627 PyObject
*resultobj
;
37628 int arg1
= (int) 0 ;
37629 int arg2
= (int) 0 ;
37630 wxGridBagSizer
*result
;
37631 PyObject
* obj0
= 0 ;
37632 PyObject
* obj1
= 0 ;
37633 char *kwnames
[] = {
37634 (char *) "vgap",(char *) "hgap", NULL
37637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37639 arg1
= (int) SWIG_AsInt(obj0
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37643 arg2
= (int) SWIG_AsInt(obj1
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37660 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37663 PyObject
*arg2
= (PyObject
*) 0 ;
37664 wxGBPosition
*arg3
= 0 ;
37665 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37666 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37667 int arg5
= (int) 0 ;
37668 int arg6
= (int) 0 ;
37669 PyObject
*arg7
= (PyObject
*) NULL
;
37671 wxGBPosition temp3
;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 PyObject
* obj2
= 0 ;
37676 PyObject
* obj3
= 0 ;
37677 PyObject
* obj4
= 0 ;
37678 PyObject
* obj5
= 0 ;
37679 PyObject
* obj6
= 0 ;
37680 char *kwnames
[] = {
37681 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37690 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37695 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37699 arg5
= (int) SWIG_AsInt(obj4
);
37700 if (PyErr_Occurred()) SWIG_fail
;
37703 arg6
= (int) SWIG_AsInt(obj5
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37711 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37725 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37726 PyObject
*resultobj
;
37727 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37728 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37730 PyObject
* obj0
= 0 ;
37731 PyObject
* obj1
= 0 ;
37732 char *kwnames
[] = {
37733 (char *) "self",(char *) "item", NULL
37736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 result
= (bool)(arg1
)->Add(arg2
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37757 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37758 PyObject
*resultobj
;
37759 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37761 PyObject
* obj0
= 0 ;
37762 char *kwnames
[] = {
37763 (char *) "self", NULL
37766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37771 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37773 wxPyEndAllowThreads(__tstate
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37777 wxSize
* resultptr
;
37778 resultptr
= new wxSize((wxSize
&) result
);
37779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37787 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37788 PyObject
*resultobj
;
37789 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37792 PyObject
* obj0
= 0 ;
37793 PyObject
* obj1
= 0 ;
37794 char *kwnames
[] = {
37795 (char *) "self",(char *) "sz", NULL
37798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 Py_INCREF(Py_None
); resultobj
= Py_None
;
37819 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37820 PyObject
*resultobj
;
37821 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37822 wxWindow
*arg2
= (wxWindow
*) 0 ;
37823 wxGBPosition result
;
37824 PyObject
* obj0
= 0 ;
37825 PyObject
* obj1
= 0 ;
37827 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 result
= (arg1
)->GetItemPosition(arg2
);
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37840 wxGBPosition
* resultptr
;
37841 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37850 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37851 PyObject
*resultobj
;
37852 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37853 wxSizer
*arg2
= (wxSizer
*) 0 ;
37854 wxGBPosition result
;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37858 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37865 result
= (arg1
)->GetItemPosition(arg2
);
37867 wxPyEndAllowThreads(__tstate
);
37868 if (PyErr_Occurred()) SWIG_fail
;
37871 wxGBPosition
* resultptr
;
37872 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37881 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37882 PyObject
*resultobj
;
37883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37885 wxGBPosition result
;
37886 PyObject
* obj0
= 0 ;
37887 PyObject
* obj1
= 0 ;
37889 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37892 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 result
= (arg1
)->GetItemPosition(arg2
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37902 wxGBPosition
* resultptr
;
37903 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37912 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37917 argc
= PyObject_Length(args
);
37918 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37919 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37935 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37943 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37969 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37977 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37985 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37987 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37992 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37997 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37998 PyObject
*resultobj
;
37999 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38000 wxWindow
*arg2
= (wxWindow
*) 0 ;
38001 wxGBPosition
*arg3
= 0 ;
38003 wxGBPosition temp3
;
38004 PyObject
* obj0
= 0 ;
38005 PyObject
* obj1
= 0 ;
38006 PyObject
* obj2
= 0 ;
38008 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38015 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38019 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38033 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38034 PyObject
*resultobj
;
38035 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38036 wxSizer
*arg2
= (wxSizer
*) 0 ;
38037 wxGBPosition
*arg3
= 0 ;
38039 wxGBPosition temp3
;
38040 PyObject
* obj0
= 0 ;
38041 PyObject
* obj1
= 0 ;
38042 PyObject
* obj2
= 0 ;
38044 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38051 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38069 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38070 PyObject
*resultobj
;
38071 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38073 wxGBPosition
*arg3
= 0 ;
38075 wxGBPosition temp3
;
38076 PyObject
* obj0
= 0 ;
38077 PyObject
* obj1
= 0 ;
38078 PyObject
* obj2
= 0 ;
38080 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38083 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38087 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38093 wxPyEndAllowThreads(__tstate
);
38094 if (PyErr_Occurred()) SWIG_fail
;
38097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38105 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38110 argc
= PyObject_Length(args
);
38111 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38112 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38128 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38137 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38140 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38159 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38168 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38171 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38180 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38188 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38191 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38194 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38200 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38205 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38206 PyObject
*resultobj
;
38207 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38208 wxWindow
*arg2
= (wxWindow
*) 0 ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38213 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38220 result
= (arg1
)->GetItemSpan(arg2
);
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38226 wxGBSpan
* resultptr
;
38227 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38236 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38237 PyObject
*resultobj
;
38238 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38239 wxSizer
*arg2
= (wxSizer
*) 0 ;
38241 PyObject
* obj0
= 0 ;
38242 PyObject
* obj1
= 0 ;
38244 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38251 result
= (arg1
)->GetItemSpan(arg2
);
38253 wxPyEndAllowThreads(__tstate
);
38254 if (PyErr_Occurred()) SWIG_fail
;
38257 wxGBSpan
* resultptr
;
38258 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38267 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38268 PyObject
*resultobj
;
38269 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38272 PyObject
* obj0
= 0 ;
38273 PyObject
* obj1
= 0 ;
38275 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38278 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38282 result
= (arg1
)->GetItemSpan(arg2
);
38284 wxPyEndAllowThreads(__tstate
);
38285 if (PyErr_Occurred()) SWIG_fail
;
38288 wxGBSpan
* resultptr
;
38289 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38298 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38303 argc
= PyObject_Length(args
);
38304 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38305 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38311 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38321 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38329 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38337 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38347 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38355 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38363 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38371 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38373 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38378 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38383 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38384 PyObject
*resultobj
;
38385 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38386 wxWindow
*arg2
= (wxWindow
*) 0 ;
38387 wxGBSpan
*arg3
= 0 ;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 PyObject
* obj2
= 0 ;
38394 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38401 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38405 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38407 wxPyEndAllowThreads(__tstate
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38419 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38420 PyObject
*resultobj
;
38421 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38422 wxSizer
*arg2
= (wxSizer
*) 0 ;
38423 wxGBSpan
*arg3
= 0 ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 PyObject
* obj2
= 0 ;
38430 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38437 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38443 wxPyEndAllowThreads(__tstate
);
38444 if (PyErr_Occurred()) SWIG_fail
;
38447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38455 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38456 PyObject
*resultobj
;
38457 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38459 wxGBSpan
*arg3
= 0 ;
38462 PyObject
* obj0
= 0 ;
38463 PyObject
* obj1
= 0 ;
38464 PyObject
* obj2
= 0 ;
38466 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38469 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38470 if (PyErr_Occurred()) SWIG_fail
;
38473 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38477 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38491 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38496 argc
= PyObject_Length(args
);
38497 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38498 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38514 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38523 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38526 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38535 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38545 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38554 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38557 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38566 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38574 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38577 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38580 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38586 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38591 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38592 PyObject
*resultobj
;
38593 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38594 wxWindow
*arg2
= (wxWindow
*) 0 ;
38595 wxGBSizerItem
*result
;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38599 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38618 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38619 PyObject
*resultobj
;
38620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38621 wxSizer
*arg2
= (wxSizer
*) 0 ;
38622 wxGBSizerItem
*result
;
38623 PyObject
* obj0
= 0 ;
38624 PyObject
* obj1
= 0 ;
38626 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38633 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38635 wxPyEndAllowThreads(__tstate
);
38636 if (PyErr_Occurred()) SWIG_fail
;
38638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38645 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38650 argc
= PyObject_Length(args
);
38651 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38652 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38658 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38668 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38676 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38684 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38694 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38702 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38707 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38712 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38713 PyObject
*resultobj
;
38714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38715 wxGBPosition
*arg2
= 0 ;
38716 wxGBSizerItem
*result
;
38717 wxGBPosition temp2
;
38718 PyObject
* obj0
= 0 ;
38719 PyObject
* obj1
= 0 ;
38720 char *kwnames
[] = {
38721 (char *) "self",(char *) "pos", NULL
38724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38729 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38735 wxPyEndAllowThreads(__tstate
);
38736 if (PyErr_Occurred()) SWIG_fail
;
38738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38745 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38746 PyObject
*resultobj
;
38747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38748 wxPoint
*arg2
= 0 ;
38749 wxGBSizerItem
*result
;
38751 PyObject
* obj0
= 0 ;
38752 PyObject
* obj1
= 0 ;
38753 char *kwnames
[] = {
38754 (char *) "self",(char *) "pt", NULL
38757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38778 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38779 PyObject
*resultobj
;
38780 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38781 wxObject
*arg2
= (wxObject
*) 0 ;
38782 wxGBSizerItem
*result
;
38783 PyObject
* obj0
= 0 ;
38784 PyObject
* obj1
= 0 ;
38785 char *kwnames
[] = {
38786 (char *) "self",(char *) "userData", NULL
38789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38796 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38808 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38809 PyObject
*resultobj
;
38810 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38811 PyObject
* obj0
= 0 ;
38812 char *kwnames
[] = {
38813 (char *) "self", NULL
38816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38821 (arg1
)->RecalcSizes();
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38826 Py_INCREF(Py_None
); resultobj
= Py_None
;
38833 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38834 PyObject
*resultobj
;
38835 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38837 PyObject
* obj0
= 0 ;
38838 char *kwnames
[] = {
38839 (char *) "self", NULL
38842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38847 result
= (arg1
)->CalcMin();
38849 wxPyEndAllowThreads(__tstate
);
38850 if (PyErr_Occurred()) SWIG_fail
;
38853 wxSize
* resultptr
;
38854 resultptr
= new wxSize((wxSize
&) result
);
38855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38863 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38864 PyObject
*resultobj
;
38865 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38866 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38867 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38869 PyObject
* obj0
= 0 ;
38870 PyObject
* obj1
= 0 ;
38871 PyObject
* obj2
= 0 ;
38873 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38879 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38898 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38899 PyObject
*resultobj
;
38900 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38901 wxGBPosition
*arg2
= 0 ;
38902 wxGBSpan
*arg3
= 0 ;
38903 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38905 wxGBPosition temp2
;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 PyObject
* obj2
= 0 ;
38910 PyObject
* obj3
= 0 ;
38912 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38917 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38921 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38924 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38929 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38943 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38948 argc
= PyObject_Length(args
);
38949 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38950 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38952 if ((argc
>= 2) && (argc
<= 3)) {
38956 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38966 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38975 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38979 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38987 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38992 if ((argc
>= 3) && (argc
<= 4)) {
38996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39005 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39009 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39013 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39017 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39025 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39032 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39037 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39040 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39042 return Py_BuildValue((char *)"");
39044 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39045 PyObject
*resultobj
;
39046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39048 wxWindow
*arg3
= (wxWindow
*) 0 ;
39050 int arg5
= (int) 0 ;
39051 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39052 PyObject
* obj0
= 0 ;
39053 PyObject
* obj1
= 0 ;
39054 PyObject
* obj2
= 0 ;
39055 PyObject
* obj3
= 0 ;
39056 PyObject
* obj4
= 0 ;
39057 PyObject
* obj5
= 0 ;
39058 char *kwnames
[] = {
39059 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39065 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39069 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39070 if (PyErr_Occurred()) SWIG_fail
;
39072 arg5
= (int) SWIG_AsInt(obj4
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39076 arg6
= (int) SWIG_AsInt(obj5
);
39077 if (PyErr_Occurred()) SWIG_fail
;
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39081 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39083 wxPyEndAllowThreads(__tstate
);
39084 if (PyErr_Occurred()) SWIG_fail
;
39086 Py_INCREF(Py_None
); resultobj
= Py_None
;
39093 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39094 PyObject
*resultobj
;
39095 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39096 wxWindow
*arg2
= (wxWindow
*) 0 ;
39097 int arg3
= (int) 0 ;
39098 PyObject
* obj0
= 0 ;
39099 PyObject
* obj1
= 0 ;
39100 PyObject
* obj2
= 0 ;
39101 char *kwnames
[] = {
39102 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39111 arg3
= (int) SWIG_AsInt(obj2
);
39112 if (PyErr_Occurred()) SWIG_fail
;
39115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39116 (arg1
)->LeftOf(arg2
,arg3
);
39118 wxPyEndAllowThreads(__tstate
);
39119 if (PyErr_Occurred()) SWIG_fail
;
39121 Py_INCREF(Py_None
); resultobj
= Py_None
;
39128 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39129 PyObject
*resultobj
;
39130 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39131 wxWindow
*arg2
= (wxWindow
*) 0 ;
39132 int arg3
= (int) 0 ;
39133 PyObject
* obj0
= 0 ;
39134 PyObject
* obj1
= 0 ;
39135 PyObject
* obj2
= 0 ;
39136 char *kwnames
[] = {
39137 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39146 arg3
= (int) SWIG_AsInt(obj2
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 (arg1
)->RightOf(arg2
,arg3
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 Py_INCREF(Py_None
); resultobj
= Py_None
;
39163 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39166 wxWindow
*arg2
= (wxWindow
*) 0 ;
39167 int arg3
= (int) 0 ;
39168 PyObject
* obj0
= 0 ;
39169 PyObject
* obj1
= 0 ;
39170 PyObject
* obj2
= 0 ;
39171 char *kwnames
[] = {
39172 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39181 arg3
= (int) SWIG_AsInt(obj2
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39186 (arg1
)->Above(arg2
,arg3
);
39188 wxPyEndAllowThreads(__tstate
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39191 Py_INCREF(Py_None
); resultobj
= Py_None
;
39198 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39199 PyObject
*resultobj
;
39200 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39201 wxWindow
*arg2
= (wxWindow
*) 0 ;
39202 int arg3
= (int) 0 ;
39203 PyObject
* obj0
= 0 ;
39204 PyObject
* obj1
= 0 ;
39205 PyObject
* obj2
= 0 ;
39206 char *kwnames
[] = {
39207 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39216 arg3
= (int) SWIG_AsInt(obj2
);
39217 if (PyErr_Occurred()) SWIG_fail
;
39220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39221 (arg1
)->Below(arg2
,arg3
);
39223 wxPyEndAllowThreads(__tstate
);
39224 if (PyErr_Occurred()) SWIG_fail
;
39226 Py_INCREF(Py_None
); resultobj
= Py_None
;
39233 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39234 PyObject
*resultobj
;
39235 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39236 wxWindow
*arg2
= (wxWindow
*) 0 ;
39238 int arg4
= (int) 0 ;
39239 PyObject
* obj0
= 0 ;
39240 PyObject
* obj1
= 0 ;
39241 PyObject
* obj2
= 0 ;
39242 PyObject
* obj3
= 0 ;
39243 char *kwnames
[] = {
39244 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39252 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 arg4
= (int) SWIG_AsInt(obj3
);
39256 if (PyErr_Occurred()) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 Py_INCREF(Py_None
); resultobj
= Py_None
;
39272 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
;
39274 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39275 wxWindow
*arg2
= (wxWindow
*) 0 ;
39278 PyObject
* obj0
= 0 ;
39279 PyObject
* obj1
= 0 ;
39280 PyObject
* obj2
= 0 ;
39281 PyObject
* obj3
= 0 ;
39282 char *kwnames
[] = {
39283 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39291 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39292 if (PyErr_Occurred()) SWIG_fail
;
39293 arg4
= (int) SWIG_AsInt(obj3
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39302 Py_INCREF(Py_None
); resultobj
= Py_None
;
39309 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39310 PyObject
*resultobj
;
39311 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39313 PyObject
* obj0
= 0 ;
39314 PyObject
* obj1
= 0 ;
39315 char *kwnames
[] = {
39316 (char *) "self",(char *) "val", NULL
39319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39322 arg2
= (int) SWIG_AsInt(obj1
);
39323 if (PyErr_Occurred()) SWIG_fail
;
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 (arg1
)->Absolute(arg2
);
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39331 Py_INCREF(Py_None
); resultobj
= Py_None
;
39338 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39339 PyObject
*resultobj
;
39340 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39341 PyObject
* obj0
= 0 ;
39342 char *kwnames
[] = {
39343 (char *) "self", NULL
39346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 (arg1
)->Unconstrained();
39353 wxPyEndAllowThreads(__tstate
);
39354 if (PyErr_Occurred()) SWIG_fail
;
39356 Py_INCREF(Py_None
); resultobj
= Py_None
;
39363 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39364 PyObject
*resultobj
;
39365 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39366 PyObject
* obj0
= 0 ;
39367 char *kwnames
[] = {
39368 (char *) "self", NULL
39371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 wxPyEndAllowThreads(__tstate
);
39379 if (PyErr_Occurred()) SWIG_fail
;
39381 Py_INCREF(Py_None
); resultobj
= Py_None
;
39388 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39389 PyObject
*resultobj
;
39390 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39392 PyObject
* obj0
= 0 ;
39393 char *kwnames
[] = {
39394 (char *) "self", NULL
39397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39404 wxPyEndAllowThreads(__tstate
);
39405 if (PyErr_Occurred()) SWIG_fail
;
39408 resultobj
= wxPyMake_wxObject(result
);
39416 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39417 PyObject
*resultobj
;
39418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39420 PyObject
* obj0
= 0 ;
39421 char *kwnames
[] = {
39422 (char *) "self", NULL
39425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39430 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39432 wxPyEndAllowThreads(__tstate
);
39433 if (PyErr_Occurred()) SWIG_fail
;
39435 resultobj
= SWIG_FromInt((int)result
);
39442 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39443 PyObject
*resultobj
;
39444 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39446 PyObject
* obj0
= 0 ;
39447 PyObject
* obj1
= 0 ;
39448 char *kwnames
[] = {
39449 (char *) "self",(char *) "which", NULL
39452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39455 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39456 if (PyErr_Occurred()) SWIG_fail
;
39458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39459 (arg1
)->SetEdge((wxEdge
)arg2
);
39461 wxPyEndAllowThreads(__tstate
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 Py_INCREF(Py_None
); resultobj
= Py_None
;
39471 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
;
39473 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39475 PyObject
* obj0
= 0 ;
39476 PyObject
* obj1
= 0 ;
39477 char *kwnames
[] = {
39478 (char *) "self",(char *) "v", NULL
39481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39484 arg2
= (int) SWIG_AsInt(obj1
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39488 (arg1
)->SetValue(arg2
);
39490 wxPyEndAllowThreads(__tstate
);
39491 if (PyErr_Occurred()) SWIG_fail
;
39493 Py_INCREF(Py_None
); resultobj
= Py_None
;
39500 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39501 PyObject
*resultobj
;
39502 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39504 PyObject
* obj0
= 0 ;
39505 char *kwnames
[] = {
39506 (char *) "self", NULL
39509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 result
= (int)(arg1
)->GetMargin();
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 resultobj
= SWIG_FromInt((int)result
);
39526 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39527 PyObject
*resultobj
;
39528 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39530 PyObject
* obj0
= 0 ;
39531 PyObject
* obj1
= 0 ;
39532 char *kwnames
[] = {
39533 (char *) "self",(char *) "m", NULL
39536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39539 arg2
= (int) SWIG_AsInt(obj1
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 (arg1
)->SetMargin(arg2
);
39545 wxPyEndAllowThreads(__tstate
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39548 Py_INCREF(Py_None
); resultobj
= Py_None
;
39555 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39556 PyObject
*resultobj
;
39557 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39559 PyObject
* obj0
= 0 ;
39560 char *kwnames
[] = {
39561 (char *) "self", NULL
39564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39569 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39571 wxPyEndAllowThreads(__tstate
);
39572 if (PyErr_Occurred()) SWIG_fail
;
39574 resultobj
= SWIG_FromInt((int)result
);
39581 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39582 PyObject
*resultobj
;
39583 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39585 PyObject
* obj0
= 0 ;
39586 char *kwnames
[] = {
39587 (char *) "self", NULL
39590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39595 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39597 wxPyEndAllowThreads(__tstate
);
39598 if (PyErr_Occurred()) SWIG_fail
;
39600 resultobj
= SWIG_FromInt((int)result
);
39607 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39608 PyObject
*resultobj
;
39609 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39611 PyObject
* obj0
= 0 ;
39612 char *kwnames
[] = {
39613 (char *) "self", NULL
39616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39621 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39623 wxPyEndAllowThreads(__tstate
);
39624 if (PyErr_Occurred()) SWIG_fail
;
39626 resultobj
= SWIG_FromInt((int)result
);
39633 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39634 PyObject
*resultobj
;
39635 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39637 PyObject
* obj0
= 0 ;
39638 char *kwnames
[] = {
39639 (char *) "self", NULL
39642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39647 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39649 wxPyEndAllowThreads(__tstate
);
39650 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39661 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
;
39663 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39665 PyObject
* obj0
= 0 ;
39666 PyObject
* obj1
= 0 ;
39667 char *kwnames
[] = {
39668 (char *) "self",(char *) "d", NULL
39671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39674 arg2
= (bool) SWIG_AsBool(obj1
);
39675 if (PyErr_Occurred()) SWIG_fail
;
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 (arg1
)->SetDone(arg2
);
39680 wxPyEndAllowThreads(__tstate
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39683 Py_INCREF(Py_None
); resultobj
= Py_None
;
39690 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39691 PyObject
*resultobj
;
39692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39694 PyObject
* obj0
= 0 ;
39695 char *kwnames
[] = {
39696 (char *) "self", NULL
39699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 result
= (int)(arg1
)->GetRelationship();
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_FromInt((int)result
);
39716 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39717 PyObject
*resultobj
;
39718 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39720 PyObject
* obj0
= 0 ;
39721 PyObject
* obj1
= 0 ;
39722 char *kwnames
[] = {
39723 (char *) "self",(char *) "r", NULL
39726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39729 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39733 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39738 Py_INCREF(Py_None
); resultobj
= Py_None
;
39745 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39746 PyObject
*resultobj
;
39747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39748 wxWindow
*arg2
= (wxWindow
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 char *kwnames
[] = {
39753 (char *) "self",(char *) "otherW", NULL
39756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39765 wxPyEndAllowThreads(__tstate
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39777 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39778 PyObject
*resultobj
;
39779 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39780 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39781 wxWindow
*arg3
= (wxWindow
*) 0 ;
39783 PyObject
* obj0
= 0 ;
39784 PyObject
* obj1
= 0 ;
39785 PyObject
* obj2
= 0 ;
39786 char *kwnames
[] = {
39787 (char *) "self",(char *) "constraints",(char *) "win", NULL
39790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39795 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39799 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39801 wxPyEndAllowThreads(__tstate
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39813 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39814 PyObject
*resultobj
;
39815 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39817 wxWindow
*arg3
= (wxWindow
*) 0 ;
39818 wxWindow
*arg4
= (wxWindow
*) 0 ;
39820 PyObject
* obj0
= 0 ;
39821 PyObject
* obj1
= 0 ;
39822 PyObject
* obj2
= 0 ;
39823 PyObject
* obj3
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39831 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39835 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 resultobj
= SWIG_FromInt((int)result
);
39851 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39854 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39856 return Py_BuildValue((char *)"");
39858 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
;
39860 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39861 wxIndividualLayoutConstraint
*result
;
39862 PyObject
* obj0
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39870 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39879 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
;
39881 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39882 wxIndividualLayoutConstraint
*result
;
39883 PyObject
* obj0
= 0 ;
39884 char *kwnames
[] = {
39885 (char *) "self", NULL
39888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39891 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39900 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39901 PyObject
*resultobj
;
39902 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39903 wxIndividualLayoutConstraint
*result
;
39904 PyObject
* obj0
= 0 ;
39905 char *kwnames
[] = {
39906 (char *) "self", NULL
39909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39912 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39921 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39922 PyObject
*resultobj
;
39923 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39924 wxIndividualLayoutConstraint
*result
;
39925 PyObject
* obj0
= 0 ;
39926 char *kwnames
[] = {
39927 (char *) "self", NULL
39930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39933 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39942 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39943 PyObject
*resultobj
;
39944 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39945 wxIndividualLayoutConstraint
*result
;
39946 PyObject
* obj0
= 0 ;
39947 char *kwnames
[] = {
39948 (char *) "self", NULL
39951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39954 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39963 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39964 PyObject
*resultobj
;
39965 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39966 wxIndividualLayoutConstraint
*result
;
39967 PyObject
* obj0
= 0 ;
39968 char *kwnames
[] = {
39969 (char *) "self", NULL
39972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39975 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39984 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39985 PyObject
*resultobj
;
39986 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39987 wxIndividualLayoutConstraint
*result
;
39988 PyObject
* obj0
= 0 ;
39989 char *kwnames
[] = {
39990 (char *) "self", NULL
39993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39996 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40005 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40006 PyObject
*resultobj
;
40007 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40008 wxIndividualLayoutConstraint
*result
;
40009 PyObject
* obj0
= 0 ;
40010 char *kwnames
[] = {
40011 (char *) "self", NULL
40014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40017 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40026 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40027 PyObject
*resultobj
;
40028 wxLayoutConstraints
*result
;
40029 char *kwnames
[] = {
40033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40036 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40038 wxPyEndAllowThreads(__tstate
);
40039 if (PyErr_Occurred()) SWIG_fail
;
40041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40048 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40049 PyObject
*resultobj
;
40050 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40051 wxWindow
*arg2
= (wxWindow
*) 0 ;
40052 int *arg3
= (int *) 0 ;
40055 PyObject
* obj0
= 0 ;
40056 PyObject
* obj1
= 0 ;
40057 char *kwnames
[] = {
40058 (char *) "self",(char *) "win", NULL
40062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40078 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40079 resultobj
= t_output_helper(resultobj
,o
);
40087 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 char *kwnames
[] = {
40093 (char *) "self", NULL
40096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40103 wxPyEndAllowThreads(__tstate
);
40104 if (PyErr_Occurred()) SWIG_fail
;
40107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40115 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40118 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40120 return Py_BuildValue((char *)"");
40122 static PyMethodDef SwigMethods
[] = {
40123 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40124 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40125 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40128 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40149 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40162 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40177 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40228 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40256 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40274 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40276 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40284 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40285 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40297 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40308 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40313 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40319 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40329 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40339 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40343 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40414 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40417 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40419 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40421 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40423 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40425 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40427 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40429 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40431 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40433 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40435 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40437 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40451 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40469 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40472 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40475 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40487 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40492 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40498 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40504 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40566 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40573 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40608 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40618 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40628 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40630 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40632 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40635 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40639 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40642 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40645 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40647 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40652 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40660 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40664 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40667 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40669 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40673 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40690 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40692 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40697 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40701 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40705 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40713 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40716 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40719 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40723 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40730 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40735 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40740 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40784 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40799 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40803 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40813 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40862 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40863 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40970 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41008 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41022 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41025 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41080 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41107 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41137 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41145 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41162 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41163 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41198 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41227 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41230 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41236 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41241 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41253 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41267 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41277 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41287 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41296 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41300 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41306 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41307 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41308 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41309 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41310 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41316 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41317 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41344 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41360 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41362 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41363 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41365 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41366 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41368 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41369 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41371 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41372 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41374 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41375 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41377 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41378 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41380 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41381 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41383 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41384 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41386 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41389 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41390 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41392 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41393 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41395 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41396 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41398 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41399 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41401 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41402 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41404 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41405 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41407 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41408 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41410 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41411 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41413 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41416 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41417 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41419 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41422 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41423 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41425 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41426 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41428 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41429 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41431 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41432 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41434 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41435 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41437 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41438 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41440 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41441 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41443 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41444 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41446 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41447 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41449 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41450 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41452 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41453 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41455 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41458 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41461 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41464 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41467 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41470 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41473 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41474 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41476 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41477 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41479 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41480 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41482 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41483 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41485 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41486 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41488 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41489 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41491 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41492 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41494 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41495 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41497 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41498 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41500 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41501 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41503 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41504 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41506 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41509 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41510 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41512 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41515 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41516 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41518 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41519 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41521 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41522 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41524 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41527 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41528 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41530 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41531 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41533 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41534 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41536 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41537 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41539 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41540 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41542 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41543 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41545 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41546 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41548 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41549 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41551 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41552 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41554 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41555 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41557 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41558 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41560 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41561 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41563 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41564 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41566 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41567 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41569 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41570 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41572 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41573 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41575 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41576 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41578 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41579 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41581 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41582 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41584 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41585 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41587 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41588 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41590 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41591 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41593 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41594 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41596 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41597 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41599 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41602 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41603 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41605 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41606 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41608 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41609 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41611 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41614 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41617 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41620 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41621 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41623 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41624 return (void *)((wxObject
*) ((wxSizer
*) x
));
41626 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41627 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41630 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41632 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41636 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41638 static void *_p_wxImageTo_p_wxObject(void *x
) {
41639 return (void *)((wxObject
*) ((wxImage
*) x
));
41641 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41644 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41647 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41648 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41650 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41653 static void *_p_wxControlTo_p_wxObject(void *x
) {
41654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41656 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41657 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41659 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41660 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41662 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41665 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41668 static void *_p_wxEventTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) ((wxEvent
*) x
));
41671 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41674 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41677 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41680 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41683 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41686 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41692 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41695 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41698 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41701 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41704 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41707 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41710 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41713 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41716 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41719 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41722 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41725 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41728 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41731 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41734 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41737 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41740 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41743 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41746 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41749 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41752 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41755 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41758 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41761 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41764 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41767 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41770 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41773 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41776 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41779 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41782 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41785 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41788 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41791 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41794 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41797 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41800 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41803 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41806 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41809 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41812 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41813 return (void *)((wxWindow
*) ((wxControl
*) x
));
41815 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41816 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41818 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41819 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41821 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41822 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41824 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41825 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41827 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41828 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41830 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41831 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41833 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41834 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41836 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41837 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41839 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41840 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41842 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41843 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41845 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41846 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41848 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}};
41849 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}};
41850 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}};
41851 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}};
41852 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}};
41853 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}};
41854 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}};
41855 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}};
41856 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}};
41857 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}};
41858 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}};
41859 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}};
41860 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}};
41861 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}};
41862 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}};
41863 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}};
41864 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}};
41865 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}};
41866 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}};
41867 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}};
41868 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}};
41869 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}};
41870 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}};
41871 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}};
41872 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}};
41873 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}};
41874 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}};
41875 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}};
41876 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}};
41877 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}};
41878 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}};
41879 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}};
41880 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}};
41881 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}};
41882 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}};
41883 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}};
41884 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}};
41885 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}};
41886 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}};
41887 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}};
41888 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}};
41889 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}};
41890 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}};
41891 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}};
41892 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}};
41893 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}};
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41964 static swig_type_info
*swig_types_initial
[] = {
41965 _swigt__p_wxLayoutConstraints
,
41966 _swigt__p_wxRealPoint
,
41967 _swigt__p_wxSizerItem
,
41968 _swigt__p_wxGBSizerItem
,
41969 _swigt__p_wxScrollEvent
,
41970 _swigt__p_wxIndividualLayoutConstraint
,
41972 _swigt__p_wxBoxSizer
,
41973 _swigt__p_wxStaticBoxSizer
,
41974 _swigt__p_wxGridBagSizer
,
41975 _swigt__p_wxAcceleratorEntry
,
41976 _swigt__p_wxUpdateUIEvent
,
41979 _swigt__p_wxGridSizer
,
41980 _swigt__p_wxFlexGridSizer
,
41981 _swigt__p_wxInitDialogEvent
,
41982 _swigt__p_wxItemContainer
,
41983 _swigt__p_wxNcPaintEvent
,
41984 _swigt__p_wxPaintEvent
,
41985 _swigt__p_wxSysColourChangedEvent
,
41986 _swigt__p_wxMouseCaptureChangedEvent
,
41987 _swigt__p_wxDisplayChangedEvent
,
41988 _swigt__p_wxPaletteChangedEvent
,
41989 _swigt__p_wxControl
,
41991 _swigt__p_wxMenuBarBase
,
41992 _swigt__p_wxSetCursorEvent
,
41993 _swigt__p_wxFSFile
,
41995 _swigt__p_wxRegion
,
41996 _swigt__p_wxPoint2D
,
42000 _swigt__p_wxPySizer
,
42001 _swigt__p_wxVisualAttributes
,
42002 _swigt__p_wxNotifyEvent
,
42003 _swigt__p_wxPyEvent
,
42004 _swigt__p_wxPropagationDisabler
,
42005 _swigt__p_wxAppTraits
,
42006 _swigt__p_wxArrayString
,
42007 _swigt__p_wxShowEvent
,
42008 _swigt__p_wxToolTip
,
42009 _swigt__p_wxMaximizeEvent
,
42010 _swigt__p_wxIconizeEvent
,
42011 _swigt__p_wxActivateEvent
,
42012 _swigt__p_wxMoveEvent
,
42013 _swigt__p_wxSizeEvent
,
42014 _swigt__p_wxQueryNewPaletteEvent
,
42015 _swigt__p_wxWindowCreateEvent
,
42016 _swigt__p_wxIdleEvent
,
42017 _swigt__p_wxMenuItem
,
42018 _swigt__p_wxStaticBox
,
42020 _swigt__p_wxTIFFHandler
,
42021 _swigt__p_wxXPMHandler
,
42022 _swigt__p_wxPNMHandler
,
42023 _swigt__p_wxJPEGHandler
,
42024 _swigt__p_wxPCXHandler
,
42025 _swigt__p_wxGIFHandler
,
42026 _swigt__p_wxPNGHandler
,
42027 _swigt__p_wxANIHandler
,
42028 _swigt__p_wxMemoryFSHandler
,
42029 _swigt__p_wxEvtHandler
,
42030 _swigt__p_wxCURHandler
,
42031 _swigt__p_wxICOHandler
,
42032 _swigt__p_wxBMPHandler
,
42033 _swigt__p_wxImageHandler
,
42034 _swigt__p_wxFileSystemHandler
,
42035 _swigt__p_wxPyFileSystemHandler
,
42036 _swigt__p_wxInternetFSHandler
,
42037 _swigt__p_wxZipFSHandler
,
42039 _swigt__p_wxGBSpan
,
42040 _swigt__p_wxPropagateOnce
,
42041 _swigt__p_wxAcceleratorTable
,
42043 _swigt__p_wxGBPosition
,
42046 _swigt__p_wxScrollWinEvent
,
42047 _swigt__p_wxImageHistogram
,
42050 _swigt__p_wxCursor
,
42051 _swigt__p_wxObject
,
42052 _swigt__p_wxPyInputStream
,
42053 _swigt__p_wxOutputStream
,
42054 _swigt__p_wxInputStream
,
42055 _swigt__p_wxDateTime
,
42056 _swigt__p_wxKeyEvent
,
42057 _swigt__p_wxNavigationKeyEvent
,
42058 _swigt__p_wxWindowDestroyEvent
,
42059 _swigt__p_wxWindow
,
42060 _swigt__p_wxMenuBar
,
42061 _swigt__p_wxFileSystem
,
42062 _swigt__p_wxBitmap
,
42063 _swigt__p_wxMenuEvent
,
42064 _swigt__p_wxContextMenuEvent
,
42065 _swigt__p_unsigned_char
,
42066 _swigt__p_wxCloseEvent
,
42067 _swigt__p_wxEraseEvent
,
42068 _swigt__p_wxMouseEvent
,
42070 _swigt__p_wxCommandEvent
,
42071 _swigt__p_wxPyCommandEvent
,
42072 _swigt__p_wxPyDropTarget
,
42073 _swigt__p_wxChildFocusEvent
,
42074 _swigt__p_wxFocusEvent
,
42075 _swigt__p_wxDropFilesEvent
,
42076 _swigt__p_wxControlWithItems
,
42077 _swigt__p_wxColour
,
42078 _swigt__p_wxValidator
,
42079 _swigt__p_wxPyValidator
,
42084 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42086 static swig_const_info swig_const_table
[] = {
42096 SWIGEXPORT(void) SWIG_init(void) {
42097 static PyObject
*SWIG_globals
= 0;
42098 static int typeinit
= 0;
42101 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42102 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42103 d
= PyModule_GetDict(m
);
42106 for (i
= 0; swig_types_initial
[i
]; i
++) {
42107 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42111 SWIG_InstallConstants(d
,swig_const_table
);
42114 #ifndef wxPyUSE_EXPORT
42115 // Make our API structure a CObject so other modules can import it
42116 // from this module.
42117 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42118 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42122 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42123 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42124 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42125 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42126 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42127 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42128 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42129 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42130 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42131 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42132 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42133 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42134 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42135 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42136 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42137 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42138 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42139 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42140 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42141 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42142 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42143 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42144 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42145 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42146 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42147 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42148 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42149 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42150 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42151 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42152 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42153 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42154 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42155 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42156 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42157 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42158 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42159 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42160 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42161 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42162 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42163 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42164 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42165 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42166 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42167 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42168 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42169 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42170 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42171 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42172 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42173 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42174 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42175 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42176 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42177 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42178 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42179 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42180 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42181 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42182 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42183 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42184 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42185 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42186 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42187 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42188 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42189 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42190 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42191 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42192 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42193 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42194 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42195 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42196 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42197 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42198 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42199 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42200 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42201 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42202 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42203 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42204 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42205 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42206 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42207 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42208 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42209 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42210 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42211 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42212 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42213 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42214 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42215 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42216 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42217 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42218 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42219 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42220 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42221 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42222 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42223 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42224 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42225 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42226 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42227 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42228 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42229 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42230 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42231 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42232 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42233 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42234 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42235 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42236 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42237 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42238 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42239 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42240 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42241 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42242 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42243 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42244 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42245 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42246 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42247 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42248 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42249 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42250 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42251 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42252 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42253 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42254 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42255 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42256 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42257 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42258 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42259 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42260 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42261 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42262 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42263 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42264 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42265 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42266 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42267 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42268 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42269 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42270 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42271 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42272 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42273 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42274 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42275 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42276 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42277 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42278 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42279 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42280 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42281 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42282 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42283 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42284 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42285 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42286 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42287 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42288 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42289 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42290 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42291 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42292 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42293 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42294 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42295 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42296 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42297 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42298 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42299 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42300 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42301 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42302 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42303 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42304 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42305 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42306 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42307 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42308 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42309 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42310 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42311 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42312 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42313 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42314 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42315 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42316 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42317 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42318 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42319 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42320 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42321 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42322 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42323 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42324 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42325 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42326 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42327 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42328 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42329 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42330 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42331 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42332 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42333 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42334 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42335 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42336 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42337 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42338 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42339 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42340 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42341 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42342 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42343 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42344 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42345 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42346 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42347 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42348 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42349 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42350 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42351 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42352 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42353 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42354 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42355 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42356 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42357 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42358 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42359 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42360 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42361 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42362 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42363 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42364 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42365 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42366 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42367 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42368 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42369 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42370 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42371 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42372 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42373 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42374 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42375 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42376 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42377 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42378 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42379 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42380 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42381 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42382 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42383 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42384 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42385 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42386 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42387 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42388 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42389 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42390 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42391 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42392 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42393 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42394 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42395 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42396 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42397 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42398 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42399 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42400 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42401 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42402 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42403 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42404 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42405 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42406 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42407 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42408 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42409 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42410 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42411 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42412 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42413 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42414 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42415 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42416 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42417 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42418 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42419 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42420 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42421 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42422 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42423 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42424 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42425 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42426 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42427 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42428 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42429 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42430 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42431 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42432 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42433 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42434 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42435 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42436 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42437 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42438 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42439 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42440 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42441 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42442 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42443 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42444 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42445 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42446 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42447 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42448 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42449 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42450 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42451 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42452 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42453 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42454 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42455 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42456 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42457 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42458 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42459 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42460 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42461 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42462 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42463 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42464 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42465 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42466 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42467 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42468 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42469 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42470 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42471 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42472 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42473 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42474 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42475 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42476 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42477 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42478 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42479 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42480 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42481 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42482 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42483 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42484 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42485 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42486 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42487 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42488 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42489 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42490 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42491 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42492 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42493 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42494 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42495 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42496 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42497 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42498 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42499 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42500 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42501 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42502 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42503 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42504 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42505 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42506 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42507 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42508 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42509 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42510 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42511 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42512 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42513 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42514 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42517 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42518 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42519 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42520 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42521 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42522 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42523 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42524 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42525 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42526 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42527 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42528 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42529 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42530 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42531 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42532 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42533 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42534 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42535 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42536 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42537 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42538 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42539 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42540 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42541 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42542 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42543 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42544 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42545 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42546 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42547 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42548 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42549 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42550 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42551 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42552 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42553 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42554 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42555 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42556 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42557 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42558 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42559 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42560 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42561 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42562 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42563 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42564 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42565 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42566 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42567 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42568 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42569 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42570 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42571 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42572 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42573 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42574 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42575 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42576 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42577 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42578 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42579 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42580 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42581 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42582 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42583 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42584 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42585 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42586 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42587 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42588 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42589 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42590 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42591 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42592 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42593 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42594 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42595 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42596 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42597 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42598 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42599 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42600 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42601 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42602 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42603 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42604 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42605 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42606 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42607 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42608 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42609 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42610 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42611 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42612 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42613 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42614 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42615 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42616 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42617 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42618 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42619 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42620 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42621 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42622 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42623 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42624 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42625 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42626 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42627 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42628 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42629 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42630 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42631 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42632 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42633 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42634 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42635 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42636 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42637 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42638 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42639 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42640 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42641 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42642 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42643 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42644 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42645 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42646 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42647 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42648 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42649 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42650 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42651 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42652 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42653 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42654 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42655 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42656 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42657 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42658 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42659 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42660 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42661 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42662 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42663 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42664 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42665 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42666 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42667 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42668 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42669 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42670 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42671 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42672 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42673 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42674 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42675 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42676 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42677 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42678 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42679 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42680 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42681 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42682 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42683 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42684 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42685 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42686 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42687 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42688 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42689 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42690 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42691 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42692 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42693 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42694 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42696 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42699 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42701 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42702 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42703 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42704 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42705 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42706 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42707 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42708 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42709 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42710 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42711 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42712 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42713 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42714 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42715 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42716 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42717 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42718 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42719 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42720 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42721 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42722 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42723 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42724 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42725 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42726 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42727 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42728 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42729 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42731 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42732 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42733 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42734 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42735 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42736 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42737 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42738 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42739 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42740 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42741 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42742 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42743 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42744 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42745 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42746 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42747 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42748 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42749 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42750 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42751 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42752 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42753 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42754 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42755 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42756 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42757 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42758 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42759 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42760 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42761 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42762 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42763 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42764 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42765 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42766 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42767 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42768 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42769 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42770 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42771 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42772 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42773 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42774 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42775 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42776 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42777 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42778 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42779 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42780 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42781 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42782 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42783 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42784 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42785 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42786 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42787 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42788 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42789 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42790 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42791 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42792 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42793 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42794 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42795 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42796 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42797 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42798 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42799 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42800 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42801 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42802 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42803 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42804 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42805 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42806 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42807 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42808 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42809 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42810 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42811 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42812 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42813 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42814 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42815 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42816 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42817 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42818 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42819 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42820 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42821 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42822 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42823 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42824 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42825 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42826 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42829 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42830 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42831 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42832 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42833 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42834 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42835 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42836 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42837 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42838 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42839 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42840 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42841 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42842 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42843 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42844 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42845 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42846 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42847 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42848 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42849 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42850 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42851 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42852 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42853 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42854 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42855 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42856 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42857 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42858 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42859 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42860 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42861 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42862 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42863 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42864 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42865 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42866 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42867 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42868 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42869 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42870 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42871 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42872 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42873 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42874 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42875 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42876 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42877 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42878 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42879 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42880 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42882 // Initialize threading, some globals and such
42886 // Although these are defined in __version__ they need to be here too so
42887 // that an assert can be done to ensure that the wxPython and the wxWindows
42889 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42890 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42891 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));