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
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1349 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1350 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1351 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1352 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1353 wxWindowList
& list
= self
->GetChildren();
1354 return wxPy_ConvertList(&list
);
1356 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1358 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1363 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1370 long wxWindow_GetHandle(wxWindow
*self
){
1371 return wxPyGetWinHandle(self
);
1374 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1375 return wxWindow::FindWindowById(id
, parent
);
1378 wxWindow
* wxFindWindowByName( const wxString
& name
,
1379 const wxWindow
*parent
= NULL
) {
1380 return wxWindow::FindWindowByName(name
, parent
);
1383 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1384 const wxWindow
*parent
= NULL
) {
1385 return wxWindow::FindWindowByLabel(label
, parent
);
1390 #include <wx/msw/private.h> // to get wxGetWindowId
1394 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1396 WXHWND hWnd
= (WXHWND
)_hWnd
;
1397 long id
= wxGetWindowId(hWnd
);
1398 wxWindow
* win
= new wxWindow
;
1399 parent
->AddChild(win
);
1400 win
->SetEventHandler(win
);
1403 win
->SubclassWin(hWnd
);
1404 win
->AdoptAttributesFromHWND();
1405 win
->SetupColours();
1408 wxPyRaiseNotImplemented();
1414 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1415 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1418 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1420 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1421 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1422 wxMenuItemList
& list
= self
->GetMenuItems();
1423 return wxPy_ConvertList(&list
);
1425 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1461 SWIG_FloatCast(double value
)
1464 if (!PyErr_Occurred()) {
1465 if (value
< FLT_MIN
) {
1467 PyString_FromFormat("value %g is less than float minimum %g",
1469 PyErr_SetObject(PyExc_OverflowError
, err
);
1471 } else if (value
> FLT_MAX
) {
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1475 PyErr_SetObject(PyExc_OverflowError
, err
);
1478 f
= swig_numeric_cast(float, value
);
1485 SWIGSTATICINLINE(float)
1486 SWIG_AsFloat(PyObject
*obj
)
1488 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1492 SWIGSTATICINLINE(int)
1493 SWIG_CheckFloat(PyObject
* obj
)
1496 if (PyErr_Occurred()) {
1504 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1505 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1507 Py_INCREF(data
->m_obj
);
1515 // Figure out the type of the sizer item
1517 struct wxPySizerItemInfo
{
1519 : window(NULL
), sizer(NULL
), gotSize(False
),
1520 size(wxDefaultSize
), gotPos(False
), pos(-1)
1531 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1533 wxPySizerItemInfo info
;
1535 wxSize
* sizePtr
= &size
;
1537 // Find out what the type of the item is
1539 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1544 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1548 // try wxSize or (w,h)
1549 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1550 info
.size
= *sizePtr
;
1551 info
.gotSize
= True
;
1555 if (checkIdx
&& PyInt_Check(item
)) {
1556 info
.pos
= PyInt_AsLong(item
);
1562 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize
&& checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1578 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1579 self
->SetClientObject(new wxPyOORClientData(_self
));
1581 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1583 wxPyUserData
* data
= NULL
;
1584 bool blocked
= wxPyBeginBlockThreads();
1585 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1586 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1587 data
= new wxPyUserData(userData
);
1588 wxPyEndBlockThreads(blocked
);
1590 // Now call the real Add method if a valid item type was found
1592 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1593 else if ( info
.sizer
)
1594 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1595 else if (info
.gotSize
)
1596 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1597 proportion
, flag
, border
, data
);
1599 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1601 wxPyUserData
* data
= NULL
;
1602 bool blocked
= wxPyBeginBlockThreads();
1603 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1604 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1605 data
= new wxPyUserData(userData
);
1606 wxPyEndBlockThreads(blocked
);
1608 // Now call the real Insert method if a valid item type was found
1610 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1611 else if ( info
.sizer
)
1612 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1613 else if (info
.gotSize
)
1614 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1615 proportion
, flag
, border
, data
);
1617 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1619 wxPyUserData
* data
= NULL
;
1620 bool blocked
= wxPyBeginBlockThreads();
1621 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1622 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1623 data
= new wxPyUserData(userData
);
1624 wxPyEndBlockThreads(blocked
);
1626 // Now call the real Prepend method if a valid item type was found
1628 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1629 else if ( info
.sizer
)
1630 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1631 else if (info
.gotSize
)
1632 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1633 proportion
, flag
, border
, data
);
1635 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1636 bool blocked
= wxPyBeginBlockThreads();
1637 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1638 wxPyEndBlockThreads(blocked
);
1640 return self
->Remove(info
.window
);
1641 else if ( info
.sizer
)
1642 return self
->Remove(info
.sizer
);
1643 else if ( info
.gotPos
)
1644 return self
->Remove(info
.pos
);
1648 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1651 wxPyEndBlockThreads(blocked
);
1653 return self
->Detach(info
.window
);
1654 else if ( info
.sizer
)
1655 return self
->Detach(info
.sizer
);
1656 else if ( info
.gotPos
)
1657 return self
->Detach(info
.pos
);
1661 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1662 bool blocked
= wxPyBeginBlockThreads();
1663 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1664 wxPyEndBlockThreads(blocked
);
1666 self
->SetItemMinSize(info
.window
, size
);
1667 else if ( info
.sizer
)
1668 self
->SetItemMinSize(info
.sizer
, size
);
1669 else if ( info
.gotPos
)
1670 self
->SetItemMinSize(info
.pos
, size
);
1672 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1673 wxSizerItemList
& list
= self
->GetChildren();
1674 return wxPy_ConvertList(&list
);
1676 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1679 wxPyEndBlockThreads(blocked
);
1681 self
->Show(info
.window
, show
);
1682 else if ( info
.sizer
)
1683 self
->Show(info
.sizer
, show
);
1685 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1686 bool blocked
= wxPyBeginBlockThreads();
1687 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1688 wxPyEndBlockThreads(blocked
);
1690 self
->Hide(info
.window
);
1691 else if ( info
.sizer
)
1692 self
->Hide(info
.sizer
);
1694 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1695 bool blocked
= wxPyBeginBlockThreads();
1696 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1697 wxPyEndBlockThreads(blocked
);
1699 return self
->IsShown(info
.window
);
1700 else if ( info
.sizer
)
1701 return self
->IsShown(info
.sizer
);
1707 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1708 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1709 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1714 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1716 if (source
== Py_None
) {
1717 **obj
= wxGBPosition(-1,-1);
1720 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1723 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1725 if (source
== Py_None
) {
1726 **obj
= wxGBSpan(-1,-1);
1729 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1733 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1737 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1738 bool blocked
= wxPyBeginBlockThreads();
1739 PyObject
* tup
= PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1741 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1742 wxPyEndBlockThreads(blocked
);
1745 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1746 self
->SetRowspan(rowspan
);
1747 self
->SetColspan(colspan
);
1749 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1750 bool blocked
= wxPyBeginBlockThreads();
1751 PyObject
* tup
= PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1753 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1754 wxPyEndBlockThreads(blocked
);
1757 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1759 wxPyUserData
* data
= NULL
;
1760 bool blocked
= wxPyBeginBlockThreads();
1761 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1762 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1763 data
= new wxPyUserData(userData
);
1764 wxPyEndBlockThreads(blocked
);
1766 // Now call the real Add method if a valid item type was found
1768 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1769 else if ( info
.sizer
)
1770 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1771 else if (info
.gotSize
)
1772 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1773 pos
, span
, flag
, border
, data
);
1781 static int _wrap_EmptyString_set(PyObject
*_val
) {
1782 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1787 static PyObject
*_wrap_EmptyString_get() {
1792 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1794 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1801 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxObject
*arg1
= (wxObject
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= wxObject_GetClassName(arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1833 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxObject
*arg1
= (wxObject
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxSize
*arg1
= (wxSize
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "x", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1880 if (arg1
) (arg1
)->x
= arg2
;
1882 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxSize
*arg1
= (wxSize
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 result
= (int) ((arg1
)->x
);
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxSize
*arg1
= (wxSize
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1915 PyObject
* obj1
= 0 ;
1917 (char *) "self",(char *) "y", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 arg2
= (int) SWIG_AsInt(obj1
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1925 if (arg1
) (arg1
)->y
= arg2
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxSize
*arg1
= (wxSize
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 result
= (int) ((arg1
)->y
);
1948 resultobj
= SWIG_FromInt((int)result
);
1955 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 int arg1
= (int) 0 ;
1958 int arg2
= (int) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "w",(char *) "h", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 arg1
= (int) SWIG_AsInt(obj0
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 arg2
= (int) SWIG_AsInt(obj1
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1989 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxSize
*arg1
= (wxSize
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "sz", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2049 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxSize
*arg1
= (wxSize
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "sz", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2084 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxSize
*arg1
= (wxSize
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "sz", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 resultptr
= new wxSize((wxSize
&) result
);
2113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2121 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxSize
*arg1
= (wxSize
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2130 (char *) "self",(char *) "sz", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2149 resultptr
= new wxSize((wxSize
&) result
);
2150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2158 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxSize
*arg1
= (wxSize
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2166 (char *) "self",(char *) "sz", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->IncTo((wxSize
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxSize
*arg1
= (wxSize
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "sz", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->DecTo((wxSize
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2229 PyObject
* obj2
= 0 ;
2231 (char *) "self",(char *) "w",(char *) "h", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->Set(arg2
,arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxSize
*arg1
= (wxSize
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "w", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 arg2
= (int) SWIG_AsInt(obj1
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetWidth(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxSize
*arg1
= (wxSize
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2291 (char *) "self",(char *) "h", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 arg2
= (int) SWIG_AsInt(obj1
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->SetHeight(arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= SWIG_FromInt((int)result
);
2339 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= SWIG_FromInt((int)result
);
2365 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "size", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxSize
*arg1
= (wxSize
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "self", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (PyObject
*)wxSize_Get(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2451 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2456 return Py_BuildValue((char *)"");
2458 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "x", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 arg2
= (double) SWIG_AsDouble(obj1
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2473 if (arg1
) (arg1
)->x
= arg2
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 result
= (double) ((arg1
)->x
);
2496 resultobj
= SWIG_FromDouble((double)result
);
2503 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "y", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2516 arg2
= (double) SWIG_AsDouble(obj1
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 if (arg1
) (arg1
)->y
= arg2
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 result
= (double) ((arg1
)->y
);
2541 resultobj
= SWIG_FromDouble((double)result
);
2548 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 double arg1
= (double) 0.0 ;
2551 double arg2
= (double) 0.0 ;
2552 wxRealPoint
*result
;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "x",(char *) "y", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 arg1
= (double) SWIG_AsDouble(obj0
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 arg2
= (double) SWIG_AsDouble(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2582 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 Py_INCREF(Py_None
); resultobj
= Py_None
;
2607 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2610 wxRealPoint
*arg2
= 0 ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "pt", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2642 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2645 wxRealPoint
*arg2
= 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "pt", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2677 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2680 wxRealPoint
*arg2
= 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2686 (char *) "self",(char *) "pt", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 wxRealPoint
* resultptr
;
2705 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2714 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2717 wxRealPoint
*arg2
= 0 ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "self",(char *) "pt", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 wxRealPoint
* resultptr
;
2742 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2751 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (double) SWIG_AsDouble(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2768 arg3
= (double) SWIG_AsDouble(obj2
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1
,arg2
,arg3
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2810 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2815 return Py_BuildValue((char *)"");
2817 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "x", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2830 arg2
= (int) SWIG_AsInt(obj1
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 if (arg1
) (arg1
)->x
= arg2
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxPoint
*arg1
= (wxPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 result
= (int) ((arg1
)->x
);
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPoint
*arg1
= (wxPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2869 (char *) "self",(char *) "y", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 arg2
= (int) SWIG_AsInt(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2877 if (arg1
) (arg1
)->y
= arg2
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxPoint
*arg1
= (wxPoint
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "self", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 result
= (int) ((arg1
)->y
);
2900 resultobj
= SWIG_FromInt((int)result
);
2907 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 int arg1
= (int) 0 ;
2910 int arg2
= (int) 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "x",(char *) "y", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 arg1
= (int) SWIG_AsInt(obj0
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg2
= (int) SWIG_AsInt(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2941 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxPoint
*arg1
= (wxPoint
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "pt", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPoint
*arg1
= (wxPoint
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "pt", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxPoint
*arg1
= (wxPoint
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "pt", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 wxPoint
* resultptr
;
3064 resultptr
= new wxPoint((wxPoint
&) result
);
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3073 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxPoint
*arg1
= (wxPoint
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3082 (char *) "self",(char *) "pt", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 wxPoint
* resultptr
;
3101 resultptr
= new wxPoint((wxPoint
&) result
);
3102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3110 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxPoint
*arg1
= (wxPoint
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3119 (char *) "self",(char *) "pt", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3133 result
= (wxPoint
*) &_result_ref
;
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3146 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPoint
*arg1
= (wxPoint
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3155 (char *) "self",(char *) "pt", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3169 result
= (wxPoint
*) &_result_ref
;
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3182 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 arg2
= (long) SWIG_AsLong(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3199 arg3
= (long) SWIG_AsLong(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1
,arg2
,arg3
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxPoint
*arg1
= (wxPoint
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (PyObject
*)wxPoint_Get(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3241 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3246 return Py_BuildValue((char *)"");
3248 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 int arg1
= (int) 0 ;
3251 int arg2
= (int) 0 ;
3252 int arg3
= (int) 0 ;
3253 int arg4
= (int) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3265 arg1
= (int) SWIG_AsInt(obj0
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 arg2
= (int) SWIG_AsInt(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 arg3
= (int) SWIG_AsInt(obj2
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3277 arg4
= (int) SWIG_AsInt(obj3
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3294 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3310 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3330 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3340 (char *) "pos",(char *) "size", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3366 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxRect
*arg1
= (wxRect
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxRect
*arg1
= (wxRect
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (int)((wxRect
const *)arg1
)->GetX();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_FromInt((int)result
);
3417 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxRect
*arg1
= (wxRect
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "x", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3430 arg2
= (int) SWIG_AsInt(obj1
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)(arg1
)->GetY();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "y", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "w", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetWidth(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "h", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetHeight(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= ((wxRect
const *)arg1
)->GetPosition();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 wxPoint
* resultptr
;
3632 resultptr
= new wxPoint((wxPoint
&) result
);
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3641 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "p", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= ((wxRect
const *)arg1
)->GetSize();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 resultptr
= new wxSize((wxSize
&) result
);
3695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3703 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "s", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetSize((wxSize
const &)*arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 wxPoint
* resultptr
;
3756 resultptr
= new wxPoint((wxPoint
&) result
);
3757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3765 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "p", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxRect
*arg1
= (wxRect
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 wxPoint
* resultptr
;
3818 resultptr
= new wxPoint((wxPoint
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3827 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxRect
*arg1
= (wxRect
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "p", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_FromInt((int)result
);
3885 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (int)((wxRect
const *)arg1
)->GetTop();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_FromInt((int)result
);
3911 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxRect
*arg1
= (wxRect
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "self", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxRect
*arg1
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxRect
const *)arg1
)->GetRight();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "left", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetLeft(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "right", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 arg2
= (int) SWIG_AsInt(obj1
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetRight(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRect
*arg1
= (wxRect
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "top", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (int) SWIG_AsInt(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetTop(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "bottom", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetBottom(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRect
*arg1
= (wxRect
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 PyObject
* obj2
= 0 ;
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4097 arg3
= (int) SWIG_AsInt(obj2
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4103 result
= (wxRect
*) &_result_ref
;
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4116 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRect
*arg1
= (wxRect
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4134 arg3
= (int) SWIG_AsInt(obj2
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4140 result
= (wxRect
*) &_result_ref
;
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4153 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRect
*arg1
= (wxRect
*) 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 PyObject
* obj2
= 0 ;
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (int) SWIG_AsInt(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4170 arg3
= (int) SWIG_AsInt(obj2
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->Offset(arg2
,arg3
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRect
*arg1
= (wxRect
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->Offset((wxPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "rect", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4241 result
= (wxRect
*) &_result_ref
;
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4254 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "rect", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4282 resultptr
= new wxRect((wxRect
&) result
);
4283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4291 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "rect", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4314 result
= (wxRect
*) &_result_ref
;
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4327 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "rect", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4362 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxRect
*arg1
= (wxRect
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "self",(char *) "rect", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4397 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 arg2
= (int) SWIG_AsInt(obj1
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4415 arg3
= (int) SWIG_AsInt(obj2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4433 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxRect
*arg1
= (wxRect
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "pt", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4468 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxRect
*arg1
= (wxRect
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "rect", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "x", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= (int) SWIG_AsInt(obj1
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4518 if (arg1
) (arg1
)->x
= arg2
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 result
= (int) ((arg1
)->x
);
4541 resultobj
= SWIG_FromInt((int)result
);
4548 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "y", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int) SWIG_AsInt(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4563 if (arg1
) (arg1
)->y
= arg2
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxRect
*arg1
= (wxRect
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 result
= (int) ((arg1
)->y
);
4586 resultobj
= SWIG_FromInt((int)result
);
4593 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "width", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 arg2
= (int) SWIG_AsInt(obj1
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4608 if (arg1
) (arg1
)->width
= arg2
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxRect
*arg1
= (wxRect
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 result
= (int) ((arg1
)->width
);
4631 resultobj
= SWIG_FromInt((int)result
);
4638 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "height", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg2
= (int) SWIG_AsInt(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4653 if (arg1
) (arg1
)->height
= arg2
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRect
*arg1
= (wxRect
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 result
= (int) ((arg1
)->height
);
4676 resultobj
= SWIG_FromInt((int)result
);
4683 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxRect
*arg1
= (wxRect
*) 0 ;
4686 int arg2
= (int) 0 ;
4687 int arg3
= (int) 0 ;
4688 int arg4
= (int) 0 ;
4689 int arg5
= (int) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 arg2
= (int) SWIG_AsInt(obj1
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 arg3
= (int) SWIG_AsInt(obj2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 arg4
= (int) SWIG_AsInt(obj3
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 arg5
= (int) SWIG_AsInt(obj4
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (PyObject
*)wxRect_Get(arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4758 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4763 return Py_BuildValue((char *)"");
4765 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4768 wxRect
*arg2
= (wxRect
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "r1",(char *) "r2", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4795 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 double arg1
= (double) 0.0 ;
4798 double arg2
= (double) 0.0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "x",(char *) "y", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 arg1
= (double) SWIG_AsDouble(obj0
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 arg2
= (double) SWIG_AsDouble(obj1
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4829 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxPoint2D
*arg1
= 0 ;
4834 PyObject
* obj0
= 0 ;
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4842 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4858 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4863 PyObject
* obj0
= 0 ;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4871 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4887 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4890 int *arg2
= (int *) 0 ;
4891 int *arg3
= (int *) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4914 resultobj
= t_output_helper(resultobj
,o
);
4917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4918 resultobj
= t_output_helper(resultobj
,o
);
4926 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4929 int *arg2
= (int *) 0 ;
4930 int *arg3
= (int *) 0 ;
4933 PyObject
* obj0
= 0 ;
4935 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4953 resultobj
= t_output_helper(resultobj
,o
);
4956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4957 resultobj
= t_output_helper(resultobj
,o
);
4965 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_FromDouble((double)result
);
4991 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_FromDouble((double)result
);
5017 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "length", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 arg2
= (double) SWIG_AsDouble(obj1
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 (arg1
)->SetVectorLength(arg2
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "degrees", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (double) SWIG_AsDouble(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 (arg1
)->SetVectorAngle(arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 Py_INCREF(Py_None
); resultobj
= Py_None
;
5075 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5078 wxPoint2D
*arg2
= 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "pt", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_FromDouble((double)result
);
5108 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5111 wxPoint2D
*arg2
= 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "pt", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_FromDouble((double)result
);
5141 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5144 wxPoint2D
*arg2
= 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "vec", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_FromDouble((double)result
);
5174 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5177 wxPoint2D
*arg2
= 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "vec", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_FromDouble((double)result
);
5207 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (arg1
)->operator -();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 wxPoint2D
* resultptr
;
5228 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5237 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5240 wxPoint2D
*arg2
= 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "pt", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5254 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5260 result
= (wxPoint2D
*) &_result_ref
;
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5273 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5276 wxPoint2D
*arg2
= 0 ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5282 (char *) "self",(char *) "pt", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5296 result
= (wxPoint2D
*) &_result_ref
;
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5309 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5312 wxPoint2D
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "pt", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5332 result
= (wxPoint2D
*) &_result_ref
;
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5345 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5348 wxPoint2D
*arg2
= 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5354 (char *) "self",(char *) "pt", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5368 result
= (wxPoint2D
*) &_result_ref
;
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5381 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5384 wxPoint2D
*arg2
= 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "pt", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5416 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5419 wxPoint2D
*arg2
= 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "pt", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5451 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "m_x", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (double) SWIG_AsDouble(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5466 if (arg1
) (arg1
)->m_x
= arg2
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 result
= (double) ((arg1
)->m_x
);
5489 resultobj
= SWIG_FromDouble((double)result
);
5496 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "m_y", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 arg2
= (double) SWIG_AsDouble(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5511 if (arg1
) (arg1
)->m_y
= arg2
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "self", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 result
= (double) ((arg1
)->m_y
);
5534 resultobj
= SWIG_FromDouble((double)result
);
5541 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5544 double arg2
= (double) 0 ;
5545 double arg3
= (double) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5550 (char *) "self",(char *) "x",(char *) "y", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (double) SWIG_AsDouble(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 arg3
= (double) SWIG_AsDouble(obj2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 wxPoint2D_Set(arg1
,arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5604 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5609 return Py_BuildValue((char *)"");
5611 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5617 static PyObject
*_wrap_DefaultPosition_get() {
5620 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5625 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5626 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5631 static PyObject
*_wrap_DefaultSize_get() {
5634 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5639 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 PyObject
*arg1
= (PyObject
*) 0 ;
5642 wxPyInputStream
*result
;
5643 PyObject
* obj0
= 0 ;
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5664 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "self", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)(arg1
)->eof();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5745 int arg2
= (int) -1 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "size", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg2
= (int) SWIG_AsInt(obj1
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (PyObject
*)(arg1
)->read(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5774 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5777 int arg2
= (int) -1 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "size", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= (int) SWIG_AsInt(obj1
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (PyObject
*)(arg1
)->readline(arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5806 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5809 int arg2
= (int) -1 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "sizehint", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 arg2
= (int) SWIG_AsInt(obj1
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5838 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5842 int arg3
= (int) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5847 (char *) "self",(char *) "offset",(char *) "whence", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (int) SWIG_AsInt(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 arg3
= (int) SWIG_AsInt(obj2
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->seek(arg2
,arg3
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)(arg1
)->tell();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_FromInt((int)result
);
5899 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (char)(arg1
)->Peek();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_FromChar((char)result
);
5925 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (char)(arg1
)->GetC();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_FromChar((char)result
);
5951 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (size_t)(arg1
)->LastRead();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5977 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->CanRead();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6005 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Eof();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "c", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (char) SWIG_AsChar(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->Ungetch(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6069 int arg3
= (int) wxFromStart
;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "pos",(char *) "mode", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (long) SWIG_AsLong(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_FromLong((long)result
);
6101 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (long)(arg1
)->TellI();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_FromLong((long)result
);
6127 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6132 return Py_BuildValue((char *)"");
6134 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6137 PyObject
*arg2
= (PyObject
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "obj", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxOutputStream_write(arg1
,arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6165 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6167 return Py_BuildValue((char *)"");
6169 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6172 wxString
*arg2
= 0 ;
6173 wxString
*arg3
= 0 ;
6174 wxString
*arg4
= 0 ;
6177 wxPyInputStream
*temp1
;
6179 bool temp2
= False
;
6180 bool temp3
= False
;
6181 bool temp4
= False
;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6185 PyObject
* obj2
= 0 ;
6186 PyObject
* obj3
= 0 ;
6187 PyObject
* obj4
= 0 ;
6189 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6194 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6195 arg1
= temp1
->m_wxis
;
6198 PyErr_Clear(); // clear the failure of the wxPyConvert above
6199 arg1
= wxPyCBInputStream_create(obj0
, False
);
6201 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6208 arg2
= wxString_in_helper(obj1
);
6209 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= wxString_in_helper(obj2
);
6214 if (arg3
== NULL
) SWIG_fail
;
6218 arg4
= wxString_in_helper(obj3
);
6219 if (arg4
== NULL
) SWIG_fail
;
6222 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6223 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= wxPyMake_wxObject(result
);
6273 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6301 wxInputStream
*result
;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxInputStream
*)(arg1
)->GetStream();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 wxPyInputStream
* _ptr
= NULL
;
6321 _ptr
= new wxPyInputStream(result
);
6323 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6331 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6347 result
= (wxString
*) &_result_ref
;
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6366 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "self", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 wxString
const &_result_ref
= (arg1
)->GetLocation();
6382 result
= (wxString
*) &_result_ref
;
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6401 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6417 result
= (wxString
*) &_result_ref
;
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6436 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (arg1
)->GetModificationTime();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 wxDateTime
* resultptr
;
6457 resultptr
= new wxDateTime((wxDateTime
&) result
);
6458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6466 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6471 return Py_BuildValue((char *)"");
6473 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6476 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6478 return Py_BuildValue((char *)"");
6480 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxPyFileSystemHandler
*result
;
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6502 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6505 PyObject
*arg2
= (PyObject
*) 0 ;
6506 PyObject
*arg3
= (PyObject
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6536 wxString
*arg2
= 0 ;
6538 bool temp2
= False
;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "location", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 arg2
= wxString_in_helper(obj1
);
6550 if (arg2
== NULL
) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6577 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6580 wxFileSystem
*arg2
= 0 ;
6581 wxString
*arg3
= 0 ;
6583 bool temp3
= False
;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6588 (char *) "self",(char *) "fs",(char *) "location", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6598 PyErr_SetString(PyExc_TypeError
,"null reference");
6602 arg3
= wxString_in_helper(obj2
);
6603 if (arg3
== NULL
) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= wxPyMake_wxObject(result
);
6630 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6633 wxString
*arg2
= 0 ;
6634 int arg3
= (int) 0 ;
6636 bool temp2
= False
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6641 (char *) "self",(char *) "spec",(char *) "flags", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6653 arg3
= (int) SWIG_AsInt(obj2
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6684 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (arg1
)->FindNext();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6716 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6719 wxString
*arg2
= 0 ;
6721 bool temp2
= False
;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "location", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 arg2
= wxString_in_helper(obj1
);
6733 if (arg2
== NULL
) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6764 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6767 wxString
*arg2
= 0 ;
6769 bool temp2
= False
;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "location", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= wxString_in_helper(obj1
);
6781 if (arg2
== NULL
) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6812 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6815 wxString
*arg2
= 0 ;
6817 bool temp2
= False
;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "location", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= wxString_in_helper(obj1
);
6829 if (arg2
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6860 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6863 wxString
*arg2
= 0 ;
6865 bool temp2
= False
;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "location", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6908 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6911 wxString
*arg2
= 0 ;
6913 bool temp2
= False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "location", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6956 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6961 return Py_BuildValue((char *)"");
6963 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxFileSystem
*result
;
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (wxFileSystem
*)new wxFileSystem();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= wxPyMake_wxObject(result
);
6987 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7015 wxString
*arg2
= 0 ;
7016 bool arg3
= (bool) False
;
7017 bool temp2
= False
;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7022 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 arg2
= wxString_in_helper(obj1
);
7030 if (arg2
== NULL
) SWIG_fail
;
7034 arg3
= (bool) SWIG_AsBool(obj2
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (arg1
)->GetPath();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7091 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7094 wxString
*arg2
= 0 ;
7096 bool temp2
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "location", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7107 arg2
= wxString_in_helper(obj1
);
7108 if (arg2
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= wxPyMake_wxObject(result
);
7135 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7138 wxString
*arg2
= 0 ;
7139 int arg3
= (int) 0 ;
7141 bool temp2
= False
;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7146 (char *) "self",(char *) "spec",(char *) "flags", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7153 arg2
= wxString_in_helper(obj1
);
7154 if (arg2
== NULL
) SWIG_fail
;
7158 arg3
= (int) SWIG_AsInt(obj2
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7189 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "self", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->FindNext();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7221 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "handler", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 wxFileSystem::AddHandler(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxFileSystem::CleanUpHandlers();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxString
*arg1
= 0 ;
7271 bool temp1
= False
;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "filename", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7279 arg1
= wxString_in_helper(obj0
);
7280 if (arg1
== NULL
) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7311 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7314 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7316 return Py_BuildValue((char *)"");
7318 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxString
*arg1
= 0 ;
7322 bool temp1
= False
;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "url", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7330 arg1
= wxString_in_helper(obj0
);
7331 if (arg1
== NULL
) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7362 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxInternetFSHandler
*result
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7384 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7387 wxString
*arg2
= 0 ;
7389 bool temp2
= False
;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "location", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 arg2
= wxString_in_helper(obj1
);
7401 if (arg2
== NULL
) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7431 wxFileSystem
*arg2
= 0 ;
7432 wxString
*arg3
= 0 ;
7434 bool temp3
= False
;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7439 (char *) "self",(char *) "fs",(char *) "location", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7449 PyErr_SetString(PyExc_TypeError
,"null reference");
7453 arg3
= wxString_in_helper(obj2
);
7454 if (arg3
== NULL
) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= wxPyMake_wxObject(result
);
7481 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7486 return Py_BuildValue((char *)"");
7488 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxZipFSHandler
*result
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7510 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7513 wxString
*arg2
= 0 ;
7515 bool temp2
= False
;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "location", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 arg2
= wxString_in_helper(obj1
);
7527 if (arg2
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7557 wxFileSystem
*arg2
= 0 ;
7558 wxString
*arg3
= 0 ;
7560 bool temp3
= False
;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7565 (char *) "self",(char *) "fs",(char *) "location", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7575 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 arg3
= wxString_in_helper(obj2
);
7580 if (arg3
== NULL
) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= wxPyMake_wxObject(result
);
7607 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7610 wxString
*arg2
= 0 ;
7611 int arg3
= (int) 0 ;
7613 bool temp2
= False
;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "spec",(char *) "flags", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 arg2
= wxString_in_helper(obj1
);
7626 if (arg2
== NULL
) SWIG_fail
;
7630 arg3
= (int) SWIG_AsInt(obj2
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7661 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (arg1
)->FindNext();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7693 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7698 return Py_BuildValue((char *)"");
7700 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxString
*arg1
= 0 ;
7705 bool temp1
= False
;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7710 (char *) "filename",(char *) "image",(char *) "type", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7715 arg1
= wxString_in_helper(obj0
);
7716 if (arg1
== NULL
) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7723 PyErr_SetString(PyExc_TypeError
,"null reference");
7726 arg3
= (long) SWIG_AsLong(obj2
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxString
*arg1
= 0 ;
7753 wxBitmap
*arg2
= 0 ;
7755 bool temp1
= False
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7760 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7765 arg1
= wxString_in_helper(obj0
);
7766 if (arg1
== NULL
) SWIG_fail
;
7769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7773 PyErr_SetString(PyExc_TypeError
,"null reference");
7776 arg3
= (long) SWIG_AsLong(obj2
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxString
*arg1
= 0 ;
7803 PyObject
*arg2
= (PyObject
*) 0 ;
7804 bool temp1
= False
;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "filename",(char *) "data", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 arg1
= wxString_in_helper(obj0
);
7814 if (arg1
== NULL
) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxMemoryFSHandler
*result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7862 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxString
*arg1
= 0 ;
7865 bool temp1
= False
;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "filename", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7873 arg1
= wxString_in_helper(obj0
);
7874 if (arg1
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7902 wxString
*arg2
= 0 ;
7904 bool temp2
= False
;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "location", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 arg2
= wxString_in_helper(obj1
);
7916 if (arg2
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7946 wxFileSystem
*arg2
= 0 ;
7947 wxString
*arg3
= 0 ;
7949 bool temp3
= False
;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7954 (char *) "self",(char *) "fs",(char *) "location", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7964 PyErr_SetString(PyExc_TypeError
,"null reference");
7968 arg3
= wxString_in_helper(obj2
);
7969 if (arg3
== NULL
) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= wxPyMake_wxObject(result
);
7996 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7999 wxString
*arg2
= 0 ;
8000 int arg3
= (int) 0 ;
8002 bool temp2
= False
;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "spec",(char *) "flags", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 arg2
= wxString_in_helper(obj1
);
8015 if (arg2
== NULL
) SWIG_fail
;
8019 arg3
= (int) SWIG_AsInt(obj2
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8050 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (arg1
)->FindNext();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8082 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8087 return Py_BuildValue((char *)"");
8089 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (arg1
)->GetName();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8121 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (arg1
)->GetExtension();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (long)(arg1
)->GetType();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_FromLong((long)result
);
8179 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetMimeType();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8211 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8214 wxString
*arg2
= 0 ;
8216 bool temp2
= False
;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 (char *) "self",(char *) "name", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 arg2
= wxString_in_helper(obj1
);
8228 if (arg2
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8258 wxString
*arg2
= 0 ;
8259 bool temp2
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "name", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg2
= wxString_in_helper(obj1
);
8271 if (arg2
== NULL
) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->SetName((wxString
const &)*arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8299 wxString
*arg2
= 0 ;
8300 bool temp2
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "extension", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetExtension((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "self",(char *) "type", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 arg2
= (long) SWIG_AsLong(obj1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetType(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8369 wxString
*arg2
= 0 ;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "mimetype", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8410 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8412 return Py_BuildValue((char *)"");
8414 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxImageHistogram
*result
;
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (wxImageHistogram
*)new wxImageHistogram();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8436 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 unsigned char arg1
;
8439 unsigned char arg2
;
8440 unsigned char arg3
;
8441 unsigned long result
;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8444 PyObject
* obj2
= 0 ;
8446 (char *) "r",(char *) "g",(char *) "b", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8450 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8454 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8470 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8473 unsigned char *arg2
= (unsigned char *) 0 ;
8474 unsigned char *arg3
= (unsigned char *) 0 ;
8475 unsigned char *arg4
= (unsigned char *) 0 ;
8476 unsigned char arg5
= (unsigned char) 1 ;
8477 unsigned char arg6
= (unsigned char) 0 ;
8478 unsigned char arg7
= (unsigned char) 0 ;
8480 unsigned char temp2
;
8481 unsigned char temp3
;
8482 unsigned char temp4
;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8485 PyObject
* obj2
= 0 ;
8486 PyObject
* obj3
= 0 ;
8488 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8521 resultobj
= t_output_helper(resultobj
,o
);
8524 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8525 resultobj
= t_output_helper(resultobj
,o
);
8528 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8529 resultobj
= t_output_helper(resultobj
,o
);
8537 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8542 return Py_BuildValue((char *)"");
8544 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxString
*arg1
= 0 ;
8547 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8548 int arg3
= (int) -1 ;
8550 bool temp1
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8555 (char *) "name",(char *) "type",(char *) "index", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8560 arg1
= wxString_in_helper(obj0
);
8561 if (arg1
== NULL
) SWIG_fail
;
8565 arg2
= (long) SWIG_AsLong(obj1
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 arg3
= (int) SWIG_AsInt(obj2
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8594 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxImage
*arg1
= (wxImage
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxString
*arg1
= 0 ;
8622 wxString
*arg2
= 0 ;
8623 int arg3
= (int) -1 ;
8625 bool temp1
= False
;
8626 bool temp2
= False
;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8631 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8636 arg1
= wxString_in_helper(obj0
);
8637 if (arg1
== NULL
) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 arg3
= (int) SWIG_AsInt(obj2
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8679 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxInputStream
*arg1
= 0 ;
8682 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8683 int arg3
= (int) -1 ;
8685 wxPyInputStream
*temp1
;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "stream",(char *) "type",(char *) "index", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8696 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8697 arg1
= temp1
->m_wxis
;
8700 PyErr_Clear(); // clear the failure of the wxPyConvert above
8701 arg1
= wxPyCBInputStream_create(obj0
, False
);
8703 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8710 arg2
= (long) SWIG_AsLong(obj1
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 arg3
= (int) SWIG_AsInt(obj2
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8739 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxInputStream
*arg1
= 0 ;
8742 wxString
*arg2
= 0 ;
8743 int arg3
= (int) -1 ;
8745 wxPyInputStream
*temp1
;
8747 bool temp2
= False
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8757 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8758 arg1
= temp1
->m_wxis
;
8761 PyErr_Clear(); // clear the failure of the wxPyConvert above
8762 arg1
= wxPyCBInputStream_create(obj0
, False
);
8764 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8776 arg3
= (int) SWIG_AsInt(obj2
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8809 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 int arg1
= (int) 0 ;
8812 int arg2
= (int) 0 ;
8813 bool arg3
= (bool) True
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "width",(char *) "height",(char *) "clear", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8824 arg1
= (int) SWIG_AsInt(obj0
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 arg3
= (bool) SWIG_AsBool(obj2
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8849 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxBitmap
*arg1
= 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "bitmap", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8863 PyErr_SetString(PyExc_TypeError
,"null reference");
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8880 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8884 unsigned char *arg3
= (unsigned char *) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "width",(char *) "height",(char *) "data", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 arg1
= (int) SWIG_AsInt(obj0
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8896 arg2
= (int) SWIG_AsInt(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8914 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxImage
*arg1
= (wxImage
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8923 (char *) "self",(char *) "width",(char *) "height", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= (int) SWIG_AsInt(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8931 arg3
= (int) SWIG_AsInt(obj2
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->Create(arg2
,arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxImage
*arg1
= (wxImage
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxImage
*arg1
= (wxImage
*) 0 ;
8977 SwigValueWrapper
< wxImage
> result
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8990 arg3
= (int) SWIG_AsInt(obj2
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (arg1
)->Scale(arg2
,arg3
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 wxImage
* resultptr
;
9001 resultptr
= new wxImage((wxImage
&) result
);
9002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9010 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxImage
*arg1
= (wxImage
*) 0 ;
9015 SwigValueWrapper
< wxImage
> result
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 PyObject
* obj2
= 0 ;
9020 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 arg2
= (int) SWIG_AsInt(obj1
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9028 arg3
= (int) SWIG_AsInt(obj2
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 wxImage
* resultptr
;
9039 resultptr
= new wxImage((wxImage
&) result
);
9040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9048 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxImage
*arg1
= (wxImage
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "width",(char *) "height", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 arg2
= (int) SWIG_AsInt(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9066 arg3
= (int) SWIG_AsInt(obj2
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9072 result
= (wxImage
*) &_result_ref
;
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9085 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxImage
*arg1
= (wxImage
*) 0 ;
9090 unsigned char arg4
;
9091 unsigned char arg5
;
9092 unsigned char arg6
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9097 PyObject
* obj4
= 0 ;
9098 PyObject
* obj5
= 0 ;
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg3
= (int) SWIG_AsInt(obj2
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxImage
*arg1
= (wxImage
*) 0 ;
9135 unsigned char result
;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 PyObject
* obj2
= 0 ;
9140 (char *) "self",(char *) "x",(char *) "y", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 arg2
= (int) SWIG_AsInt(obj1
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9148 arg3
= (int) SWIG_AsInt(obj2
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9164 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxImage
*arg1
= (wxImage
*) 0 ;
9169 unsigned char result
;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "x",(char *) "y", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 arg2
= (int) SWIG_AsInt(obj1
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 arg3
= (int) SWIG_AsInt(obj2
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9198 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxImage
*arg1
= (wxImage
*) 0 ;
9203 unsigned char result
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg2
= (int) SWIG_AsInt(obj1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9216 arg3
= (int) SWIG_AsInt(obj2
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9232 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxImage
*arg1
= (wxImage
*) 0 ;
9237 unsigned char arg4
;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9243 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (int) SWIG_AsInt(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg3
= (int) SWIG_AsInt(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9253 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxImage
*arg1
= (wxImage
*) 0 ;
9274 unsigned char result
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= (int) SWIG_AsInt(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (int) SWIG_AsInt(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9303 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxImage
*arg1
= (wxImage
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)(arg1
)->HasAlpha();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxImage
*arg1
= (wxImage
*) 0 ;
9334 byte
*arg2
= (byte
*) 0 ;
9335 byte
*arg3
= (byte
*) 0 ;
9336 byte
*arg4
= (byte
*) 0 ;
9337 byte arg5
= (byte
) 0 ;
9338 byte arg6
= (byte
) 0 ;
9339 byte arg7
= (byte
) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9347 PyObject
* obj3
= 0 ;
9349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9381 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9382 resultobj
= t_output_helper(resultobj
,o
);
9385 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9386 resultobj
= t_output_helper(resultobj
,o
);
9389 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9390 resultobj
= t_output_helper(resultobj
,o
);
9398 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxImage
*arg1
= (wxImage
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9409 PyObject
* obj3
= 0 ;
9410 PyObject
* obj4
= 0 ;
9412 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9422 PyErr_SetString(PyExc_TypeError
,"null reference");
9425 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9429 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxString
*arg1
= 0 ;
9451 bool temp1
= False
;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "name", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9459 arg1
= wxString_in_helper(obj0
);
9460 if (arg1
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9487 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxString
*arg1
= 0 ;
9490 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9492 bool temp1
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9496 (char *) "name",(char *) "type", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9501 arg1
= wxString_in_helper(obj0
);
9502 if (arg1
== NULL
) SWIG_fail
;
9506 arg2
= (long) SWIG_AsLong(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_FromInt((int)result
);
9531 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxImage
*arg1
= (wxImage
*) 0 ;
9534 wxString
*arg2
= 0 ;
9535 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9536 int arg4
= (int) -1 ;
9538 bool temp2
= False
;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 PyObject
* obj2
= 0 ;
9542 PyObject
* obj3
= 0 ;
9544 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 arg2
= wxString_in_helper(obj1
);
9552 if (arg2
== NULL
) SWIG_fail
;
9556 arg3
= (long) SWIG_AsLong(obj2
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 arg4
= (int) SWIG_AsInt(obj3
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9587 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxString
*arg2
= 0 ;
9591 wxString
*arg3
= 0 ;
9592 int arg4
= (int) -1 ;
9594 bool temp2
= False
;
9595 bool temp3
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9599 PyObject
* obj3
= 0 ;
9601 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= wxString_in_helper(obj1
);
9609 if (arg2
== NULL
) SWIG_fail
;
9613 arg3
= wxString_in_helper(obj2
);
9614 if (arg3
== NULL
) SWIG_fail
;
9618 arg4
= (int) SWIG_AsInt(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxImage
*arg1
= (wxImage
*) 0 ;
9656 wxString
*arg2
= 0 ;
9659 bool temp2
= False
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9664 (char *) "self",(char *) "name",(char *) "type", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= wxString_in_helper(obj1
);
9672 if (arg2
== NULL
) SWIG_fail
;
9675 arg3
= (int) SWIG_AsInt(obj2
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxImage
*arg1
= (wxImage
*) 0 ;
9704 wxString
*arg2
= 0 ;
9705 wxString
*arg3
= 0 ;
9707 bool temp2
= False
;
9708 bool temp3
= False
;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 PyObject
* obj2
= 0 ;
9713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 arg3
= wxString_in_helper(obj2
);
9726 if (arg3
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9761 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxInputStream
*arg1
= 0 ;
9765 wxPyInputStream
*temp1
;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "stream", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9774 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9775 arg1
= temp1
->m_wxis
;
9778 PyErr_Clear(); // clear the failure of the wxPyConvert above
9779 arg1
= wxPyCBInputStream_create(obj0
, False
);
9781 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)wxImage::CanRead(*arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxImage
*arg1
= (wxImage
*) 0 ;
9814 wxInputStream
*arg2
= 0 ;
9815 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9816 int arg4
= (int) -1 ;
9818 wxPyInputStream
*temp2
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9823 PyObject
* obj3
= 0 ;
9825 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9833 arg2
= temp2
->m_wxis
;
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg2
= wxPyCBInputStream_create(obj1
, False
);
9839 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9846 arg3
= (long) SWIG_AsLong(obj2
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 arg4
= (int) SWIG_AsInt(obj3
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 wxInputStream
*arg2
= 0 ;
9881 wxString
*arg3
= 0 ;
9882 int arg4
= (int) -1 ;
9884 wxPyInputStream
*temp2
;
9886 bool temp3
= False
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9900 arg2
= temp2
->m_wxis
;
9903 PyErr_Clear(); // clear the failure of the wxPyConvert above
9904 arg2
= wxPyCBInputStream_create(obj1
, False
);
9906 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9913 arg3
= wxString_in_helper(obj2
);
9914 if (arg3
== NULL
) SWIG_fail
;
9918 arg4
= (int) SWIG_AsInt(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxImage
*arg1
= (wxImage
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (bool)(arg1
)->Ok();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9981 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxImage
*arg1
= (wxImage
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (int)(arg1
)->GetWidth();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_FromInt((int)result
);
10007 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxImage
*arg1
= (wxImage
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (int)(arg1
)->GetHeight();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_FromInt((int)result
);
10033 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxImage
*arg1
= (wxImage
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= wxImage_GetSize(arg1
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 wxSize
* resultptr
;
10054 resultptr
= new wxSize((wxSize
&) result
);
10055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10063 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10067 SwigValueWrapper
< wxImage
> result
;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "rect", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 wxImage
* resultptr
;
10091 resultptr
= new wxImage((wxImage
&) result
);
10092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10100 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxImage
*arg1
= (wxImage
*) 0 ;
10103 SwigValueWrapper
< wxImage
> result
;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (arg1
)->Copy();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 wxImage
* resultptr
;
10121 resultptr
= new wxImage((wxImage
&) result
);
10122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10130 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImage
*arg1
= (wxImage
*) 0 ;
10133 wxImage
*arg2
= 0 ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 PyObject
* obj2
= 0 ;
10139 PyObject
* obj3
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10150 if (arg2
== NULL
) {
10151 PyErr_SetString(PyExc_TypeError
,"null reference");
10154 arg3
= (int) SWIG_AsInt(obj2
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10156 arg4
= (int) SWIG_AsInt(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxImage
*arg1
= (wxImage
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (PyObject
*)wxImage_GetData(arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= result
;
10198 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxImage
*arg1
= (wxImage
*) 0 ;
10201 PyObject
*arg2
= (PyObject
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "data", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxImage_SetData(arg1
,arg2
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImage
*arg1
= (wxImage
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= result
;
10252 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxImage
*arg1
= (wxImage
*) 0 ;
10255 PyObject
*arg2
= (PyObject
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "data", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxImage_SetDataBuffer(arg1
,arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImage
*arg1
= (wxImage
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
;
10306 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10309 PyObject
*arg2
= (PyObject
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "data", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 wxImage_SetAlphaData(arg1
,arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImage
*arg1
= (wxImage
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
;
10360 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 PyObject
*arg2
= (PyObject
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "data", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxImage_SetAlphaBuffer(arg1
,arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10391 unsigned char arg2
;
10392 unsigned char arg3
;
10393 unsigned char arg4
;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 PyObject
* obj3
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10407 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10409 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 unsigned char result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (unsigned char)(arg1
)->GetMaskRed();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10451 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxImage
*arg1
= (wxImage
*) 0 ;
10454 unsigned char result
;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (unsigned char)(arg1
)->GetMaskGreen();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10477 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxImage
*arg1
= (wxImage
*) 0 ;
10480 unsigned char result
;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (unsigned char)(arg1
)->GetMaskBlue();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10503 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxImage
*arg1
= (wxImage
*) 0 ;
10506 bool arg2
= (bool) True
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "mask", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 arg2
= (bool) SWIG_AsBool(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetMask(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->HasMask();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10562 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10566 wxPoint
*arg3
= 0 ;
10567 bool arg4
= (bool) True
;
10568 wxPoint
*arg5
= (wxPoint
*) NULL
;
10569 SwigValueWrapper
< wxImage
> result
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 PyObject
* obj3
= 0 ;
10575 PyObject
* obj4
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 arg2
= (double) SWIG_AsDouble(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10590 arg4
= (bool) SWIG_AsBool(obj3
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 wxImage
* resultptr
;
10606 resultptr
= new wxImage((wxImage
&) result
);
10607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10615 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxImage
*arg1
= (wxImage
*) 0 ;
10618 bool arg2
= (bool) True
;
10619 SwigValueWrapper
< wxImage
> result
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "clockwise", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= (bool) SWIG_AsBool(obj1
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (arg1
)->Rotate90(arg2
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 wxImage
* resultptr
;
10642 resultptr
= new wxImage((wxImage
&) result
);
10643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10651 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImage
*arg1
= (wxImage
*) 0 ;
10654 bool arg2
= (bool) True
;
10655 SwigValueWrapper
< wxImage
> result
;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "horizontally", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg2
= (bool) SWIG_AsBool(obj1
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (arg1
)->Mirror(arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 wxImage
* resultptr
;
10678 resultptr
= new wxImage((wxImage
&) result
);
10679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10687 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxImage
*arg1
= (wxImage
*) 0 ;
10690 unsigned char arg2
;
10691 unsigned char arg3
;
10692 unsigned char arg4
;
10693 unsigned char arg5
;
10694 unsigned char arg6
;
10695 unsigned char arg7
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 PyObject
* obj3
= 0 ;
10700 PyObject
* obj4
= 0 ;
10701 PyObject
* obj5
= 0 ;
10702 PyObject
* obj6
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxImage
*arg1
= (wxImage
*) 0 ;
10739 unsigned char arg2
;
10740 unsigned char arg3
;
10741 unsigned char arg4
;
10742 SwigValueWrapper
< wxImage
> result
;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 PyObject
* obj3
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 wxImage
* resultptr
;
10769 resultptr
= new wxImage((wxImage
&) result
);
10770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10778 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxImage
*arg1
= (wxImage
*) 0 ;
10781 wxString
*arg2
= 0 ;
10782 wxString
*arg3
= 0 ;
10783 bool temp2
= False
;
10784 bool temp3
= False
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "name",(char *) "value", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 arg2
= wxString_in_helper(obj1
);
10797 if (arg2
== NULL
) SWIG_fail
;
10801 arg3
= wxString_in_helper(obj2
);
10802 if (arg3
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxString
*arg2
= 0 ;
10840 bool temp2
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= wxString_in_helper(obj1
);
10853 if (arg2
== NULL
) SWIG_fail
;
10856 arg3
= (int) SWIG_AsInt(obj2
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImage
*arg1
= (wxImage
*) 0 ;
10883 wxString
*arg2
= 0 ;
10885 bool temp2
= False
;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "name", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= wxString_in_helper(obj1
);
10897 if (arg2
== NULL
) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10928 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxImage
*arg1
= (wxImage
*) 0 ;
10931 wxString
*arg2
= 0 ;
10933 bool temp2
= False
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "name", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 arg2
= wxString_in_helper(obj1
);
10945 if (arg2
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_FromInt((int)result
);
10970 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10973 wxString
*arg2
= 0 ;
10975 bool temp2
= False
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "name", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= wxString_in_helper(obj1
);
10987 if (arg2
== NULL
) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11017 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11018 unsigned long result
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "stopafter", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11046 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxImage
*arg1
= (wxImage
*) 0 ;
11049 wxImageHistogram
*arg2
= 0 ;
11050 unsigned long result
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "h", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11063 if (arg2
== NULL
) {
11064 PyErr_SetString(PyExc_TypeError
,"null reference");
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11081 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "handler", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 wxImage::AddHandler(arg1
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "handler", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxImage::InsertHandler(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxString
*arg1
= 0 ;
11135 bool temp1
= False
;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "name", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11143 arg1
= wxString_in_helper(obj0
);
11144 if (arg1
== NULL
) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11174 char *kwnames
[] = {
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= wxImage::GetImageExtWildcard();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11199 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxImage
*arg1
= (wxImage
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= wxImage_ConvertToBitmap(arg1
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 wxBitmap
* resultptr
;
11220 resultptr
= new wxBitmap((wxBitmap
&) result
);
11221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11229 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxImage
*arg1
= (wxImage
*) 0 ;
11232 unsigned char arg2
;
11233 unsigned char arg3
;
11234 unsigned char arg4
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 wxBitmap
* resultptr
;
11262 resultptr
= new wxBitmap((wxBitmap
&) result
);
11263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11271 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11276 return Py_BuildValue((char *)"");
11278 static int _wrap_NullImage_set(PyObject
*_val
) {
11279 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11284 static PyObject
*_wrap_NullImage_get() {
11287 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11292 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11293 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11298 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11303 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11305 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11312 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11313 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11318 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11323 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11325 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11332 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11333 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11338 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11343 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11345 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11352 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11353 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11358 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11363 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11365 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11372 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11373 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11378 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11383 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11385 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11392 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxBMPHandler
*result
;
11395 char *kwnames
[] = {
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (wxBMPHandler
*)new wxBMPHandler();
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11414 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11417 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11419 return Py_BuildValue((char *)"");
11421 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxICOHandler
*result
;
11424 char *kwnames
[] = {
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (wxICOHandler
*)new wxICOHandler();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11443 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11446 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11448 return Py_BuildValue((char *)"");
11450 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxCURHandler
*result
;
11453 char *kwnames
[] = {
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxCURHandler
*)new wxCURHandler();
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11472 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11475 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11477 return Py_BuildValue((char *)"");
11479 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxANIHandler
*result
;
11482 char *kwnames
[] = {
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (wxANIHandler
*)new wxANIHandler();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11501 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11506 return Py_BuildValue((char *)"");
11508 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxPNGHandler
*result
;
11511 char *kwnames
[] = {
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxPNGHandler
*)new wxPNGHandler();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11530 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11535 return Py_BuildValue((char *)"");
11537 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxGIFHandler
*result
;
11540 char *kwnames
[] = {
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (wxGIFHandler
*)new wxGIFHandler();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11559 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11564 return Py_BuildValue((char *)"");
11566 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxPCXHandler
*result
;
11569 char *kwnames
[] = {
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (wxPCXHandler
*)new wxPCXHandler();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11588 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11593 return Py_BuildValue((char *)"");
11595 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxJPEGHandler
*result
;
11598 char *kwnames
[] = {
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11617 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11622 return Py_BuildValue((char *)"");
11624 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxPNMHandler
*result
;
11627 char *kwnames
[] = {
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxPNMHandler
*)new wxPNMHandler();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11646 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11651 return Py_BuildValue((char *)"");
11653 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxXPMHandler
*result
;
11656 char *kwnames
[] = {
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (wxXPMHandler
*)new wxXPMHandler();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11675 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxTIFFHandler
*result
;
11685 char *kwnames
[] = {
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11704 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11709 return Py_BuildValue((char *)"");
11711 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxEvtHandler
*result
;
11714 char *kwnames
[] = {
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxEvtHandler
*)new wxEvtHandler();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= wxPyMake_wxObject(result
);
11735 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11738 wxEvtHandler
*result
;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= wxPyMake_wxObject(result
);
11763 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11766 wxEvtHandler
*result
;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= wxPyMake_wxObject(result
);
11791 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11794 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "handler", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 (arg1
)->SetNextHandler(arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 Py_INCREF(Py_None
); resultobj
= Py_None
;
11820 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11823 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 PyObject
* obj1
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self",(char *) "handler", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetPreviousHandler(arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11849 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11877 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "enabled", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (bool) SWIG_AsBool(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetEvtHandlerEnabled(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11909 wxEvent
*arg2
= 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "event", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11923 if (arg2
== NULL
) {
11924 PyErr_SetString(PyExc_TypeError
,"null reference");
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11946 wxEvent
*arg2
= 0 ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "event", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11959 if (arg2
== NULL
) {
11960 PyErr_SetString(PyExc_TypeError
,"null reference");
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->AddPendingEvent(*arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->ProcessPendingEvents();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 Py_INCREF(Py_None
); resultobj
= Py_None
;
12002 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12008 PyObject
*arg5
= (PyObject
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 PyObject
* obj2
= 0 ;
12012 PyObject
* obj3
= 0 ;
12013 PyObject
* obj4
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12021 arg2
= (int) SWIG_AsInt(obj1
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12023 arg3
= (int) SWIG_AsInt(obj2
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12025 arg4
= (int) SWIG_AsInt(obj3
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 Py_INCREF(Py_None
); resultobj
= Py_None
;
12042 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12046 int arg3
= (int) -1 ;
12047 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 PyObject
* obj2
= 0 ;
12052 PyObject
* obj3
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 arg2
= (int) SWIG_AsInt(obj1
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 arg3
= (int) SWIG_AsInt(obj2
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12086 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12089 PyObject
*arg2
= (PyObject
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self",(char *) "_self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 wxEvtHandler__setOORInfo(arg1
,arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12117 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12119 return Py_BuildValue((char *)"");
12121 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxEventType result
;
12124 char *kwnames
[] = {
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (wxEventType
)wxNewEventType();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_FromInt((int)result
);
12143 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxEvent
*arg1
= (wxEvent
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxEvent
*arg1
= (wxEvent
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "typ", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->SetEventType(arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxEvent
*arg1
= (wxEvent
*) 0 ;
12200 wxEventType result
;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_FromInt((int)result
);
12223 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxEvent
*arg1
= (wxEvent
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= wxPyMake_wxObject(result
);
12251 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxEvent
*arg1
= (wxEvent
*) 0 ;
12254 wxObject
*arg2
= (wxObject
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self",(char *) "obj", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 (arg1
)->SetEventObject(arg2
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxEvent
*arg1
= (wxEvent
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_FromLong((long)result
);
12306 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxEvent
*arg1
= (wxEvent
*) 0 ;
12309 long arg2
= (long) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self",(char *) "ts", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12320 arg2
= (long) SWIG_AsLong(obj1
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetTimestamp(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12337 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxEvent
*arg1
= (wxEvent
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (int)((wxEvent
const *)arg1
)->GetId();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_FromInt((int)result
);
12363 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxEvent
*arg1
= (wxEvent
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "Id", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 arg2
= (int) SWIG_AsInt(obj1
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetId(arg2
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxEvent
*arg1
= (wxEvent
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12420 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxEvent
*arg1
= (wxEvent
*) 0 ;
12423 bool arg2
= (bool) True
;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "skip", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 arg2
= (bool) SWIG_AsBool(obj1
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->Skip(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 Py_INCREF(Py_None
); resultobj
= Py_None
;
12451 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxEvent
*arg1
= (wxEvent
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12479 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxEvent
*arg1
= (wxEvent
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12507 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxEvent
*arg1
= (wxEvent
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (int)(arg1
)->StopPropagation();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_FromInt((int)result
);
12533 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxEvent
*arg1
= (wxEvent
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self",(char *) "propagationLevel", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 arg2
= (int) SWIG_AsInt(obj1
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->ResumePropagation(arg2
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxEvent
*arg1
= (wxEvent
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (wxEvent
*)(arg1
)->Clone();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12588 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12591 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12593 return Py_BuildValue((char *)"");
12595 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxEvent
*arg1
= 0 ;
12598 wxPropagationDisabler
*result
;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "event", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12608 if (arg1
== NULL
) {
12609 PyErr_SetString(PyExc_TypeError
,"null reference");
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12626 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12654 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12656 return Py_BuildValue((char *)"");
12658 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxEvent
*arg1
= 0 ;
12661 wxPropagateOnce
*result
;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "event", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12671 if (arg1
== NULL
) {
12672 PyErr_SetString(PyExc_TypeError
,"null reference");
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12689 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12719 return Py_BuildValue((char *)"");
12721 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12724 int arg2
= (int) 0 ;
12725 wxCommandEvent
*result
;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "commandType",(char *) "winid", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12734 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 arg2
= (int) SWIG_AsInt(obj1
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12755 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_FromInt((int)result
);
12781 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12784 wxString
*arg2
= 0 ;
12785 bool temp2
= False
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "s", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 arg2
= wxString_in_helper(obj1
);
12797 if (arg2
== NULL
) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 (arg1
)->SetString((wxString
const &)*arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12854 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12882 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12910 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "extraLong", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 arg2
= (long) SWIG_AsLong(obj1
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->SetExtraLong(arg2
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_FromLong((long)result
);
12965 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "i", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 arg2
= (int) SWIG_AsInt(obj1
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->SetInt(arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_FromLong((long)result
);
13020 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13046 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13049 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13051 return Py_BuildValue((char *)"");
13053 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13056 int arg2
= (int) 0 ;
13057 wxNotifyEvent
*result
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "commandType",(char *) "winid", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13066 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 arg2
= (int) SWIG_AsInt(obj1
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13087 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 Py_INCREF(Py_None
); resultobj
= Py_None
;
13112 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (bool)(arg1
)->IsAllowed();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13165 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13168 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13170 return Py_BuildValue((char *)"");
13172 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13175 int arg2
= (int) 0 ;
13176 int arg3
= (int) 0 ;
13177 int arg4
= (int) 0 ;
13178 wxScrollEvent
*result
;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 PyObject
* obj2
= 0 ;
13182 PyObject
* obj3
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13189 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 arg2
= (int) SWIG_AsInt(obj1
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg3
= (int) SWIG_AsInt(obj2
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg4
= (int) SWIG_AsInt(obj3
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13218 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_FromInt((int)result
);
13244 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_FromInt((int)result
);
13270 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "orient", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (int) SWIG_AsInt(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 (arg1
)->SetOrientation(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self",(char *) "pos", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 arg2
= (int) SWIG_AsInt(obj1
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 (arg1
)->SetPosition(arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13333 return Py_BuildValue((char *)"");
13335 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13338 int arg2
= (int) 0 ;
13339 int arg3
= (int) 0 ;
13340 wxScrollWinEvent
*result
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13350 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 arg2
= (int) SWIG_AsInt(obj1
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 arg3
= (int) SWIG_AsInt(obj2
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13375 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_FromInt((int)result
);
13401 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_FromInt((int)result
);
13427 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "orient", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 arg2
= (int) SWIG_AsInt(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetOrientation(arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "self",(char *) "pos", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 arg2
= (int) SWIG_AsInt(obj1
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->SetPosition(arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13488 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13490 return Py_BuildValue((char *)"");
13492 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13495 wxMouseEvent
*result
;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "mouseType", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13503 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= wxPyMake_wxObject(result
);
13522 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13553 int arg2
= (int) wxMOUSE_BTN_ANY
;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "but", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 arg2
= (int) SWIG_AsInt(obj1
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13584 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13587 int arg2
= (int) wxMOUSE_BTN_ANY
;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "but", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13599 arg2
= (int) SWIG_AsInt(obj1
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13621 int arg2
= (int) wxMOUSE_BTN_ANY
;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "but", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 arg2
= (int) SWIG_AsInt(obj1
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self",(char *) "but", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 arg2
= (int) SWIG_AsInt(obj1
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "but", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 arg2
= (int) SWIG_AsInt(obj1
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13716 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 char *kwnames
[] = {
13722 (char *) "self", NULL
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_FromInt((int)result
);
13742 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13770 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 char *kwnames
[] = {
13776 (char *) "self", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13798 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13826 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13854 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13882 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13910 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13938 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13966 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13994 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14022 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 char *kwnames
[] = {
14028 (char *) "self", NULL
14031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14050 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14078 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14082 PyObject
* obj0
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14106 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (bool)(arg1
)->LeftIsDown();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14134 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)(arg1
)->MiddleIsDown();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)(arg1
)->RightIsDown();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14274 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (arg1
)->GetPosition();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 wxPoint
* resultptr
;
14323 resultptr
= new wxPoint((wxPoint
&) result
);
14324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14332 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14335 long *arg2
= (long *) 0 ;
14336 long *arg3
= (long *) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->GetPosition(arg2
,arg3
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14359 resultobj
= t_output_helper(resultobj
,o
);
14362 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14363 resultobj
= t_output_helper(resultobj
,o
);
14371 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "dc", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14388 if (arg2
== NULL
) {
14389 PyErr_SetString(PyExc_TypeError
,"null reference");
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 wxPoint
* resultptr
;
14401 resultptr
= new wxPoint((wxPoint
&) result
);
14402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14410 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_FromInt((int)result
);
14436 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_FromInt((int)result
);
14462 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_FromInt((int)result
);
14488 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= SWIG_FromInt((int)result
);
14514 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_FromInt((int)result
);
14540 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14568 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "m_x", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14581 arg2
= (int) SWIG_AsInt(obj1
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14583 if (arg1
) (arg1
)->m_x
= arg2
;
14585 Py_INCREF(Py_None
); resultobj
= Py_None
;
14592 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 result
= (int) ((arg1
)->m_x
);
14606 resultobj
= SWIG_FromInt((int)result
);
14613 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self",(char *) "m_y", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 arg2
= (int) SWIG_AsInt(obj1
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14628 if (arg1
) (arg1
)->m_y
= arg2
;
14630 Py_INCREF(Py_None
); resultobj
= Py_None
;
14637 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 result
= (int) ((arg1
)->m_y
);
14651 resultobj
= SWIG_FromInt((int)result
);
14658 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "m_leftDown", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 arg2
= (bool) SWIG_AsBool(obj1
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14673 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 result
= (bool) ((arg1
)->m_leftDown
);
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "m_middleDown", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 arg2
= (bool) SWIG_AsBool(obj1
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14720 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 result
= (bool) ((arg1
)->m_middleDown
);
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14752 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "m_rightDown", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (bool) SWIG_AsBool(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14767 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 result
= (bool) ((arg1
)->m_rightDown
);
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14799 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "m_controlDown", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg2
= (bool) SWIG_AsBool(obj1
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14814 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14816 Py_INCREF(Py_None
); resultobj
= Py_None
;
14823 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 result
= (bool) ((arg1
)->m_controlDown
);
14838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14846 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "m_shiftDown", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 arg2
= (bool) SWIG_AsBool(obj1
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14861 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 result
= (bool) ((arg1
)->m_shiftDown
);
14885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14893 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self",(char *) "m_altDown", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 arg2
= (bool) SWIG_AsBool(obj1
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14908 if (arg1
) (arg1
)->m_altDown
= arg2
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 result
= (bool) ((arg1
)->m_altDown
);
14932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14940 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "m_metaDown", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14953 arg2
= (bool) SWIG_AsBool(obj1
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14955 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14957 Py_INCREF(Py_None
); resultobj
= Py_None
;
14964 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 result
= (bool) ((arg1
)->m_metaDown
);
14979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14987 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "m_wheelRotation", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 arg2
= (int) SWIG_AsInt(obj1
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15002 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15011 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 result
= (int) ((arg1
)->m_wheelRotation
);
15025 resultobj
= SWIG_FromInt((int)result
);
15032 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "m_wheelDelta", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 arg2
= (int) SWIG_AsInt(obj1
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15047 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15068 result
= (int) ((arg1
)->m_wheelDelta
);
15070 resultobj
= SWIG_FromInt((int)result
);
15077 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "m_linesPerAction", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 arg2
= (int) SWIG_AsInt(obj1
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15092 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 result
= (int) ((arg1
)->m_linesPerAction
);
15115 resultobj
= SWIG_FromInt((int)result
);
15122 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15125 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15127 return Py_BuildValue((char *)"");
15129 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 int arg1
= (int) 0 ;
15132 int arg2
= (int) 0 ;
15133 wxSetCursorEvent
*result
;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "x",(char *) "y", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 arg1
= (int) SWIG_AsInt(obj0
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 arg2
= (int) SWIG_AsInt(obj1
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15163 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_FromInt((int)result
);
15189 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_FromInt((int)result
);
15215 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15218 wxCursor
*arg2
= 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "cursor", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15231 if (arg2
== NULL
) {
15232 PyErr_SetString(PyExc_TypeError
,"null reference");
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 Py_INCREF(Py_None
); resultobj
= Py_None
;
15249 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15265 result
= (wxCursor
*) &_result_ref
;
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 wxCursor
* resultptr
= new wxCursor(*result
);
15273 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15281 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15312 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15314 return Py_BuildValue((char *)"");
15316 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15319 wxKeyEvent
*result
;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "keyType", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15327 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15344 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15372 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15400 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15428 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15456 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15484 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= SWIG_FromInt((int)result
);
15510 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_FromInt((int)result
);
15536 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15539 unsigned int result
;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15562 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15565 unsigned int result
;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15588 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (arg1
)->GetPosition();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 wxPoint
* resultptr
;
15609 resultptr
= new wxPoint((wxPoint
&) result
);
15610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15618 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15621 long *arg2
= (long *) 0 ;
15622 long *arg3
= (long *) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 (arg1
)->GetPosition(arg2
,arg3
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15645 resultobj
= t_output_helper(resultobj
,o
);
15648 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15649 resultobj
= t_output_helper(resultobj
,o
);
15657 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_FromInt((int)result
);
15683 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_FromInt((int)result
);
15709 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self",(char *) "m_x", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 arg2
= (int) SWIG_AsInt(obj1
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15724 if (arg1
) (arg1
)->m_x
= arg2
;
15726 Py_INCREF(Py_None
); resultobj
= Py_None
;
15733 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 result
= (int) ((arg1
)->m_x
);
15747 resultobj
= SWIG_FromInt((int)result
);
15754 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "m_y", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 arg2
= (int) SWIG_AsInt(obj1
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15769 if (arg1
) (arg1
)->m_y
= arg2
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 result
= (int) ((arg1
)->m_y
);
15792 resultobj
= SWIG_FromInt((int)result
);
15799 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self",(char *) "m_keyCode", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 arg2
= (long) SWIG_AsLong(obj1
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15814 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15816 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 result
= (long) ((arg1
)->m_keyCode
);
15837 resultobj
= SWIG_FromLong((long)result
);
15844 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "m_controlDown", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 arg2
= (bool) SWIG_AsBool(obj1
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15859 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 result
= (bool) ((arg1
)->m_controlDown
);
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15891 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "m_shiftDown", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 arg2
= (bool) SWIG_AsBool(obj1
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15906 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15908 Py_INCREF(Py_None
); resultobj
= Py_None
;
15915 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 result
= (bool) ((arg1
)->m_shiftDown
);
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "m_altDown", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 arg2
= (bool) SWIG_AsBool(obj1
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15953 if (arg1
) (arg1
)->m_altDown
= arg2
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 result
= (bool) ((arg1
)->m_altDown
);
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15985 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "m_metaDown", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 arg2
= (bool) SWIG_AsBool(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16000 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 result
= (bool) ((arg1
)->m_metaDown
);
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "m_scanCode", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 arg2
= (bool) SWIG_AsBool(obj1
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16047 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16049 Py_INCREF(Py_None
); resultobj
= Py_None
;
16056 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 result
= (bool) ((arg1
)->m_scanCode
);
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16082 unsigned int arg2
;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self",(char *) "m_rawCode", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16092 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16094 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16096 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16106 unsigned int result
;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16115 result
= (unsigned int) ((arg1
)->m_rawCode
);
16117 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16124 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16127 unsigned int arg2
;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "m_rawFlags", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16139 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16141 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 unsigned int result
;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16162 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16169 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16172 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16174 return Py_BuildValue((char *)"");
16176 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16179 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16180 int arg2
= (int) 0 ;
16181 wxSizeEvent
*result
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "sz",(char *) "winid", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16193 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16197 arg2
= (int) SWIG_AsInt(obj1
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16214 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 wxSize
* resultptr
;
16235 resultptr
= new wxSize((wxSize
&) result
);
16236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16244 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 wxRect
* resultptr
;
16265 resultptr
= new wxRect((wxRect
&) result
);
16266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16274 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "rect", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16289 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->SetRect(arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "size", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16320 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 wxSizeEvent_SetSize(arg1
,arg2
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 Py_INCREF(Py_None
); resultobj
= Py_None
;
16336 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16339 wxSize
*arg2
= (wxSize
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "m_size", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16351 if (arg1
) (arg1
)->m_size
= *arg2
;
16353 Py_INCREF(Py_None
); resultobj
= Py_None
;
16360 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 result
= (wxSize
*)& ((arg1
)->m_size
);
16374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16381 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16384 wxRect
*arg2
= (wxRect
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "m_rect", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 if (arg1
) (arg1
)->m_rect
= *arg2
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 result
= (wxRect
*)& ((arg1
)->m_rect
);
16419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16426 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16429 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16431 return Py_BuildValue((char *)"");
16433 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16436 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16437 int arg2
= (int) 0 ;
16438 wxMoveEvent
*result
;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "pos",(char *) "winid", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16450 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16454 arg2
= (int) SWIG_AsInt(obj1
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16471 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 wxPoint
* resultptr
;
16492 resultptr
= new wxPoint((wxPoint
&) result
);
16493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16501 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 wxRect
* resultptr
;
16522 resultptr
= new wxRect((wxRect
&) result
);
16523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16531 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "rect", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16546 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->SetRect(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self",(char *) "pos", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16577 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 wxMoveEvent_SetPosition(arg1
,arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16596 wxPoint
*arg2
= (wxPoint
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "m_pos", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 if (arg1
) (arg1
)->m_pos
= *arg2
;
16610 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16638 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16641 wxRect
*arg2
= (wxRect
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "m_rect", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16653 if (arg1
) (arg1
)->m_rect
= *arg2
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 result
= (wxRect
*)& ((arg1
)->m_rect
);
16676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16683 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16686 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16688 return Py_BuildValue((char *)"");
16690 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 int arg1
= (int) 0 ;
16693 wxPaintEvent
*result
;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "Id", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16701 arg1
= (int) SWIG_AsInt(obj0
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16718 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16721 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16723 return Py_BuildValue((char *)"");
16725 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 int arg1
= (int) 0 ;
16728 wxNcPaintEvent
*result
;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "winid", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16736 arg1
= (int) SWIG_AsInt(obj0
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16753 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16756 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16758 return Py_BuildValue((char *)"");
16760 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 int arg1
= (int) 0 ;
16763 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16764 wxEraseEvent
*result
;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "Id",(char *) "dc", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16773 arg1
= (int) SWIG_AsInt(obj0
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16794 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= wxPyMake_wxObject(result
);
16822 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16825 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16827 return Py_BuildValue((char *)"");
16829 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16832 int arg2
= (int) 0 ;
16833 wxFocusEvent
*result
;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "type",(char *) "winid", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 arg2
= (int) SWIG_AsInt(obj1
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16863 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= wxPyMake_wxObject(result
);
16891 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16894 wxWindow
*arg2
= (wxWindow
*) 0 ;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "win", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 (arg1
)->SetWindow(arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 Py_INCREF(Py_None
); resultobj
= Py_None
;
16920 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16923 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16925 return Py_BuildValue((char *)"");
16927 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxWindow
*arg1
= (wxWindow
*) NULL
;
16930 wxChildFocusEvent
*result
;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "win", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16955 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= wxPyMake_wxObject(result
);
16983 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16986 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16988 return Py_BuildValue((char *)"");
16990 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16993 bool arg2
= (bool) True
;
16994 int arg3
= (int) 0 ;
16995 wxActivateEvent
*result
;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "type",(char *) "active",(char *) "Id", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17005 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 arg2
= (bool) SWIG_AsBool(obj1
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 arg3
= (int) SWIG_AsInt(obj2
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17030 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17058 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17061 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17063 return Py_BuildValue((char *)"");
17065 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 int arg1
= (int) 0 ;
17068 wxInitDialogEvent
*result
;
17069 PyObject
* obj0
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "Id", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17076 arg1
= (int) SWIG_AsInt(obj0
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17093 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17096 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17098 return Py_BuildValue((char *)"");
17100 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17103 int arg2
= (int) 0 ;
17104 wxMenu
*arg3
= (wxMenu
*) NULL
;
17105 wxMenuEvent
*result
;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 PyObject
* obj2
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "type",(char *) "winid",(char *) "menu", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17115 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 arg2
= (int) SWIG_AsInt(obj1
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17140 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= SWIG_FromInt((int)result
);
17166 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17170 PyObject
* obj0
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17194 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= wxPyMake_wxObject(result
);
17222 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17225 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17227 return Py_BuildValue((char *)"");
17229 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17232 int arg2
= (int) 0 ;
17233 wxCloseEvent
*result
;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "type",(char *) "winid", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 arg2
= (int) SWIG_AsInt(obj1
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17263 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "logOff", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17276 arg2
= (bool) SWIG_AsBool(obj1
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 (arg1
)->SetLoggingOff(arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 Py_INCREF(Py_None
); resultobj
= Py_None
;
17292 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17320 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17323 bool arg2
= (bool) True
;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self",(char *) "veto", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 arg2
= (bool) SWIG_AsBool(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->Veto(arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "canVeto", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 arg2
= (bool) SWIG_AsBool(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetCanVeto(arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17384 PyObject
* obj0
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17436 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17439 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17441 return Py_BuildValue((char *)"");
17443 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 int arg1
= (int) 0 ;
17446 bool arg2
= (bool) False
;
17447 wxShowEvent
*result
;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "winid",(char *) "show", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17456 arg1
= (int) SWIG_AsInt(obj0
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 arg2
= (bool) SWIG_AsBool(obj1
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17477 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "show", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 arg2
= (bool) SWIG_AsBool(obj1
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->SetShow(arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17534 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17537 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17539 return Py_BuildValue((char *)"");
17541 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 int arg1
= (int) 0 ;
17544 bool arg2
= (bool) True
;
17545 wxIconizeEvent
*result
;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "id",(char *) "iconized", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17554 arg1
= (int) SWIG_AsInt(obj0
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 arg2
= (bool) SWIG_AsBool(obj1
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17575 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (bool)(arg1
)->Iconized();
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17603 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17606 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17608 return Py_BuildValue((char *)"");
17610 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 int arg1
= (int) 0 ;
17613 wxMaximizeEvent
*result
;
17614 PyObject
* obj0
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "id", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17621 arg1
= (int) SWIG_AsInt(obj0
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17638 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17641 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17643 return Py_BuildValue((char *)"");
17645 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (arg1
)->GetPosition();
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 wxPoint
* resultptr
;
17666 resultptr
= new wxPoint((wxPoint
&) result
);
17667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17675 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (int)(arg1
)->GetNumberOfFiles();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_FromInt((int)result
);
17701 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
;
17727 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17730 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17732 return Py_BuildValue((char *)"");
17734 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 int arg1
= (int) 0 ;
17737 wxUpdateUIEvent
*result
;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "commandId", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17745 arg1
= (int) SWIG_AsInt(obj0
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17762 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17850 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17934 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self",(char *) "check", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 arg2
= (bool) SWIG_AsBool(obj1
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->Check(arg2
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self",(char *) "enable", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= (bool) SWIG_AsBool(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->Enable(arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17995 wxString
*arg2
= 0 ;
17996 bool temp2
= False
;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self",(char *) "text", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 arg2
= wxString_in_helper(obj1
);
18008 if (arg2
== NULL
) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetText((wxString
const &)*arg2
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "updateInterval", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18042 arg1
= (long) SWIG_AsLong(obj0
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18061 char *kwnames
[] = {
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_FromLong((long)result
);
18080 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxWindow
*arg1
= (wxWindow
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "win", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 char *kwnames
[] = {
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 wxUpdateUIEvent::ResetUpdateTime();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 Py_INCREF(Py_None
); resultobj
= Py_None
;
18129 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "mode", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18138 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18157 char *kwnames
[] = {
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (int)wxUpdateUIEvent::GetMode();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_FromInt((int)result
);
18176 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18179 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18181 return Py_BuildValue((char *)"");
18183 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxSysColourChangedEvent
*result
;
18186 char *kwnames
[] = {
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18205 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18208 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18210 return Py_BuildValue((char *)"");
18212 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 int arg1
= (int) 0 ;
18215 wxWindow
*arg2
= (wxWindow
*) NULL
;
18216 wxMouseCaptureChangedEvent
*result
;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "winid",(char *) "gainedCapture", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 arg1
= (int) SWIG_AsInt(obj0
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18246 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= wxPyMake_wxObject(result
);
18274 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18277 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18279 return Py_BuildValue((char *)"");
18281 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxDisplayChangedEvent
*result
;
18284 char *kwnames
[] = {
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18303 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18306 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18308 return Py_BuildValue((char *)"");
18310 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 int arg1
= (int) 0 ;
18313 wxPaletteChangedEvent
*result
;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "id", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18321 arg1
= (int) SWIG_AsInt(obj0
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18338 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18341 wxWindow
*arg2
= (wxWindow
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "win", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetChangedWindow(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= wxPyMake_wxObject(result
);
18395 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18398 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18400 return Py_BuildValue((char *)"");
18402 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 int arg1
= (int) 0 ;
18405 wxQueryNewPaletteEvent
*result
;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "winid", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18413 arg1
= (int) SWIG_AsInt(obj0
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18430 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self",(char *) "realized", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 arg2
= (bool) SWIG_AsBool(obj1
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 (arg1
)->SetPaletteRealized(arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 Py_INCREF(Py_None
); resultobj
= Py_None
;
18459 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18487 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18490 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18492 return Py_BuildValue((char *)"");
18494 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxNavigationKeyEvent
*result
;
18497 char *kwnames
[] = {
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18516 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18544 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "bForward", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 arg2
= (bool) SWIG_AsBool(obj1
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->SetDirection(arg2
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18601 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "bIs", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 arg2
= (bool) SWIG_AsBool(obj1
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->SetWindowChange(arg2
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 Py_INCREF(Py_None
); resultobj
= Py_None
;
18630 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= wxPyMake_wxObject(result
);
18658 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18661 wxWindow
*arg2
= (wxWindow
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "win", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->SetCurrentFocus(arg2
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 Py_INCREF(Py_None
); resultobj
= Py_None
;
18687 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18690 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18692 return Py_BuildValue((char *)"");
18694 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxWindow
*arg1
= (wxWindow
*) NULL
;
18697 wxWindowCreateEvent
*result
;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "win", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18722 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= wxPyMake_wxObject(result
);
18750 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18753 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18755 return Py_BuildValue((char *)"");
18757 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxWindow
*arg1
= (wxWindow
*) NULL
;
18760 wxWindowDestroyEvent
*result
;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "win", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18785 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= wxPyMake_wxObject(result
);
18813 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18816 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18818 return Py_BuildValue((char *)"");
18820 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18823 int arg2
= (int) 0 ;
18824 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18825 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18826 wxContextMenuEvent
*result
;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 PyObject
* obj2
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "type",(char *) "winid",(char *) "pt", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18837 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18841 arg2
= (int) SWIG_AsInt(obj1
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18864 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18880 result
= (wxPoint
*) &_result_ref
;
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18893 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18896 wxPoint
*arg2
= 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self",(char *) "pos", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18928 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18930 return Py_BuildValue((char *)"");
18932 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxIdleEvent
*result
;
18935 char *kwnames
[] = {
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (wxIdleEvent
*)new wxIdleEvent();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18954 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18957 bool arg2
= (bool) True
;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "needMore", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (bool) SWIG_AsBool(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 (arg1
)->RequestMore(arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19013 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "mode", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19022 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19041 char *kwnames
[] = {
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (int)wxIdleEvent::GetMode();
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= SWIG_FromInt((int)result
);
19060 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxWindow
*arg1
= (wxWindow
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "win", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)wxIdleEvent::CanSend(arg1
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19091 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19093 return Py_BuildValue((char *)"");
19095 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 int arg1
= (int) 0 ;
19098 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "winid",(char *) "commandType", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 arg1
= (int) SWIG_AsInt(obj0
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19129 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19157 PyObject
*arg2
= (PyObject
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self",(char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 (arg1
)->SetSelf(arg2
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (PyObject
*)(arg1
)->GetSelf();
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= result
;
19208 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19211 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19213 return Py_BuildValue((char *)"");
19215 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19218 int arg2
= (int) 0 ;
19219 wxPyCommandEvent
*result
;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "commandType",(char *) "id", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 arg2
= (int) SWIG_AsInt(obj1
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19249 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 Py_INCREF(Py_None
); resultobj
= Py_None
;
19274 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19277 PyObject
*arg2
= (PyObject
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self",(char *) "self", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->SetSelf(arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= (PyObject
*)(arg1
)->GetSelf();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= result
;
19328 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19331 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19333 return Py_BuildValue((char *)"");
19335 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19338 char *kwnames
[] = {
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (wxPyApp
*)new_wxPyApp();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= wxPyMake_wxObject(result
);
19359 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19387 PyObject
*arg2
= (PyObject
*) 0 ;
19388 PyObject
*arg3
= (PyObject
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 PyObject
* obj2
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "self",(char *) "_class", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19447 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19450 wxString
*arg2
= 0 ;
19451 bool temp2
= False
;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "name", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 arg2
= wxString_in_helper(obj1
);
19463 if (arg2
== NULL
) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetAppName((wxString
const &)*arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19520 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19523 wxString
*arg2
= 0 ;
19524 bool temp2
= False
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "name", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 arg2
= wxString_in_helper(obj1
);
19536 if (arg2
== NULL
) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 (arg1
)->SetClassName((wxString
const &)*arg2
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 Py_INCREF(Py_None
); resultobj
= Py_None
;
19561 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19577 result
= (wxString
*) &_result_ref
;
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19596 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19599 wxString
*arg2
= 0 ;
19600 bool temp2
= False
;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "name", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 arg2
= wxString_in_helper(obj1
);
19612 if (arg2
== NULL
) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 Py_INCREF(Py_None
); resultobj
= Py_None
;
19637 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19640 wxAppTraits
*result
;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19663 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 (arg1
)->ProcessPendingEvents();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 Py_INCREF(Py_None
); resultobj
= Py_None
;
19688 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19691 bool arg2
= (bool) False
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "onlyIfNeeded", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 arg2
= (bool) SWIG_AsBool(obj1
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (bool)(arg1
)->Yield(arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19722 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 (arg1
)->WakeUpIdle();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 Py_INCREF(Py_None
); resultobj
= Py_None
;
19747 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (int)(arg1
)->MainLoop();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_FromInt((int)result
);
19773 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 Py_INCREF(Py_None
); resultobj
= Py_None
;
19798 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->ExitMainLoop();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (bool)(arg1
)->Pending();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19851 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (bool)(arg1
)->Dispatch();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19879 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 result
= (bool)(arg1
)->ProcessIdle();
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19907 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19910 wxWindow
*arg2
= (wxWindow
*) 0 ;
19911 wxIdleEvent
*arg3
= 0 ;
19913 PyObject
* obj0
= 0 ;
19914 PyObject
* obj1
= 0 ;
19915 PyObject
* obj2
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "win",(char *) "event", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19928 if (arg3
== NULL
) {
19929 PyErr_SetString(PyExc_TypeError
,"null reference");
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19948 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19976 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19979 wxWindow
*arg2
= (wxWindow
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "win", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 (arg1
)->SetTopWindow(arg2
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= wxPyMake_wxObject(result
);
20033 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self",(char *) "flag", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 arg2
= (bool) SWIG_AsBool(obj1
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetExitOnFrameDelete(arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20062 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "flag", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 arg2
= (bool) SWIG_AsBool(obj1
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 (arg1
)->SetUseBestVisual(arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20119 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20147 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "mode", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 arg2
= (int) SWIG_AsInt(obj1
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 (arg1
)->SetPrintMode(arg2
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 Py_INCREF(Py_None
); resultobj
= Py_None
;
20176 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_FromInt((int)result
);
20202 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "mode", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 arg2
= (int) SWIG_AsInt(obj1
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->SetAssertMode(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (int)(arg1
)->GetAssertMode();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_FromInt((int)result
);
20257 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20260 char *kwnames
[] = {
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20281 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20284 char *kwnames
[] = {
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_FromLong((long)result
);
20303 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20306 char *kwnames
[] = {
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_FromLong((long)result
);
20325 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20328 char *kwnames
[] = {
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (long)wxPyApp::GetMacExitMenuItemId();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_FromLong((long)result
);
20347 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20350 char *kwnames
[] = {
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= wxPyApp::GetMacHelpMenuTitleName();
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20375 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "val", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20384 arg1
= (bool) SWIG_AsBool(obj0
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 Py_INCREF(Py_None
); resultobj
= Py_None
;
20400 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "val", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20409 arg1
= (long) SWIG_AsLong(obj0
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 wxPyApp::SetMacAboutMenuItemId(arg1
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 Py_INCREF(Py_None
); resultobj
= Py_None
;
20425 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "val", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20434 arg1
= (long) SWIG_AsLong(obj0
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 Py_INCREF(Py_None
); resultobj
= Py_None
;
20450 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "val", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20459 arg1
= (long) SWIG_AsLong(obj0
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 wxPyApp::SetMacExitMenuItemId(arg1
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 Py_INCREF(Py_None
); resultobj
= Py_None
;
20475 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxString
*arg1
= 0 ;
20478 bool temp1
= False
;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "val", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20486 arg1
= wxString_in_helper(obj0
);
20487 if (arg1
== NULL
) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20512 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->_BootstrapApp();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20540 char *kwnames
[] = {
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (int)PyApp_GetComCtl32Version();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_FromInt((int)result
);
20559 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20562 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20564 return Py_BuildValue((char *)"");
20566 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 char *kwnames
[] = {
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 Py_INCREF(Py_None
); resultobj
= Py_None
;
20587 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20590 char *kwnames
[] = {
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)wxYield();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20614 char *kwnames
[] = {
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (bool)wxYieldIfNeeded();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20635 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxWindow
*arg1
= (wxWindow
*) NULL
;
20638 bool arg2
= (bool) False
;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "win",(char *) "onlyIfNeeded", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 arg2
= (bool) SWIG_AsBool(obj1
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (bool)wxSafeYield(arg1
,arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20671 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 char *kwnames
[] = {
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 Py_INCREF(Py_None
); resultobj
= Py_None
;
20692 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20695 wxEvent
*arg2
= 0 ;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "dest",(char *) "event", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20708 if (arg2
== NULL
) {
20709 PyErr_SetString(PyExc_TypeError
,"null reference");
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 wxPostEvent(arg1
,*arg2
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 Py_INCREF(Py_None
); resultobj
= Py_None
;
20726 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 char *kwnames
[] = {
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20750 char *kwnames
[] = {
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxPyApp
*)wxPyGetApp();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= wxPyMake_wxObject(result
);
20771 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 int arg1
= (int) 0 ;
20774 int arg2
= (int) 0 ;
20775 int arg3
= (int) 0 ;
20776 wxAcceleratorEntry
*result
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20786 arg1
= (int) SWIG_AsInt(obj0
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 arg2
= (int) SWIG_AsInt(obj1
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 arg3
= (int) SWIG_AsInt(obj2
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20811 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 Py_INCREF(Py_None
); resultobj
= Py_None
;
20836 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 PyObject
* obj2
= 0 ;
20845 PyObject
* obj3
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 arg2
= (int) SWIG_AsInt(obj1
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20855 arg3
= (int) SWIG_AsInt(obj2
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20857 arg4
= (int) SWIG_AsInt(obj3
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->Set(arg2
,arg3
,arg4
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 Py_INCREF(Py_None
); resultobj
= Py_None
;
20873 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (int)(arg1
)->GetFlags();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_FromInt((int)result
);
20899 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)(arg1
)->GetKeyCode();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_FromInt((int)result
);
20925 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (int)(arg1
)->GetCommand();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_FromInt((int)result
);
20951 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20954 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20956 return Py_BuildValue((char *)"");
20958 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20961 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20962 wxAcceleratorTable
*result
;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20970 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20971 if (arg2
) arg1
= PyList_Size(obj0
);
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20994 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 Py_INCREF(Py_None
); resultobj
= Py_None
;
21019 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 char *kwnames
[] = {
21025 (char *) "self", NULL
21028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21050 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21052 return Py_BuildValue((char *)"");
21054 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21055 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21060 static PyObject
*_wrap_NullAcceleratorTable_get() {
21063 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21068 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxString
*arg1
= 0 ;
21071 wxAcceleratorEntry
*result
;
21072 bool temp1
= False
;
21073 PyObject
* obj0
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "label", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21080 arg1
= wxString_in_helper(obj0
);
21081 if (arg1
== NULL
) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21106 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21107 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21112 static PyObject
*_wrap_PanelNameStr_get() {
21117 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21119 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21126 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxVisualAttributes
*result
;
21129 char *kwnames
[] = {
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21148 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 delete_wxVisualAttributes(arg1
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21176 wxFont
*arg2
= (wxFont
*) 0 ;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self",(char *) "font", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21188 if (arg1
) (arg1
)->font
= *arg2
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 result
= (wxFont
*)& ((arg1
)->font
);
21211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21218 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21221 wxColour
*arg2
= (wxColour
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "colFg", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21233 if (arg1
) (arg1
)->colFg
= *arg2
;
21235 Py_INCREF(Py_None
); resultobj
= Py_None
;
21242 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 result
= (wxColour
*)& ((arg1
)->colFg
);
21256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21263 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21266 wxColour
*arg2
= (wxColour
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "colBg", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 if (arg1
) (arg1
)->colBg
= *arg2
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 result
= (wxColour
*)& ((arg1
)->colBg
);
21301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21308 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21311 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21313 return Py_BuildValue((char *)"");
21315 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxWindow
*arg1
= (wxWindow
*) 0 ;
21318 int arg2
= (int) (int)-1 ;
21319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21321 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21322 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21323 long arg5
= (long) 0 ;
21324 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21325 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21329 bool temp6
= False
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj2
= 0 ;
21333 PyObject
* obj3
= 0 ;
21334 PyObject
* obj4
= 0 ;
21335 PyObject
* obj5
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21344 arg2
= (int const) SWIG_AsInt(obj1
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21360 arg5
= (long) SWIG_AsLong(obj4
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21365 arg6
= wxString_in_helper(obj5
);
21366 if (arg6
== NULL
) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= wxPyMake_wxObject(result
);
21394 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21397 char *kwnames
[] = {
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxWindow
*)new wxWindow();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= wxPyMake_wxObject(result
);
21418 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxWindow
*arg1
= (wxWindow
*) 0 ;
21421 wxWindow
*arg2
= (wxWindow
*) 0 ;
21422 int arg3
= (int) (int)-1 ;
21423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21427 long arg6
= (long) 0 ;
21428 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21433 bool temp7
= False
;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 PyObject
* obj3
= 0 ;
21438 PyObject
* obj4
= 0 ;
21439 PyObject
* obj5
= 0 ;
21440 PyObject
* obj6
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 arg3
= (int const) SWIG_AsInt(obj2
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21467 arg6
= (long) SWIG_AsLong(obj5
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21472 arg7
= wxString_in_helper(obj6
);
21473 if (arg7
== NULL
) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21501 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxWindow
*arg1
= (wxWindow
*) 0 ;
21504 bool arg2
= (bool) False
;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "force", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 arg2
= (bool) SWIG_AsBool(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (bool)(arg1
)->Close(arg2
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21535 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxWindow
*arg1
= (wxWindow
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (bool)(arg1
)->Destroy();
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21563 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxWindow
*arg1
= (wxWindow
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (bool)(arg1
)->DestroyChildren();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21591 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxWindow
*arg1
= (wxWindow
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21619 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxWindow
*arg1
= (wxWindow
*) 0 ;
21622 wxString
*arg2
= 0 ;
21623 bool temp2
= False
;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "title", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 arg2
= wxString_in_helper(obj1
);
21635 if (arg2
== NULL
) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 (arg1
)->SetTitle((wxString
const &)*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21660 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxWindow
*arg1
= (wxWindow
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= ((wxWindow
const *)arg1
)->GetTitle();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21692 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxWindow
*arg1
= (wxWindow
*) 0 ;
21695 wxString
*arg2
= 0 ;
21696 bool temp2
= False
;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "label", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 arg2
= wxString_in_helper(obj1
);
21708 if (arg2
== NULL
) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 (arg1
)->SetLabel((wxString
const &)*arg2
);
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxWindow
*arg1
= (wxWindow
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= ((wxWindow
const *)arg1
)->GetLabel();
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21765 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxWindow
*arg1
= (wxWindow
*) 0 ;
21768 wxString
*arg2
= 0 ;
21769 bool temp2
= False
;
21770 PyObject
* obj0
= 0 ;
21771 PyObject
* obj1
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "self",(char *) "name", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 arg2
= wxString_in_helper(obj1
);
21781 if (arg2
== NULL
) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 (arg1
)->SetName((wxString
const &)*arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxWindow
*arg1
= (wxWindow
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= ((wxWindow
const *)arg1
)->GetName();
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21838 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxWindow
*arg1
= (wxWindow
*) 0 ;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "variant", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxWindow
*arg1
= (wxWindow
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_FromInt((int)result
);
21893 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxWindow
*arg1
= (wxWindow
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "winid", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21906 arg2
= (int) SWIG_AsInt(obj1
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 (arg1
)->SetId(arg2
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 Py_INCREF(Py_None
); resultobj
= Py_None
;
21922 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxWindow
*arg1
= (wxWindow
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (int)((wxWindow
const *)arg1
)->GetId();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_FromInt((int)result
);
21948 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21951 char *kwnames
[] = {
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (int)wxWindow::NewControlId();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_FromInt((int)result
);
21970 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21974 PyObject
* obj0
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "winid", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21980 arg1
= (int) SWIG_AsInt(obj0
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (int)wxWindow::NextControlId(arg1
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_FromInt((int)result
);
21996 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
22000 PyObject
* obj0
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "winid", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22006 arg1
= (int) SWIG_AsInt(obj0
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= (int)wxWindow::PrevControlId(arg1
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= SWIG_FromInt((int)result
);
22022 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxWindow
*arg1
= (wxWindow
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "size", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 (arg1
)->SetSize((wxSize
const &)*arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 Py_INCREF(Py_None
); resultobj
= Py_None
;
22054 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxWindow
*arg1
= (wxWindow
*) 0 ;
22061 int arg6
= (int) wxSIZE_AUTO
;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 PyObject
* obj3
= 0 ;
22066 PyObject
* obj4
= 0 ;
22067 PyObject
* obj5
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 arg2
= (int) SWIG_AsInt(obj1
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22077 arg3
= (int) SWIG_AsInt(obj2
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22079 arg4
= (int) SWIG_AsInt(obj3
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22081 arg5
= (int) SWIG_AsInt(obj4
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 arg6
= (int) SWIG_AsInt(obj5
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxWindow
*arg1
= (wxWindow
*) 0 ;
22105 int arg3
= (int) wxSIZE_AUTO
;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22122 arg3
= (int) SWIG_AsInt(obj2
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22139 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxWindow
*arg1
= (wxWindow
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "width",(char *) "height", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 arg2
= (int) SWIG_AsInt(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22156 arg3
= (int) SWIG_AsInt(obj2
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->SetSize(arg2
,arg3
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxWindow
*arg1
= (wxWindow
*) 0 ;
22175 wxPoint
*arg2
= 0 ;
22176 int arg3
= (int) wxSIZE_USE_EXISTING
;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "pt",(char *) "flags", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22193 arg3
= (int) SWIG_AsInt(obj2
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxWindow
*arg1
= (wxWindow
*) 0 ;
22215 int arg4
= (int) wxSIZE_USE_EXISTING
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 PyObject
* obj3
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 arg2
= (int) SWIG_AsInt(obj1
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22229 arg3
= (int) SWIG_AsInt(obj2
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 arg4
= (int) SWIG_AsInt(obj3
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 (arg1
)->Move(arg2
,arg3
,arg4
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxWindow
*arg1
= (wxWindow
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxWindow
*arg1
= (wxWindow
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22299 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxWindow
*arg1
= (wxWindow
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "size", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22331 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxWindow
*arg1
= (wxWindow
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 PyObject
* obj2
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self",(char *) "width",(char *) "height", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 arg2
= (int) SWIG_AsInt(obj1
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22348 arg3
= (int) SWIG_AsInt(obj2
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->SetClientSize(arg2
,arg3
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 Py_INCREF(Py_None
); resultobj
= Py_None
;
22364 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxWindow
*arg1
= (wxWindow
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self",(char *) "rect", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22380 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 Py_INCREF(Py_None
); resultobj
= Py_None
;
22396 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxWindow
*arg1
= (wxWindow
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (arg1
)->GetPosition();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 wxPoint
* resultptr
;
22417 resultptr
= new wxPoint((wxPoint
&) result
);
22418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22426 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxWindow
*arg1
= (wxWindow
*) 0 ;
22429 int *arg2
= (int *) 0 ;
22430 int *arg3
= (int *) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->GetPosition(arg2
,arg3
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22453 resultobj
= t_output_helper(resultobj
,o
);
22456 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22457 resultobj
= t_output_helper(resultobj
,o
);
22465 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxWindow
*arg1
= (wxWindow
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= ((wxWindow
const *)arg1
)->GetSize();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 wxSize
* resultptr
;
22486 resultptr
= new wxSize((wxSize
&) result
);
22487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22495 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxWindow
*arg1
= (wxWindow
*) 0 ;
22498 int *arg2
= (int *) 0 ;
22499 int *arg3
= (int *) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22522 resultobj
= t_output_helper(resultobj
,o
);
22525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22526 resultobj
= t_output_helper(resultobj
,o
);
22534 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxWindow
*arg1
= (wxWindow
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= ((wxWindow
const *)arg1
)->GetRect();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 wxRect
* resultptr
;
22555 resultptr
= new wxRect((wxRect
&) result
);
22556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22564 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxWindow
*arg1
= (wxWindow
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 wxSize
* resultptr
;
22585 resultptr
= new wxSize((wxSize
&) result
);
22586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22594 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxWindow
*arg1
= (wxWindow
*) 0 ;
22597 int *arg2
= (int *) 0 ;
22598 int *arg3
= (int *) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22621 resultobj
= t_output_helper(resultobj
,o
);
22624 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22625 resultobj
= t_output_helper(resultobj
,o
);
22633 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxWindow
*arg1
= (wxWindow
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 wxPoint
* resultptr
;
22654 resultptr
= new wxPoint((wxPoint
&) result
);
22655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22663 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxWindow
*arg1
= (wxWindow
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 wxRect
* resultptr
;
22684 resultptr
= new wxRect((wxRect
&) result
);
22685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22693 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxWindow
*arg1
= (wxWindow
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 wxSize
* resultptr
;
22714 resultptr
= new wxSize((wxSize
&) result
);
22715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22723 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxWindow
*arg1
= (wxWindow
*) 0 ;
22726 int *arg2
= (int *) 0 ;
22727 int *arg3
= (int *) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 Py_INCREF(Py_None
); resultobj
= Py_None
;
22749 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22750 resultobj
= t_output_helper(resultobj
,o
);
22753 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22754 resultobj
= t_output_helper(resultobj
,o
);
22762 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxWindow
*arg1
= (wxWindow
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 wxSize
* resultptr
;
22783 resultptr
= new wxSize((wxSize
&) result
);
22784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22792 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxWindow
*arg1
= (wxWindow
*) 0 ;
22795 int arg2
= (int) wxBOTH
;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "direction", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 arg2
= (int) SWIG_AsInt(obj1
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->Center(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxWindow
*arg1
= (wxWindow
*) 0 ;
22826 int arg2
= (int) wxBOTH
;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "dir", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22837 arg2
= (int) SWIG_AsInt(obj1
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 (arg1
)->CenterOnScreen(arg2
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 Py_INCREF(Py_None
); resultobj
= Py_None
;
22854 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxWindow
*arg1
= (wxWindow
*) 0 ;
22857 int arg2
= (int) wxBOTH
;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "dir", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 arg2
= (int) SWIG_AsInt(obj1
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 (arg1
)->CenterOnParent(arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 Py_INCREF(Py_None
); resultobj
= Py_None
;
22885 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxWindow
*arg1
= (wxWindow
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 Py_INCREF(Py_None
); resultobj
= Py_None
;
22910 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxWindow
*arg1
= (wxWindow
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->FitInside();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 Py_INCREF(Py_None
); resultobj
= Py_None
;
22935 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22936 PyObject
*resultobj
;
22937 wxWindow
*arg1
= (wxWindow
*) 0 ;
22940 int arg4
= (int) -1 ;
22941 int arg5
= (int) -1 ;
22942 int arg6
= (int) -1 ;
22943 int arg7
= (int) -1 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 PyObject
* obj2
= 0 ;
22947 PyObject
* obj3
= 0 ;
22948 PyObject
* obj4
= 0 ;
22949 PyObject
* obj5
= 0 ;
22950 PyObject
* obj6
= 0 ;
22952 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 arg2
= (int) SWIG_AsInt(obj1
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22957 arg3
= (int) SWIG_AsInt(obj2
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 arg4
= (int) SWIG_AsInt(obj3
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22964 arg5
= (int) SWIG_AsInt(obj4
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22968 arg6
= (int) SWIG_AsInt(obj5
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 arg7
= (int) SWIG_AsInt(obj6
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 Py_INCREF(Py_None
); resultobj
= Py_None
;
22989 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22990 PyObject
*resultobj
;
22991 wxWindow
*arg1
= (wxWindow
*) 0 ;
22993 wxSize
const &arg3_defvalue
= wxDefaultSize
;
22994 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
22995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 PyObject
* obj2
= 0 ;
23003 PyObject
* obj3
= 0 ;
23005 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23015 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23043 argc
= PyObject_Length(args
);
23044 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23045 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23047 if ((argc
>= 2) && (argc
<= 4)) {
23051 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23060 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23064 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23067 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23071 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23074 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23077 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23083 if ((argc
>= 3) && (argc
<= 7)) {
23087 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23095 _v
= SWIG_CheckInt(argv
[1]);
23097 _v
= SWIG_CheckInt(argv
[2]);
23100 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23102 _v
= SWIG_CheckInt(argv
[3]);
23105 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23107 _v
= SWIG_CheckInt(argv
[4]);
23110 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23112 _v
= SWIG_CheckInt(argv
[5]);
23115 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23117 _v
= SWIG_CheckInt(argv
[6]);
23119 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23129 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23134 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23135 PyObject
*resultobj
;
23136 wxWindow
*arg1
= (wxWindow
*) 0 ;
23139 int arg4
= (int) -1 ;
23140 int arg5
= (int) -1 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 PyObject
* obj2
= 0 ;
23144 PyObject
* obj3
= 0 ;
23145 PyObject
* obj4
= 0 ;
23147 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 arg2
= (int) SWIG_AsInt(obj1
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23152 arg3
= (int) SWIG_AsInt(obj2
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 arg4
= (int) SWIG_AsInt(obj3
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 arg5
= (int) SWIG_AsInt(obj4
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 Py_INCREF(Py_None
); resultobj
= Py_None
;
23176 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23177 PyObject
*resultobj
;
23178 wxWindow
*arg1
= (wxWindow
*) 0 ;
23180 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23181 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 PyObject
* obj2
= 0 ;
23188 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23198 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 Py_INCREF(Py_None
); resultobj
= Py_None
;
23215 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23220 argc
= PyObject_Length(args
);
23221 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23224 if ((argc
>= 2) && (argc
<= 3)) {
23228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23237 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23241 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23244 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23247 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23252 if ((argc
>= 3) && (argc
<= 5)) {
23256 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23264 _v
= SWIG_CheckInt(argv
[1]);
23266 _v
= SWIG_CheckInt(argv
[2]);
23269 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23271 _v
= SWIG_CheckInt(argv
[3]);
23274 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23276 _v
= SWIG_CheckInt(argv
[4]);
23278 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23286 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23291 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxWindow
*arg1
= (wxWindow
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_FromInt((int)result
);
23317 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxWindow
*arg1
= (wxWindow
*) 0 ;
23321 PyObject
* obj0
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 resultobj
= SWIG_FromInt((int)result
);
23343 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxWindow
*arg1
= (wxWindow
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_FromInt((int)result
);
23369 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxWindow
*arg1
= (wxWindow
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_FromInt((int)result
);
23395 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 wxSize
* resultptr
;
23416 resultptr
= new wxSize((wxSize
&) result
);
23417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23425 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxWindow
*arg1
= (wxWindow
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23445 wxSize
* resultptr
;
23446 resultptr
= new wxSize((wxSize
&) result
);
23447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23455 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "size", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxWindow
*arg1
= (wxWindow
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 PyObject
* obj2
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "w",(char *) "h", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 arg2
= (int) SWIG_AsInt(obj1
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23504 arg3
= (int) SWIG_AsInt(obj2
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetVirtualSize(arg2
,arg3
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxWindow
*arg1
= (wxWindow
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 wxSize
* resultptr
;
23541 resultptr
= new wxSize((wxSize
&) result
);
23542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23550 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxWindow
*arg1
= (wxWindow
*) 0 ;
23553 int *arg2
= (int *) 0 ;
23554 int *arg3
= (int *) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 Py_INCREF(Py_None
); resultobj
= Py_None
;
23576 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23577 resultobj
= t_output_helper(resultobj
,o
);
23580 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23581 resultobj
= t_output_helper(resultobj
,o
);
23589 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxWindow
*arg1
= (wxWindow
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23609 wxSize
* resultptr
;
23610 resultptr
= new wxSize((wxSize
&) result
);
23611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23619 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxWindow
*arg1
= (wxWindow
*) 0 ;
23622 bool arg2
= (bool) True
;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "show", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23634 arg2
= (bool) SWIG_AsBool(obj1
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)(arg1
)->Show(arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxWindow
*arg1
= (wxWindow
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (bool)(arg1
)->Hide();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23681 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxWindow
*arg1
= (wxWindow
*) 0 ;
23684 bool arg2
= (bool) True
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "enable", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 arg2
= (bool) SWIG_AsBool(obj1
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (bool)(arg1
)->Enable(arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23715 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxWindow
*arg1
= (wxWindow
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (bool)(arg1
)->Disable();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23743 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23771 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxWindow
*arg1
= (wxWindow
*) 0 ;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23799 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxWindow
*arg1
= (wxWindow
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self",(char *) "style", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 arg2
= (long) SWIG_AsLong(obj1
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 (arg1
)->SetWindowStyleFlag(arg2
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 Py_INCREF(Py_None
); resultobj
= Py_None
;
23828 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxWindow
*arg1
= (wxWindow
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_FromLong((long)result
);
23854 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxWindow
*arg1
= (wxWindow
*) 0 ;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self",(char *) "flag", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23868 arg2
= (int) SWIG_AsInt(obj1
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23886 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxWindow
*arg1
= (wxWindow
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23914 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxWindow
*arg1
= (wxWindow
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "exStyle", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 arg2
= (long) SWIG_AsLong(obj1
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 (arg1
)->SetExtraStyle(arg2
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 Py_INCREF(Py_None
); resultobj
= Py_None
;
23943 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
;
23945 wxWindow
*arg1
= (wxWindow
*) 0 ;
23947 PyObject
* obj0
= 0 ;
23948 char *kwnames
[] = {
23949 (char *) "self", NULL
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_FromLong((long)result
);
23969 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxWindow
*arg1
= (wxWindow
*) 0 ;
23972 bool arg2
= (bool) True
;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "modal", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 arg2
= (bool) SWIG_AsBool(obj1
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 (arg1
)->MakeModal(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 Py_INCREF(Py_None
); resultobj
= Py_None
;
24000 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxWindow
*arg1
= (wxWindow
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "enableTheme", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 arg2
= (bool) SWIG_AsBool(obj1
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->SetThemeEnabled(arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxWindow
*arg1
= (wxWindow
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24057 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxWindow
*arg1
= (wxWindow
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 (arg1
)->SetFocus();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxWindow
*arg1
= (wxWindow
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 (arg1
)->SetFocusFromKbd();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 Py_INCREF(Py_None
); resultobj
= Py_None
;
24107 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24110 char *kwnames
[] = {
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxWindow
*)wxWindow::FindFocus();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= wxPyMake_wxObject(result
);
24131 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxWindow
*arg1
= (wxWindow
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24159 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxWindow
*arg1
= (wxWindow
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24187 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= wxPyMake_wxObject(result
);
24215 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24218 wxWindow
*arg2
= (wxWindow
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "child", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= wxPyMake_wxObject(result
);
24247 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxWindow
*arg1
= (wxWindow
*) 0 ;
24250 wxWindow
*arg2
= (wxWindow
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "win", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->SetTmpDefaultItem(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxWindow
*arg1
= (wxWindow
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= result
;
24302 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxWindow
*arg1
= (wxWindow
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= wxPyMake_wxObject(result
);
24330 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxWindow
*arg1
= (wxWindow
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= wxPyMake_wxObject(result
);
24358 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxWindow
*arg1
= (wxWindow
*) 0 ;
24362 PyObject
* obj0
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24386 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxWindow
*arg1
= (wxWindow
*) 0 ;
24389 wxWindow
*arg2
= (wxWindow
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self",(char *) "newParent", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (bool)(arg1
)->Reparent(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24418 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24421 wxWindow
*arg2
= (wxWindow
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "child", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->AddChild(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24447 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxWindow
*arg1
= (wxWindow
*) 0 ;
24450 wxWindow
*arg2
= (wxWindow
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self",(char *) "child", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 (arg1
)->RemoveChild(arg2
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 Py_INCREF(Py_None
); resultobj
= Py_None
;
24476 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxWindow
*arg1
= (wxWindow
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self",(char *) "winid", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 arg2
= (long) SWIG_AsLong(obj1
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= wxPyMake_wxObject(result
);
24508 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxWindow
*arg1
= (wxWindow
*) 0 ;
24511 wxString
*arg2
= 0 ;
24513 bool temp2
= False
;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "name", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 arg2
= wxString_in_helper(obj1
);
24525 if (arg2
== NULL
) SWIG_fail
;
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= wxPyMake_wxObject(result
);
24552 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxWindow
*arg1
= (wxWindow
*) 0 ;
24555 wxEvtHandler
*result
;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= wxPyMake_wxObject(result
);
24580 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxWindow
*arg1
= (wxWindow
*) 0 ;
24583 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "handler", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetEventHandler(arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxWindow
*arg1
= (wxWindow
*) 0 ;
24612 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "handler", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->PushEventHandler(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxWindow
*arg1
= (wxWindow
*) 0 ;
24641 bool arg2
= (bool) False
;
24642 wxEvtHandler
*result
;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "deleteHandler", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 arg2
= (bool) SWIG_AsBool(obj1
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= wxPyMake_wxObject(result
);
24672 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxWindow
*arg1
= (wxWindow
*) 0 ;
24675 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "handler", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxWindow
*arg1
= (wxWindow
*) 0 ;
24707 wxValidator
*arg2
= 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "validator", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24720 if (arg2
== NULL
) {
24721 PyErr_SetString(PyExc_TypeError
,"null reference");
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 Py_INCREF(Py_None
); resultobj
= Py_None
;
24738 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxWindow
*arg1
= (wxWindow
*) 0 ;
24741 wxValidator
*result
;
24742 PyObject
* obj0
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (wxValidator
*)(arg1
)->GetValidator();
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= wxPyMake_wxObject(result
);
24766 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxWindow
*arg1
= (wxWindow
*) 0 ;
24770 PyObject
* obj0
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (bool)(arg1
)->Validate();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (bool)(arg1
)->TransferDataToWindow();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24822 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxWindow
*arg1
= (wxWindow
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (bool)(arg1
)->TransferDataFromWindow();
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24850 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxWindow
*arg1
= (wxWindow
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 (arg1
)->InitDialog();
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 Py_INCREF(Py_None
); resultobj
= Py_None
;
24875 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxWindow
*arg1
= (wxWindow
*) 0 ;
24878 wxAcceleratorTable
*arg2
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "accel", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24891 if (arg2
== NULL
) {
24892 PyErr_SetString(PyExc_TypeError
,"null reference");
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxWindow
*arg1
= (wxWindow
*) 0 ;
24912 wxAcceleratorTable
*result
;
24913 PyObject
* obj0
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24935 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxWindow
*arg1
= (wxWindow
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 PyObject
* obj2
= 0 ;
24945 PyObject
* obj3
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24953 arg2
= (int) SWIG_AsInt(obj1
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24955 arg3
= (int) SWIG_AsInt(obj2
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24957 arg4
= (int) SWIG_AsInt(obj3
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24975 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "hotkeyId", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 arg2
= (int) SWIG_AsInt(obj1
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25007 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxWindow
*arg1
= (wxWindow
*) 0 ;
25010 wxPoint
*arg2
= 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self",(char *) "pt", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25034 wxPoint
* resultptr
;
25035 resultptr
= new wxPoint((wxPoint
&) result
);
25036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25044 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxWindow
*arg1
= (wxWindow
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "sz", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25071 wxSize
* resultptr
;
25072 resultptr
= new wxSize((wxSize
&) result
);
25073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25081 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25084 wxPoint
*arg2
= 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "pt", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 wxPoint
* resultptr
;
25109 resultptr
= new wxPoint((wxPoint
&) result
);
25110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25118 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxWindow
*arg1
= (wxWindow
*) 0 ;
25124 PyObject
* obj0
= 0 ;
25125 PyObject
* obj1
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self",(char *) "sz", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 wxSize
* resultptr
;
25146 resultptr
= new wxSize((wxSize
&) result
);
25147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25155 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxWindow
*arg1
= (wxWindow
*) 0 ;
25158 wxPoint
*arg2
= 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self",(char *) "pt", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 wxPoint
* resultptr
;
25183 resultptr
= new wxPoint((wxPoint
&) result
);
25184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25192 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxWindow
*arg1
= (wxWindow
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "sz", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 wxSize
* resultptr
;
25220 resultptr
= new wxSize((wxSize
&) result
);
25221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25229 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxWindow
*arg1
= (wxWindow
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "x",(char *) "y", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 arg2
= (int) SWIG_AsInt(obj1
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25246 arg3
= (int) SWIG_AsInt(obj2
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->WarpPointer(arg2
,arg3
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxWindow
*arg1
= (wxWindow
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 char *kwnames
[] = {
25267 (char *) "self", NULL
25270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 (arg1
)->CaptureMouse();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 Py_INCREF(Py_None
); resultobj
= Py_None
;
25287 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxWindow
*arg1
= (wxWindow
*) 0 ;
25290 PyObject
* obj0
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->ReleaseMouse();
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25315 char *kwnames
[] = {
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (wxWindow
*)wxWindow::GetCapture();
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= wxPyMake_wxObject(result
);
25336 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxWindow
*arg1
= (wxWindow
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25364 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 bool arg2
= (bool) True
;
25368 wxRect
*arg3
= (wxRect
*) NULL
;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 PyObject
* obj2
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 arg2
= (bool) SWIG_AsBool(obj1
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 Py_INCREF(Py_None
); resultobj
= Py_None
;
25401 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self",(char *) "rect", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25417 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 Py_INCREF(Py_None
); resultobj
= Py_None
;
25433 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxWindow
*arg1
= (wxWindow
*) 0 ;
25436 PyObject
* obj0
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 Py_INCREF(Py_None
); resultobj
= Py_None
;
25458 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->ClearBackground();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxWindow
*arg1
= (wxWindow
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxWindow
*arg1
= (wxWindow
*) 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "dc", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25549 if (arg2
== NULL
) {
25550 PyErr_SetString(PyExc_TypeError
,"null reference");
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 (arg1
)->PrepareDC(*arg2
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 Py_INCREF(Py_None
); resultobj
= Py_None
;
25567 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxWindow
*arg1
= (wxWindow
*) 0 ;
25571 PyObject
* obj0
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "self", NULL
25576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25583 result
= (wxRegion
*) &_result_ref
;
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25596 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxWindow
*arg1
= (wxWindow
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 wxRect
* resultptr
;
25617 resultptr
= new wxRect((wxRect
&) result
);
25618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25626 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxWindow
*arg1
= (wxWindow
*) 0 ;
25631 int arg4
= (int) 1 ;
25632 int arg5
= (int) 1 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 PyObject
* obj2
= 0 ;
25637 PyObject
* obj3
= 0 ;
25638 PyObject
* obj4
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25646 arg2
= (int) SWIG_AsInt(obj1
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25648 arg3
= (int) SWIG_AsInt(obj2
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 arg4
= (int) SWIG_AsInt(obj3
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25655 arg5
= (int) SWIG_AsInt(obj4
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxWindow
*arg1
= (wxWindow
*) 0 ;
25677 wxPoint
*arg2
= 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "self",(char *) "pt", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25709 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "rect", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25744 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxWindow
*arg1
= (wxWindow
*) 0 ;
25747 wxVisualAttributes result
;
25748 PyObject
* obj0
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 wxVisualAttributes
* resultptr
;
25765 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25774 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25777 wxVisualAttributes result
;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "variant", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25785 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25796 wxVisualAttributes
* resultptr
;
25797 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25806 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxWindow
*arg1
= (wxWindow
*) 0 ;
25809 wxColour
*arg2
= 0 ;
25812 PyObject
* obj0
= 0 ;
25813 PyObject
* obj1
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self",(char *) "colour", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25841 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxWindow
*arg1
= (wxWindow
*) 0 ;
25844 wxColour
*arg2
= 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "colour", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 Py_INCREF(Py_None
); resultobj
= Py_None
;
25873 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 wxColour
*arg2
= 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "colour", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25908 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxWindow
*arg1
= (wxWindow
*) 0 ;
25911 wxColour
*arg2
= 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "colour", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 wxColour
* resultptr
;
25961 resultptr
= new wxColour((wxColour
&) result
);
25962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25970 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxWindow
*arg1
= (wxWindow
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 wxColour
* resultptr
;
25991 resultptr
= new wxColour((wxColour
&) result
);
25992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26000 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 wxCursor
*arg2
= 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 char *kwnames
[] = {
26008 (char *) "self",(char *) "cursor", NULL
26011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26017 if (arg2
== NULL
) {
26018 PyErr_SetString(PyExc_TypeError
,"null reference");
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26037 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxWindow
*arg1
= (wxWindow
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26053 result
= (wxCursor
*) &_result_ref
;
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 wxCursor
* resultptr
= new wxCursor(*result
);
26061 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26069 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxWindow
*arg1
= (wxWindow
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "font", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26086 if (arg2
== NULL
) {
26087 PyErr_SetString(PyExc_TypeError
,"null reference");
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26106 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "font", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26122 if (arg2
== NULL
) {
26123 PyErr_SetString(PyExc_TypeError
,"null reference");
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 Py_INCREF(Py_None
); resultobj
= Py_None
;
26140 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxWindow
*arg1
= (wxWindow
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 wxFont
&_result_ref
= (arg1
)->GetFont();
26156 result
= (wxFont
*) &_result_ref
;
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 wxFont
* resultptr
= new wxFont(*result
);
26164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26172 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxWindow
*arg1
= (wxWindow
*) 0 ;
26175 wxCaret
*arg2
= (wxCaret
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "caret", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->SetCaret(arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 Py_INCREF(Py_None
); resultobj
= Py_None
;
26201 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxWindow
*arg1
= (wxWindow
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26227 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxWindow
*arg1
= (wxWindow
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_FromInt((int)result
);
26253 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxWindow
*arg1
= (wxWindow
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= SWIG_FromInt((int)result
);
26279 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxWindow
*arg1
= (wxWindow
*) 0 ;
26282 wxString
*arg2
= 0 ;
26283 int *arg3
= (int *) 0 ;
26284 int *arg4
= (int *) 0 ;
26285 bool temp2
= False
;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "string", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26300 arg2
= wxString_in_helper(obj1
);
26301 if (arg2
== NULL
) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26314 resultobj
= t_output_helper(resultobj
,o
);
26317 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26318 resultobj
= t_output_helper(resultobj
,o
);
26334 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 wxString
*arg2
= 0 ;
26338 int *arg3
= (int *) 0 ;
26339 int *arg4
= (int *) 0 ;
26340 int *arg5
= (int *) 0 ;
26341 int *arg6
= (int *) 0 ;
26342 wxFont
*arg7
= (wxFont
*) NULL
;
26343 bool temp2
= False
;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 PyObject
* obj2
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "string",(char *) "font", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26363 arg2
= wxString_in_helper(obj1
);
26364 if (arg2
== NULL
) SWIG_fail
;
26368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 Py_INCREF(Py_None
); resultobj
= Py_None
;
26380 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26381 resultobj
= t_output_helper(resultobj
,o
);
26384 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26385 resultobj
= t_output_helper(resultobj
,o
);
26388 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26389 resultobj
= t_output_helper(resultobj
,o
);
26392 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26393 resultobj
= t_output_helper(resultobj
,o
);
26409 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxWindow
*arg1
= (wxWindow
*) 0 ;
26412 int *arg2
= (int *) 0 ;
26413 int *arg3
= (int *) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 PyObject
* obj2
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "x",(char *) "y", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 temp2
= PyInt_AsLong(obj1
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26432 temp3
= PyInt_AsLong(obj2
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 Py_INCREF(Py_None
); resultobj
= Py_None
;
26445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26446 resultobj
= t_output_helper(resultobj
,o
);
26449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26450 resultobj
= t_output_helper(resultobj
,o
);
26458 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
;
26460 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 int *arg2
= (int *) 0 ;
26462 int *arg3
= (int *) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 PyObject
* obj2
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "x",(char *) "y", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26476 temp2
= PyInt_AsLong(obj1
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26481 temp3
= PyInt_AsLong(obj2
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26495 resultobj
= t_output_helper(resultobj
,o
);
26498 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26499 resultobj
= t_output_helper(resultobj
,o
);
26507 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxWindow
*arg1
= (wxWindow
*) 0 ;
26510 wxPoint
*arg2
= 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "pt", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26534 wxPoint
* resultptr
;
26535 resultptr
= new wxPoint((wxPoint
&) result
);
26536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26544 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxWindow
*arg1
= (wxWindow
*) 0 ;
26547 wxPoint
*arg2
= 0 ;
26550 PyObject
* obj0
= 0 ;
26551 PyObject
* obj1
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self",(char *) "pt", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 wxPoint
* resultptr
;
26572 resultptr
= new wxPoint((wxPoint
&) result
);
26573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26581 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxWindow
*arg1
= (wxWindow
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "x",(char *) "y", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 arg2
= (int) SWIG_AsInt(obj1
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26599 arg3
= (int) SWIG_AsInt(obj2
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_FromInt((int)result
);
26615 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxWindow
*arg1
= (wxWindow
*) 0 ;
26618 wxPoint
*arg2
= 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "pt", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_FromInt((int)result
);
26648 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26649 PyObject
*resultobj
;
26650 wxWindow
*arg1
= (wxWindow
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26656 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26659 arg2
= (long) SWIG_AsLong(obj1
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_FromInt((int)result
);
26675 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26676 PyObject
*resultobj
;
26677 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26681 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_FromInt((int)result
);
26698 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26703 argc
= PyObject_Length(args
);
26704 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26705 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26719 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26734 _v
= SWIG_CheckLong(argv
[1]);
26736 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26741 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26746 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxWindow
*arg1
= (wxWindow
*) 0 ;
26749 long arg2
= (long) wxUPDATE_UI_NONE
;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self",(char *) "flags", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26760 arg2
= (long) SWIG_AsLong(obj1
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 (arg1
)->UpdateWindowUI(arg2
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 Py_INCREF(Py_None
); resultobj
= Py_None
;
26777 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
;
26779 wxWindow
*arg1
= (wxWindow
*) 0 ;
26780 wxMenu
*arg2
= (wxMenu
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 PyObject
* obj1
= 0 ;
26786 PyObject
* obj2
= 0 ;
26787 PyObject
* obj3
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 arg3
= (int) SWIG_AsInt(obj2
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26799 arg4
= (int) SWIG_AsInt(obj3
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26817 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxWindow
*arg1
= (wxWindow
*) 0 ;
26820 wxMenu
*arg2
= (wxMenu
*) 0 ;
26821 wxPoint
*arg3
= 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 PyObject
* obj2
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "menu",(char *) "pos", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26856 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxWindow
*arg1
= (wxWindow
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (long)wxWindow_GetHandle(arg1
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= SWIG_FromLong((long)result
);
26882 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxWindow
*arg1
= (wxWindow
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "orient", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 arg2
= (int) SWIG_AsInt(obj1
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26914 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 bool arg6
= (bool) True
;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 PyObject
* obj2
= 0 ;
26925 PyObject
* obj3
= 0 ;
26926 PyObject
* obj4
= 0 ;
26927 PyObject
* obj5
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26935 arg2
= (int) SWIG_AsInt(obj1
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26937 arg3
= (int) SWIG_AsInt(obj2
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26939 arg4
= (int) SWIG_AsInt(obj3
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26941 arg5
= (int) SWIG_AsInt(obj4
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 arg6
= (bool) SWIG_AsBool(obj5
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 Py_INCREF(Py_None
); resultobj
= Py_None
;
26961 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxWindow
*arg1
= (wxWindow
*) 0 ;
26966 bool arg4
= (bool) True
;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 PyObject
* obj2
= 0 ;
26970 PyObject
* obj3
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26978 arg2
= (int) SWIG_AsInt(obj1
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26980 arg3
= (int) SWIG_AsInt(obj2
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 arg4
= (bool) SWIG_AsBool(obj3
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 Py_INCREF(Py_None
); resultobj
= Py_None
;
27000 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self",(char *) "orientation", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 arg2
= (int) SWIG_AsInt(obj1
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_FromInt((int)result
);
27030 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxWindow
*arg1
= (wxWindow
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "orientation", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 arg2
= (int) SWIG_AsInt(obj1
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_FromInt((int)result
);
27060 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxWindow
*arg1
= (wxWindow
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "orientation", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 arg2
= (int) SWIG_AsInt(obj1
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_FromInt((int)result
);
27090 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxWindow
*arg1
= (wxWindow
*) 0 ;
27095 wxRect
*arg4
= (wxRect
*) NULL
;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 PyObject
* obj3
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 arg2
= (int) SWIG_AsInt(obj1
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27109 arg3
= (int) SWIG_AsInt(obj2
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxWindow
*arg1
= (wxWindow
*) 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "lines", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 arg2
= (int) SWIG_AsInt(obj1
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (bool)(arg1
)->ScrollLines(arg2
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27161 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxWindow
*arg1
= (wxWindow
*) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "self",(char *) "pages", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27175 arg2
= (int) SWIG_AsInt(obj1
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (bool)(arg1
)->ScrollPages(arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxWindow
*arg1
= (wxWindow
*) 0 ;
27197 PyObject
* obj0
= 0 ;
27198 char *kwnames
[] = {
27199 (char *) "self", NULL
27202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (bool)(arg1
)->LineUp();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27221 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxWindow
*arg1
= (wxWindow
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (bool)(arg1
)->LineDown();
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27249 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxWindow
*arg1
= (wxWindow
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (bool)(arg1
)->PageUp();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27277 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxWindow
*arg1
= (wxWindow
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (bool)(arg1
)->PageDown();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27305 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 wxString
*arg2
= 0 ;
27309 bool temp2
= False
;
27310 PyObject
* obj0
= 0 ;
27311 PyObject
* obj1
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self",(char *) "text", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 arg2
= wxString_in_helper(obj1
);
27321 if (arg2
== NULL
) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27346 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 wxString
*arg2
= 0 ;
27350 bool temp2
= False
;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 char *kwnames
[] = {
27354 (char *) "self",(char *) "text", NULL
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27361 arg2
= wxString_in_helper(obj1
);
27362 if (arg2
== NULL
) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 Py_INCREF(Py_None
); resultobj
= Py_None
;
27387 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxWindow
*arg1
= (wxWindow
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27419 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxWindow
*arg1
= (wxWindow
*) 0 ;
27422 wxString
*arg2
= 0 ;
27423 bool temp2
= False
;
27424 PyObject
* obj0
= 0 ;
27425 PyObject
* obj1
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self",(char *) "tip", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 arg2
= wxString_in_helper(obj1
);
27435 if (arg2
== NULL
) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27463 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "tip", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->SetToolTip(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= wxPyMake_wxObject(result
);
27517 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxWindow
*arg1
= (wxWindow
*) 0 ;
27520 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "dropTarget", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27531 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 (arg1
)->SetDropTarget(arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27546 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxWindow
*arg1
= (wxWindow
*) 0 ;
27549 wxPyDropTarget
*result
;
27550 PyObject
* obj0
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27572 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxWindow
*arg1
= (wxWindow
*) 0 ;
27575 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "constraints", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->SetConstraints(arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxWindow
*arg1
= (wxWindow
*) 0 ;
27604 wxLayoutConstraints
*result
;
27605 PyObject
* obj0
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27627 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxWindow
*arg1
= (wxWindow
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self",(char *) "autoLayout", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27640 arg2
= (bool) SWIG_AsBool(obj1
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->SetAutoLayout(arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 Py_INCREF(Py_None
); resultobj
= Py_None
;
27656 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxWindow
*arg1
= (wxWindow
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27684 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxWindow
*arg1
= (wxWindow
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 result
= (bool)(arg1
)->Layout();
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27712 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 wxSizer
*arg2
= (wxSizer
*) 0 ;
27716 bool arg3
= (bool) True
;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 PyObject
* obj2
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 arg3
= (bool) SWIG_AsBool(obj2
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 (arg1
)->SetSizer(arg2
,arg3
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxWindow
*arg1
= (wxWindow
*) 0 ;
27750 wxSizer
*arg2
= (wxSizer
*) 0 ;
27751 bool arg3
= (bool) True
;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27754 PyObject
* obj2
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27765 arg3
= (bool) SWIG_AsBool(obj2
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27782 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= wxPyMake_wxSizer(result
);
27810 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxWindow
*arg1
= (wxWindow
*) 0 ;
27813 wxSizer
*arg2
= (wxSizer
*) 0 ;
27814 PyObject
* obj0
= 0 ;
27815 PyObject
* obj1
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self",(char *) "sizer", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 (arg1
)->SetContainingSizer(arg2
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 Py_INCREF(Py_None
); resultobj
= Py_None
;
27839 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
;
27841 wxWindow
*arg1
= (wxWindow
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self", NULL
27848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= wxPyMake_wxSizer(result
);
27867 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxWindow
*arg1
= (wxWindow
*) 0 ;
27870 PyObject
* obj0
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->InheritAttributes();
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 Py_INCREF(Py_None
); resultobj
= Py_None
;
27892 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxWindow
*arg1
= (wxWindow
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27920 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27923 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27925 return Py_BuildValue((char *)"");
27927 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27930 wxWindow
*arg2
= (wxWindow
*) NULL
;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "id",(char *) "parent", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27939 arg1
= (long) SWIG_AsLong(obj0
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= wxPyMake_wxObject(result
);
27961 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxString
*arg1
= 0 ;
27964 wxWindow
*arg2
= (wxWindow
*) NULL
;
27966 bool temp1
= False
;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "name",(char *) "parent", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27975 arg1
= wxString_in_helper(obj0
);
27976 if (arg1
== NULL
) SWIG_fail
;
27980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27991 resultobj
= wxPyMake_wxObject(result
);
28007 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxString
*arg1
= 0 ;
28010 wxWindow
*arg2
= (wxWindow
*) NULL
;
28012 bool temp1
= False
;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "label",(char *) "parent", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 arg1
= wxString_in_helper(obj0
);
28022 if (arg1
== NULL
) SWIG_fail
;
28026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= wxPyMake_wxObject(result
);
28053 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxWindow
*arg1
= (wxWindow
*) 0 ;
28056 unsigned long arg2
;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "parent",(char *) "_hWnd", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28067 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= wxPyMake_wxObject(result
);
28085 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxValidator
*result
;
28088 char *kwnames
[] = {
28092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 result
= (wxValidator
*)new wxValidator();
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= wxPyMake_wxObject(result
);
28109 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxValidator
*arg1
= (wxValidator
*) 0 ;
28112 wxValidator
*result
;
28113 PyObject
* obj0
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (wxValidator
*)(arg1
)->Clone();
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= wxPyMake_wxObject(result
);
28137 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxValidator
*arg1
= (wxValidator
*) 0 ;
28140 wxWindow
*arg2
= (wxWindow
*) 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self",(char *) "parent", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 result
= (bool)(arg1
)->Validate(arg2
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28169 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxValidator
*arg1
= (wxValidator
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (bool)(arg1
)->TransferToWindow();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28197 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxValidator
*arg1
= (wxValidator
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (bool)(arg1
)->TransferFromWindow();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28225 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxValidator
*arg1
= (wxValidator
*) 0 ;
28229 PyObject
* obj0
= 0 ;
28230 char *kwnames
[] = {
28231 (char *) "self", NULL
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (wxWindow
*)(arg1
)->GetWindow();
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= wxPyMake_wxObject(result
);
28253 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxValidator
*arg1
= (wxValidator
*) 0 ;
28256 wxWindow
*arg2
= (wxWindow
*) 0 ;
28257 PyObject
* obj0
= 0 ;
28258 PyObject
* obj1
= 0 ;
28259 char *kwnames
[] = {
28260 (char *) "self",(char *) "window", NULL
28263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 (arg1
)->SetWindow(arg2
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 Py_INCREF(Py_None
); resultobj
= Py_None
;
28282 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28285 char *kwnames
[] = {
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 result
= (bool)wxValidator::IsSilent();
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28306 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
;
28308 int arg1
= (int) True
;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "doIt", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28316 arg1
= (int) SWIG_AsInt(obj0
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 wxValidator::SetBellOnError(arg1
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 Py_INCREF(Py_None
); resultobj
= Py_None
;
28333 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28336 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28338 return Py_BuildValue((char *)"");
28340 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxPyValidator
*result
;
28343 char *kwnames
[] = {
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28350 result
= (wxPyValidator
*)new wxPyValidator();
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28362 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28365 PyObject
*arg2
= (PyObject
*) 0 ;
28366 PyObject
*arg3
= (PyObject
*) 0 ;
28367 int arg4
= (int) True
;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 PyObject
* obj2
= 0 ;
28371 PyObject
* obj3
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 arg4
= (int) SWIG_AsInt(obj3
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 Py_INCREF(Py_None
); resultobj
= Py_None
;
28399 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28402 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28404 return Py_BuildValue((char *)"");
28406 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28407 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28412 static PyObject
*_wrap_DefaultValidator_get() {
28415 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28420 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
;
28422 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28423 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28424 long arg2
= (long) 0 ;
28426 bool temp1
= False
;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char *kwnames
[] = {
28430 (char *) "title",(char *) "style", NULL
28433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28436 arg1
= wxString_in_helper(obj0
);
28437 if (arg1
== NULL
) SWIG_fail
;
28442 arg2
= (long) SWIG_AsLong(obj1
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= wxPyMake_wxObject(result
);
28469 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxMenu
*arg1
= (wxMenu
*) 0 ;
28473 wxString
*arg3
= 0 ;
28474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28476 int arg5
= (int) wxITEM_NORMAL
;
28477 wxMenuItem
*result
;
28478 bool temp3
= False
;
28479 bool temp4
= False
;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 PyObject
* obj2
= 0 ;
28483 PyObject
* obj3
= 0 ;
28484 PyObject
* obj4
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28492 arg2
= (int) SWIG_AsInt(obj1
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 arg3
= wxString_in_helper(obj2
);
28496 if (arg3
== NULL
) SWIG_fail
;
28501 arg4
= wxString_in_helper(obj3
);
28502 if (arg4
== NULL
) SWIG_fail
;
28507 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= wxPyMake_wxObject(result
);
28542 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
;
28544 wxMenu
*arg1
= (wxMenu
*) 0 ;
28545 wxMenuItem
*result
;
28546 PyObject
* obj0
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= wxPyMake_wxObject(result
);
28570 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
;
28572 wxMenu
*arg1
= (wxMenu
*) 0 ;
28574 wxString
*arg3
= 0 ;
28575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28577 wxMenuItem
*result
;
28578 bool temp3
= False
;
28579 bool temp4
= False
;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 PyObject
* obj2
= 0 ;
28583 PyObject
* obj3
= 0 ;
28584 char *kwnames
[] = {
28585 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28591 arg2
= (int) SWIG_AsInt(obj1
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 arg3
= wxString_in_helper(obj2
);
28595 if (arg3
== NULL
) SWIG_fail
;
28600 arg4
= wxString_in_helper(obj3
);
28601 if (arg4
== NULL
) SWIG_fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= wxPyMake_wxObject(result
);
28637 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxMenu
*arg1
= (wxMenu
*) 0 ;
28641 wxString
*arg3
= 0 ;
28642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28644 wxMenuItem
*result
;
28645 bool temp3
= False
;
28646 bool temp4
= False
;
28647 PyObject
* obj0
= 0 ;
28648 PyObject
* obj1
= 0 ;
28649 PyObject
* obj2
= 0 ;
28650 PyObject
* obj3
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 arg2
= (int) SWIG_AsInt(obj1
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 arg3
= wxString_in_helper(obj2
);
28662 if (arg3
== NULL
) SWIG_fail
;
28667 arg4
= wxString_in_helper(obj3
);
28668 if (arg4
== NULL
) SWIG_fail
;
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= wxPyMake_wxObject(result
);
28704 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxMenu
*arg1
= (wxMenu
*) 0 ;
28708 wxString
*arg3
= 0 ;
28709 wxMenu
*arg4
= (wxMenu
*) 0 ;
28710 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28711 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28712 wxMenuItem
*result
;
28713 bool temp3
= False
;
28714 bool temp5
= False
;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 PyObject
* obj2
= 0 ;
28718 PyObject
* obj3
= 0 ;
28719 PyObject
* obj4
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 arg2
= (int) SWIG_AsInt(obj1
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28730 arg3
= wxString_in_helper(obj2
);
28731 if (arg3
== NULL
) SWIG_fail
;
28734 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28738 arg5
= wxString_in_helper(obj4
);
28739 if (arg5
== NULL
) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= wxPyMake_wxObject(result
);
28775 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxMenu
*arg1
= (wxMenu
*) 0 ;
28778 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28779 wxMenuItem
*result
;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char *kwnames
[] = {
28783 (char *) "self",(char *) "item", NULL
28786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= wxPyMake_wxObject(result
);
28807 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxMenu
*arg1
= (wxMenu
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 char *kwnames
[] = {
28812 (char *) "self", NULL
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxMenu
*arg1
= (wxMenu
*) 0 ;
28836 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28837 wxMenuItem
*result
;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self",(char *) "pos",(char *) "item", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28850 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= wxPyMake_wxObject(result
);
28868 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxMenu
*arg1
= (wxMenu
*) 0 ;
28873 wxString
*arg4
= 0 ;
28874 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28875 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28876 int arg6
= (int) wxITEM_NORMAL
;
28877 wxMenuItem
*result
;
28878 bool temp4
= False
;
28879 bool temp5
= False
;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 PyObject
* obj2
= 0 ;
28883 PyObject
* obj3
= 0 ;
28884 PyObject
* obj4
= 0 ;
28885 PyObject
* obj5
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28893 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28895 arg3
= (int) SWIG_AsInt(obj2
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 arg4
= wxString_in_helper(obj3
);
28899 if (arg4
== NULL
) SWIG_fail
;
28904 arg5
= wxString_in_helper(obj4
);
28905 if (arg5
== NULL
) SWIG_fail
;
28910 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
);
28945 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxMenu
*arg1
= (wxMenu
*) 0 ;
28949 wxMenuItem
*result
;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self",(char *) "pos", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28959 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= wxPyMake_wxObject(result
);
28977 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxMenu
*arg1
= (wxMenu
*) 0 ;
28982 wxString
*arg4
= 0 ;
28983 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28984 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28985 wxMenuItem
*result
;
28986 bool temp4
= False
;
28987 bool temp5
= False
;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 PyObject
* obj2
= 0 ;
28991 PyObject
* obj3
= 0 ;
28992 PyObject
* obj4
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29000 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29002 arg3
= (int) SWIG_AsInt(obj2
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 arg4
= wxString_in_helper(obj3
);
29006 if (arg4
== NULL
) SWIG_fail
;
29011 arg5
= wxString_in_helper(obj4
);
29012 if (arg5
== NULL
) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= wxPyMake_wxObject(result
);
29048 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxMenu
*arg1
= (wxMenu
*) 0 ;
29053 wxString
*arg4
= 0 ;
29054 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29055 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29056 wxMenuItem
*result
;
29057 bool temp4
= False
;
29058 bool temp5
= False
;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 PyObject
* obj3
= 0 ;
29063 PyObject
* obj4
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29071 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29073 arg3
= (int) SWIG_AsInt(obj2
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 arg4
= wxString_in_helper(obj3
);
29077 if (arg4
== NULL
) SWIG_fail
;
29082 arg5
= wxString_in_helper(obj4
);
29083 if (arg5
== NULL
) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= wxPyMake_wxObject(result
);
29119 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxMenu
*arg1
= (wxMenu
*) 0 ;
29124 wxString
*arg4
= 0 ;
29125 wxMenu
*arg5
= (wxMenu
*) 0 ;
29126 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29128 wxMenuItem
*result
;
29129 bool temp4
= False
;
29130 bool temp6
= False
;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 PyObject
* obj3
= 0 ;
29135 PyObject
* obj4
= 0 ;
29136 PyObject
* obj5
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29144 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29146 arg3
= (int) SWIG_AsInt(obj2
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 arg4
= wxString_in_helper(obj3
);
29150 if (arg4
== NULL
) SWIG_fail
;
29153 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 arg6
= wxString_in_helper(obj5
);
29158 if (arg6
== NULL
) SWIG_fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= wxPyMake_wxObject(result
);
29194 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxMenu
*arg1
= (wxMenu
*) 0 ;
29197 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29198 wxMenuItem
*result
;
29199 PyObject
* obj0
= 0 ;
29200 PyObject
* obj1
= 0 ;
29201 char *kwnames
[] = {
29202 (char *) "self",(char *) "item", NULL
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= wxPyMake_wxObject(result
);
29226 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxMenu
*arg1
= (wxMenu
*) 0 ;
29230 wxString
*arg3
= 0 ;
29231 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29232 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29233 int arg5
= (int) wxITEM_NORMAL
;
29234 wxMenuItem
*result
;
29235 bool temp3
= False
;
29236 bool temp4
= False
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 PyObject
* obj3
= 0 ;
29241 PyObject
* obj4
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29249 arg2
= (int) SWIG_AsInt(obj1
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 arg3
= wxString_in_helper(obj2
);
29253 if (arg3
== NULL
) SWIG_fail
;
29258 arg4
= wxString_in_helper(obj3
);
29259 if (arg4
== NULL
) SWIG_fail
;
29264 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= wxPyMake_wxObject(result
);
29299 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxMenu
*arg1
= (wxMenu
*) 0 ;
29302 wxMenuItem
*result
;
29303 PyObject
* obj0
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= wxPyMake_wxObject(result
);
29327 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxMenu
*arg1
= (wxMenu
*) 0 ;
29331 wxString
*arg3
= 0 ;
29332 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29333 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29334 wxMenuItem
*result
;
29335 bool temp3
= False
;
29336 bool temp4
= False
;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 PyObject
* obj2
= 0 ;
29340 PyObject
* obj3
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29348 arg2
= (int) SWIG_AsInt(obj1
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 arg3
= wxString_in_helper(obj2
);
29352 if (arg3
== NULL
) SWIG_fail
;
29357 arg4
= wxString_in_helper(obj3
);
29358 if (arg4
== NULL
) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= wxPyMake_wxObject(result
);
29394 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
;
29396 wxMenu
*arg1
= (wxMenu
*) 0 ;
29398 wxString
*arg3
= 0 ;
29399 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29401 wxMenuItem
*result
;
29402 bool temp3
= False
;
29403 bool temp4
= False
;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 PyObject
* obj2
= 0 ;
29407 PyObject
* obj3
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29415 arg2
= (int) SWIG_AsInt(obj1
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 arg3
= wxString_in_helper(obj2
);
29419 if (arg3
== NULL
) SWIG_fail
;
29424 arg4
= wxString_in_helper(obj3
);
29425 if (arg4
== NULL
) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= wxPyMake_wxObject(result
);
29461 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxMenu
*arg1
= (wxMenu
*) 0 ;
29465 wxString
*arg3
= 0 ;
29466 wxMenu
*arg4
= (wxMenu
*) 0 ;
29467 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29468 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29469 wxMenuItem
*result
;
29470 bool temp3
= False
;
29471 bool temp5
= False
;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 PyObject
* obj3
= 0 ;
29476 PyObject
* obj4
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 arg2
= (int) SWIG_AsInt(obj1
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 arg3
= wxString_in_helper(obj2
);
29488 if (arg3
== NULL
) SWIG_fail
;
29491 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29495 arg5
= wxString_in_helper(obj4
);
29496 if (arg5
== NULL
) SWIG_fail
;
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= wxPyMake_wxObject(result
);
29532 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxMenu
*arg1
= (wxMenu
*) 0 ;
29536 wxMenuItem
*result
;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self",(char *) "id", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29546 arg2
= (int) SWIG_AsInt(obj1
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= wxPyMake_wxObject(result
);
29564 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxMenu
*arg1
= (wxMenu
*) 0 ;
29567 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29568 wxMenuItem
*result
;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "item", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= wxPyMake_wxObject(result
);
29596 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxMenu
*arg1
= (wxMenu
*) 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "id", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29610 arg2
= (int) SWIG_AsInt(obj1
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (bool)(arg1
)->Delete(arg2
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29628 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxMenu
*arg1
= (wxMenu
*) 0 ;
29631 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self",(char *) "item", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 result
= (bool)(arg1
)->Delete(arg2
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29660 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxMenu
*arg1
= (wxMenu
*) 0 ;
29663 PyObject
* obj0
= 0 ;
29664 char *kwnames
[] = {
29665 (char *) "self", NULL
29668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 wxMenu_Destroy(arg1
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 Py_INCREF(Py_None
); resultobj
= Py_None
;
29685 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxMenu
*arg1
= (wxMenu
*) 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "id", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29699 arg2
= (int) SWIG_AsInt(obj1
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (bool)(arg1
)->Destroy(arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29717 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxMenu
*arg1
= (wxMenu
*) 0 ;
29720 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "item", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (bool)(arg1
)->Destroy(arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29749 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxMenu
*arg1
= (wxMenu
*) 0 ;
29753 PyObject
* obj0
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self", NULL
29758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29775 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
;
29777 wxMenu
*arg1
= (wxMenu
*) 0 ;
29779 PyObject
* obj0
= 0 ;
29780 char *kwnames
[] = {
29781 (char *) "self", NULL
29784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= result
;
29801 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxMenu
*arg1
= (wxMenu
*) 0 ;
29804 wxString
*arg2
= 0 ;
29806 bool temp2
= False
;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "item", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29817 arg2
= wxString_in_helper(obj1
);
29818 if (arg2
== NULL
) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_FromInt((int)result
);
29843 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29844 PyObject
*resultobj
;
29845 wxMenu
*arg1
= (wxMenu
*) 0 ;
29847 wxMenuItem
*result
;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 char *kwnames
[] = {
29851 (char *) "self",(char *) "id", NULL
29854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29857 arg2
= (int) SWIG_AsInt(obj1
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29863 wxPyEndAllowThreads(__tstate
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= wxPyMake_wxObject(result
);
29875 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxMenu
*arg1
= (wxMenu
*) 0 ;
29879 wxMenuItem
*result
;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 char *kwnames
[] = {
29883 (char *) "self",(char *) "position", NULL
29886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29889 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= wxPyMake_wxObject(result
);
29907 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
;
29909 wxMenu
*arg1
= (wxMenu
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 PyObject
* obj1
= 0 ;
29914 PyObject
* obj2
= 0 ;
29915 char *kwnames
[] = {
29916 (char *) "self",(char *) "id",(char *) "enable", NULL
29919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29922 arg2
= (int) SWIG_AsInt(obj1
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29924 arg3
= (bool) SWIG_AsBool(obj2
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->Enable(arg2
,arg3
);
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 Py_INCREF(Py_None
); resultobj
= Py_None
;
29940 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
;
29942 wxMenu
*arg1
= (wxMenu
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 char *kwnames
[] = {
29948 (char *) "self",(char *) "id", NULL
29951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29954 arg2
= (int) SWIG_AsInt(obj1
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29972 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
;
29974 wxMenu
*arg1
= (wxMenu
*) 0 ;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 PyObject
* obj2
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self",(char *) "id",(char *) "check", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29987 arg2
= (int) SWIG_AsInt(obj1
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29989 arg3
= (bool) SWIG_AsBool(obj2
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29993 (arg1
)->Check(arg2
,arg3
);
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 Py_INCREF(Py_None
); resultobj
= Py_None
;
30005 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxMenu
*arg1
= (wxMenu
*) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self",(char *) "id", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30019 arg2
= (int) SWIG_AsInt(obj1
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30023 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30037 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxMenu
*arg1
= (wxMenu
*) 0 ;
30041 wxString
*arg3
= 0 ;
30042 bool temp3
= False
;
30043 PyObject
* obj0
= 0 ;
30044 PyObject
* obj1
= 0 ;
30045 PyObject
* obj2
= 0 ;
30046 char *kwnames
[] = {
30047 (char *) "self",(char *) "id",(char *) "label", NULL
30050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30053 arg2
= (int) SWIG_AsInt(obj1
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 arg3
= wxString_in_helper(obj2
);
30057 if (arg3
== NULL
) SWIG_fail
;
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 Py_INCREF(Py_None
); resultobj
= Py_None
;
30082 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxMenu
*arg1
= (wxMenu
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "id", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 arg2
= (int) SWIG_AsInt(obj1
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30118 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30119 PyObject
*resultobj
;
30120 wxMenu
*arg1
= (wxMenu
*) 0 ;
30122 wxString
*arg3
= 0 ;
30123 bool temp3
= False
;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "id",(char *) "helpString", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30134 arg2
= (int) SWIG_AsInt(obj1
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 arg3
= wxString_in_helper(obj2
);
30138 if (arg3
== NULL
) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 Py_INCREF(Py_None
); resultobj
= Py_None
;
30163 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
;
30165 wxMenu
*arg1
= (wxMenu
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self",(char *) "id", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30177 arg2
= (int) SWIG_AsInt(obj1
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30199 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxMenu
*arg1
= (wxMenu
*) 0 ;
30202 wxString
*arg2
= 0 ;
30203 bool temp2
= False
;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self",(char *) "title", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30214 arg2
= wxString_in_helper(obj1
);
30215 if (arg2
== NULL
) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetTitle((wxString
const &)*arg2
);
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30240 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxMenu
*arg1
= (wxMenu
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= ((wxMenu
const *)arg1
)->GetTitle();
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30272 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxMenu
*arg1
= (wxMenu
*) 0 ;
30275 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30276 PyObject
* obj0
= 0 ;
30277 PyObject
* obj1
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self",(char *) "handler", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 (arg1
)->SetEventHandler(arg2
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 Py_INCREF(Py_None
); resultobj
= Py_None
;
30301 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxMenu
*arg1
= (wxMenu
*) 0 ;
30304 wxEvtHandler
*result
;
30305 PyObject
* obj0
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= wxPyMake_wxObject(result
);
30329 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
;
30331 wxMenu
*arg1
= (wxMenu
*) 0 ;
30332 wxWindow
*arg2
= (wxWindow
*) 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "win", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30346 (arg1
)->SetInvokingWindow(arg2
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 Py_INCREF(Py_None
); resultobj
= Py_None
;
30358 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
;
30360 wxMenu
*arg1
= (wxMenu
*) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "self", NULL
30367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= wxPyMake_wxObject(result
);
30386 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
;
30388 wxMenu
*arg1
= (wxMenu
*) 0 ;
30390 PyObject
* obj0
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_FromLong((long)result
);
30412 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
;
30414 wxMenu
*arg1
= (wxMenu
*) 0 ;
30415 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char *kwnames
[] = {
30419 (char *) "self",(char *) "source", NULL
30422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->UpdateUI(arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxMenu
*arg1
= (wxMenu
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= wxPyMake_wxObject(result
);
30471 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxMenu
*arg1
= (wxMenu
*) 0 ;
30474 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self",(char *) "menubar", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 (arg1
)->Attach(arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 Py_INCREF(Py_None
); resultobj
= Py_None
;
30500 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxMenu
*arg1
= (wxMenu
*) 0 ;
30503 PyObject
* obj0
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxMenu
*arg1
= (wxMenu
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30553 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxMenu
*arg1
= (wxMenu
*) 0 ;
30556 wxMenu
*arg2
= (wxMenu
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self",(char *) "parent", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->SetParent(arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxMenu
*arg1
= (wxMenu
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 char *kwnames
[] = {
30588 (char *) "self", NULL
30591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= wxPyMake_wxObject(result
);
30610 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30613 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30615 return Py_BuildValue((char *)"");
30617 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 long arg1
= (long) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 char *kwnames
[] = {
30623 (char *) "style", NULL
30626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30628 arg1
= (long) SWIG_AsLong(obj0
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= wxPyMake_wxObject(result
);
30647 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30650 wxMenu
*arg2
= (wxMenu
*) 0 ;
30651 wxString
*arg3
= 0 ;
30653 bool temp3
= False
;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 PyObject
* obj2
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "menu",(char *) "title", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 arg3
= wxString_in_helper(obj2
);
30668 if (arg3
== NULL
) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30695 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30699 wxMenu
*arg3
= (wxMenu
*) 0 ;
30700 wxString
*arg4
= 0 ;
30702 bool temp4
= False
;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 PyObject
* obj3
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30714 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30719 arg4
= wxString_in_helper(obj3
);
30720 if (arg4
== NULL
) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30747 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30773 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "pos", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= wxPyMake_wxObject(result
);
30805 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30809 wxMenu
*arg3
= (wxMenu
*) 0 ;
30810 wxString
*arg4
= 0 ;
30812 bool temp4
= False
;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 PyObject
* obj2
= 0 ;
30816 PyObject
* obj3
= 0 ;
30817 char *kwnames
[] = {
30818 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30824 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30826 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 arg4
= wxString_in_helper(obj3
);
30830 if (arg4
== NULL
) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= wxPyMake_wxObject(result
);
30857 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "pos", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30871 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= wxPyMake_wxObject(result
);
30889 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
;
30891 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 PyObject
* obj2
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "pos",(char *) "enable", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30904 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30906 arg3
= (bool) SWIG_AsBool(obj2
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 (arg1
)->EnableTop(arg2
,arg3
);
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30915 Py_INCREF(Py_None
); resultobj
= Py_None
;
30922 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30927 PyObject
* obj0
= 0 ;
30928 PyObject
* obj1
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self",(char *) "pos", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30936 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30954 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
;
30956 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30958 wxString
*arg3
= 0 ;
30959 bool temp3
= False
;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 PyObject
* obj2
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self",(char *) "pos",(char *) "label", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30970 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 arg3
= wxString_in_helper(obj2
);
30974 if (arg3
== NULL
) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 Py_INCREF(Py_None
); resultobj
= Py_None
;
30999 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 char *kwnames
[] = {
31007 (char *) "self",(char *) "pos", NULL
31010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31013 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31035 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
;
31037 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31038 wxString
*arg2
= 0 ;
31039 wxString
*arg3
= 0 ;
31041 bool temp2
= False
;
31042 bool temp3
= False
;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 PyObject
* obj2
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "menu",(char *) "item", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31054 arg2
= wxString_in_helper(obj1
);
31055 if (arg2
== NULL
) SWIG_fail
;
31059 arg3
= wxString_in_helper(obj2
);
31060 if (arg3
== NULL
) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= SWIG_FromInt((int)result
);
31093 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31097 wxMenuItem
*result
;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 char *kwnames
[] = {
31101 (char *) "self",(char *) "id", NULL
31104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31107 arg2
= (int) SWIG_AsInt(obj1
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= wxPyMake_wxObject(result
);
31125 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
;
31127 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31128 wxString
*arg2
= 0 ;
31130 bool temp2
= False
;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self",(char *) "title", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31141 arg2
= wxString_in_helper(obj1
);
31142 if (arg2
== NULL
) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_FromInt((int)result
);
31167 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
;
31169 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 PyObject
* obj2
= 0 ;
31175 char *kwnames
[] = {
31176 (char *) "self",(char *) "id",(char *) "enable", NULL
31179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31182 arg2
= (int) SWIG_AsInt(obj1
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31184 arg3
= (bool) SWIG_AsBool(obj2
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 (arg1
)->Enable(arg2
,arg3
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 Py_INCREF(Py_None
); resultobj
= Py_None
;
31200 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
;
31202 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31205 PyObject
* obj0
= 0 ;
31206 PyObject
* obj1
= 0 ;
31207 PyObject
* obj2
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "self",(char *) "id",(char *) "check", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31215 arg2
= (int) SWIG_AsInt(obj1
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31217 arg3
= (bool) SWIG_AsBool(obj2
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 (arg1
)->Check(arg2
,arg3
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 Py_INCREF(Py_None
); resultobj
= Py_None
;
31233 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "self",(char *) "id", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31247 arg2
= (int) SWIG_AsInt(obj1
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31265 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
;
31267 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self",(char *) "id", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31279 arg2
= (int) SWIG_AsInt(obj1
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31297 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31301 wxString
*arg3
= 0 ;
31302 bool temp3
= False
;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 PyObject
* obj2
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "self",(char *) "id",(char *) "label", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 arg2
= (int) SWIG_AsInt(obj1
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 arg3
= wxString_in_helper(obj2
);
31317 if (arg3
== NULL
) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 Py_INCREF(Py_None
); resultobj
= Py_None
;
31342 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "id", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31356 arg2
= (int) SWIG_AsInt(obj1
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31378 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31382 wxString
*arg3
= 0 ;
31383 bool temp3
= False
;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "id",(char *) "helpString", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 arg2
= (int) SWIG_AsInt(obj1
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 arg3
= wxString_in_helper(obj2
);
31398 if (arg3
== NULL
) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 Py_INCREF(Py_None
); resultobj
= Py_None
;
31423 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31424 PyObject
*resultobj
;
31425 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 char *kwnames
[] = {
31431 (char *) "self",(char *) "id", NULL
31434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31437 arg2
= (int) SWIG_AsInt(obj1
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31459 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31463 PyObject
* obj0
= 0 ;
31464 char *kwnames
[] = {
31465 (char *) "self", NULL
31468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= wxPyMake_wxObject(result
);
31487 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31515 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31518 wxFrame
*arg2
= (wxFrame
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self",(char *) "frame", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 (arg1
)->Attach(arg2
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 Py_INCREF(Py_None
); resultobj
= Py_None
;
31544 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
;
31546 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31562 Py_INCREF(Py_None
); resultobj
= Py_None
;
31569 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31572 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31574 return Py_BuildValue((char *)"");
31576 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31577 PyObject
*resultobj
;
31578 wxMenu
*arg1
= (wxMenu
*) NULL
;
31579 int arg2
= (int) wxID_ANY
;
31580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31582 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31583 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31584 int arg5
= (int) wxITEM_NORMAL
;
31585 wxMenu
*arg6
= (wxMenu
*) NULL
;
31586 wxMenuItem
*result
;
31587 bool temp3
= False
;
31588 bool temp4
= False
;
31589 PyObject
* obj0
= 0 ;
31590 PyObject
* obj1
= 0 ;
31591 PyObject
* obj2
= 0 ;
31592 PyObject
* obj3
= 0 ;
31593 PyObject
* obj4
= 0 ;
31594 PyObject
* obj5
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31605 arg2
= (int) SWIG_AsInt(obj1
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31610 arg3
= wxString_in_helper(obj2
);
31611 if (arg3
== NULL
) SWIG_fail
;
31617 arg4
= wxString_in_helper(obj3
);
31618 if (arg4
== NULL
) SWIG_fail
;
31623 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31627 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= wxPyMake_wxObject(result
);
31662 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= wxPyMake_wxObject(result
);
31690 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31693 wxMenu
*arg2
= (wxMenu
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "menu", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->SetMenu(arg2
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 PyObject
* obj1
= 0 ;
31725 char *kwnames
[] = {
31726 (char *) "self",(char *) "id", NULL
31729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31732 arg2
= (int) SWIG_AsInt(obj1
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 (arg1
)->SetId(arg2
);
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 Py_INCREF(Py_None
); resultobj
= Py_None
;
31748 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
;
31750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31752 PyObject
* obj0
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= SWIG_FromInt((int)result
);
31774 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 char *kwnames
[] = {
31780 (char *) "self", NULL
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31802 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
;
31804 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31805 wxString
*arg2
= 0 ;
31806 bool temp2
= False
;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self",(char *) "str", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31817 arg2
= wxString_in_helper(obj1
);
31818 if (arg2
== NULL
) SWIG_fail
;
31822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31823 (arg1
)->SetText((wxString
const &)*arg2
);
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 Py_INCREF(Py_None
); resultobj
= Py_None
;
31843 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
;
31845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31847 PyObject
* obj0
= 0 ;
31848 char *kwnames
[] = {
31849 (char *) "self", NULL
31852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31875 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
;
31877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31879 PyObject
* obj0
= 0 ;
31880 char *kwnames
[] = {
31881 (char *) "self", NULL
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31891 result
= (wxString
*) &_result_ref
;
31894 wxPyEndAllowThreads(__tstate
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31910 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
;
31912 wxString
*arg1
= 0 ;
31914 bool temp1
= False
;
31915 PyObject
* obj0
= 0 ;
31916 char *kwnames
[] = {
31917 (char *) "text", NULL
31920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31922 arg1
= wxString_in_helper(obj0
);
31923 if (arg1
== NULL
) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31928 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31954 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
;
31956 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31958 PyObject
* obj0
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "self", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= SWIG_FromInt((int)result
);
31980 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "kind", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31993 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 (arg1
)->SetKind((wxItemKind
)arg2
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 Py_INCREF(Py_None
); resultobj
= Py_None
;
32009 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32013 PyObject
* obj0
= 0 ;
32014 PyObject
* obj1
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "checkable", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32022 arg2
= (bool) SWIG_AsBool(obj1
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 (arg1
)->SetCheckable(arg2
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 Py_INCREF(Py_None
); resultobj
= Py_None
;
32038 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32042 PyObject
* obj0
= 0 ;
32043 char *kwnames
[] = {
32044 (char *) "self", NULL
32047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32066 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
;
32068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32070 PyObject
* obj0
= 0 ;
32071 char *kwnames
[] = {
32072 (char *) "self", NULL
32075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32094 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 wxMenu
*arg2
= (wxMenu
*) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char *kwnames
[] = {
32101 (char *) "self",(char *) "menu", NULL
32104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetSubMenu(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 Py_INCREF(Py_None
); resultobj
= Py_None
;
32123 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= wxPyMake_wxObject(result
);
32151 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32154 bool arg2
= (bool) True
;
32155 PyObject
* obj0
= 0 ;
32156 PyObject
* obj1
= 0 ;
32157 char *kwnames
[] = {
32158 (char *) "self",(char *) "enable", NULL
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32165 arg2
= (bool) SWIG_AsBool(obj1
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 (arg1
)->Enable(arg2
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 Py_INCREF(Py_None
); resultobj
= Py_None
;
32182 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
;
32184 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 char *kwnames
[] = {
32188 (char *) "self", NULL
32191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32210 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32213 bool arg2
= (bool) True
;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "self",(char *) "check", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32224 arg2
= (bool) SWIG_AsBool(obj1
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 (arg1
)->Check(arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 Py_INCREF(Py_None
); resultobj
= Py_None
;
32241 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 char *kwnames
[] = {
32247 (char *) "self", NULL
32250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32269 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32272 PyObject
* obj0
= 0 ;
32273 char *kwnames
[] = {
32274 (char *) "self", NULL
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 Py_INCREF(Py_None
); resultobj
= Py_None
;
32294 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
;
32296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32297 wxString
*arg2
= 0 ;
32298 bool temp2
= False
;
32299 PyObject
* obj0
= 0 ;
32300 PyObject
* obj1
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self",(char *) "str", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32309 arg2
= wxString_in_helper(obj1
);
32310 if (arg2
== NULL
) SWIG_fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 (arg1
)->SetHelp((wxString
const &)*arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 Py_INCREF(Py_None
); resultobj
= Py_None
;
32335 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32336 PyObject
*resultobj
;
32337 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32339 PyObject
* obj0
= 0 ;
32340 char *kwnames
[] = {
32341 (char *) "self", NULL
32344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32351 result
= (wxString
*) &_result_ref
;
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32370 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
;
32372 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32373 wxAcceleratorEntry
*result
;
32374 PyObject
* obj0
= 0 ;
32375 char *kwnames
[] = {
32376 (char *) "self", NULL
32379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32396 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32399 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32400 PyObject
* obj0
= 0 ;
32401 PyObject
* obj1
= 0 ;
32402 char *kwnames
[] = {
32403 (char *) "self",(char *) "accel", NULL
32406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 (arg1
)->SetAccel(arg2
);
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32418 Py_INCREF(Py_None
); resultobj
= Py_None
;
32425 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32426 PyObject
*resultobj
;
32428 char *kwnames
[] = {
32432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (int)MenuItem_GetDefaultMarginWidth();
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= SWIG_FromInt((int)result
);
32447 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32450 wxBitmap
*arg2
= 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "bitmap", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32463 if (arg2
== NULL
) {
32464 PyErr_SetString(PyExc_TypeError
,"null reference");
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 Py_INCREF(Py_None
); resultobj
= Py_None
;
32481 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
;
32483 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 char *kwnames
[] = {
32487 (char *) "self", NULL
32490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32497 result
= (wxBitmap
*) &_result_ref
;
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 wxBitmap
* resultptr
= new wxBitmap(*result
);
32505 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32513 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32516 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32518 return Py_BuildValue((char *)"");
32520 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32521 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32526 static PyObject
*_wrap_ControlNameStr_get() {
32531 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32533 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32540 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
;
32542 wxWindow
*arg1
= (wxWindow
*) 0 ;
32544 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32545 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32546 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32547 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32548 long arg5
= (long) 0 ;
32549 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32550 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32551 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32556 bool temp7
= False
;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 PyObject
* obj2
= 0 ;
32560 PyObject
* obj3
= 0 ;
32561 PyObject
* obj4
= 0 ;
32562 PyObject
* obj5
= 0 ;
32563 PyObject
* obj6
= 0 ;
32564 char *kwnames
[] = {
32565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32571 arg2
= (int) SWIG_AsInt(obj1
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32586 arg5
= (long) SWIG_AsLong(obj4
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32590 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32593 if (arg6
== NULL
) {
32594 PyErr_SetString(PyExc_TypeError
,"null reference");
32600 arg7
= wxString_in_helper(obj6
);
32601 if (arg7
== NULL
) SWIG_fail
;
32606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32607 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= wxPyMake_wxObject(result
);
32629 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
;
32632 char *kwnames
[] = {
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (wxControl
*)new wxControl();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= wxPyMake_wxObject(result
);
32653 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxControl
*arg1
= (wxControl
*) 0 ;
32656 wxWindow
*arg2
= (wxWindow
*) 0 ;
32658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32662 long arg6
= (long) 0 ;
32663 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32664 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32665 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32666 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32670 bool temp8
= False
;
32671 PyObject
* obj0
= 0 ;
32672 PyObject
* obj1
= 0 ;
32673 PyObject
* obj2
= 0 ;
32674 PyObject
* obj3
= 0 ;
32675 PyObject
* obj4
= 0 ;
32676 PyObject
* obj5
= 0 ;
32677 PyObject
* obj6
= 0 ;
32678 PyObject
* obj7
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32688 arg3
= (int) SWIG_AsInt(obj2
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32693 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32699 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32703 arg6
= (long) SWIG_AsLong(obj5
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32707 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32710 if (arg7
== NULL
) {
32711 PyErr_SetString(PyExc_TypeError
,"null reference");
32717 arg8
= wxString_in_helper(obj7
);
32718 if (arg8
== NULL
) SWIG_fail
;
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32746 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32747 PyObject
*resultobj
;
32748 wxControl
*arg1
= (wxControl
*) 0 ;
32749 wxCommandEvent
*arg2
= 0 ;
32750 PyObject
* obj0
= 0 ;
32751 PyObject
* obj1
= 0 ;
32752 char *kwnames
[] = {
32753 (char *) "self",(char *) "event", NULL
32756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32762 if (arg2
== NULL
) {
32763 PyErr_SetString(PyExc_TypeError
,"null reference");
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 (arg1
)->Command(*arg2
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 Py_INCREF(Py_None
); resultobj
= Py_None
;
32780 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32781 PyObject
*resultobj
;
32782 wxControl
*arg1
= (wxControl
*) 0 ;
32784 PyObject
* obj0
= 0 ;
32785 char *kwnames
[] = {
32786 (char *) "self", NULL
32789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32794 result
= (arg1
)->GetLabel();
32796 wxPyEndAllowThreads(__tstate
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32812 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32813 PyObject
*resultobj
;
32814 wxControl
*arg1
= (wxControl
*) 0 ;
32815 wxString
*arg2
= 0 ;
32816 bool temp2
= False
;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "self",(char *) "label", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32827 arg2
= wxString_in_helper(obj1
);
32828 if (arg2
== NULL
) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 (arg1
)->SetLabel((wxString
const &)*arg2
);
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 Py_INCREF(Py_None
); resultobj
= Py_None
;
32853 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
;
32855 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32856 wxVisualAttributes result
;
32857 PyObject
* obj0
= 0 ;
32858 char *kwnames
[] = {
32859 (char *) "variant", NULL
32862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32864 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32871 wxPyEndAllowThreads(__tstate
);
32872 if (PyErr_Occurred()) SWIG_fail
;
32875 wxVisualAttributes
* resultptr
;
32876 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32885 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32888 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32890 return Py_BuildValue((char *)"");
32892 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32895 wxString
*arg2
= 0 ;
32896 PyObject
*arg3
= (PyObject
*) NULL
;
32898 bool temp2
= False
;
32899 PyObject
* obj0
= 0 ;
32900 PyObject
* obj1
= 0 ;
32901 PyObject
* obj2
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self",(char *) "item",(char *) "clientData", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32910 arg2
= wxString_in_helper(obj1
);
32911 if (arg2
== NULL
) SWIG_fail
;
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32921 wxPyEndAllowThreads(__tstate
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32924 resultobj
= SWIG_FromInt((int)result
);
32939 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
;
32941 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32942 wxArrayString
*arg2
= 0 ;
32943 bool temp2
= False
;
32944 PyObject
* obj0
= 0 ;
32945 PyObject
* obj1
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self",(char *) "strings", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32954 if (! PySequence_Check(obj1
)) {
32955 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32958 arg2
= new wxArrayString
;
32960 int i
, len
=PySequence_Length(obj1
);
32961 for (i
=0; i
<len
; i
++) {
32962 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32964 PyObject
* str
= PyObject_Unicode(item
);
32966 PyObject
* str
= PyObject_Str(item
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32969 arg2
->Add(Py2wxString(str
));
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 (arg1
)->Append((wxArrayString
const &)*arg2
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 Py_INCREF(Py_None
); resultobj
= Py_None
;
32983 if (temp2
) delete arg2
;
32988 if (temp2
) delete arg2
;
32994 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
;
32996 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32997 wxString
*arg2
= 0 ;
32999 PyObject
*arg4
= (PyObject
*) NULL
;
33001 bool temp2
= False
;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 PyObject
* obj2
= 0 ;
33005 PyObject
* obj3
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33014 arg2
= wxString_in_helper(obj1
);
33015 if (arg2
== NULL
) SWIG_fail
;
33018 arg3
= (int) SWIG_AsInt(obj2
);
33019 if (PyErr_Occurred()) SWIG_fail
;
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_FromInt((int)result
);
33045 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
;
33047 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33048 PyObject
* obj0
= 0 ;
33049 char *kwnames
[] = {
33050 (char *) "self", NULL
33053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 Py_INCREF(Py_None
); resultobj
= Py_None
;
33070 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33071 PyObject
*resultobj
;
33072 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33074 PyObject
* obj0
= 0 ;
33075 PyObject
* obj1
= 0 ;
33076 char *kwnames
[] = {
33077 (char *) "self",(char *) "n", NULL
33080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33083 arg2
= (int) SWIG_AsInt(obj1
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 (arg1
)->Delete(arg2
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 Py_INCREF(Py_None
); resultobj
= Py_None
;
33099 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
;
33101 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33103 PyObject
* obj0
= 0 ;
33104 char *kwnames
[] = {
33105 (char *) "self", NULL
33108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33113 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33118 resultobj
= SWIG_FromInt((int)result
);
33125 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33129 PyObject
* obj0
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33153 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
;
33155 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 char *kwnames
[] = {
33161 (char *) "self",(char *) "n", NULL
33164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33167 arg2
= (int) SWIG_AsInt(obj1
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33171 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33189 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
;
33191 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33192 wxArrayString result
;
33193 PyObject
* obj0
= 0 ;
33194 char *kwnames
[] = {
33195 (char *) "self", NULL
33198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= wxArrayString2PyList_helper(result
);
33217 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
;
33219 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33221 wxString
*arg3
= 0 ;
33222 bool temp3
= False
;
33223 PyObject
* obj0
= 0 ;
33224 PyObject
* obj1
= 0 ;
33225 PyObject
* obj2
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self",(char *) "n",(char *) "s", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33233 arg2
= (int) SWIG_AsInt(obj1
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 arg3
= wxString_in_helper(obj2
);
33237 if (arg3
== NULL
) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 Py_INCREF(Py_None
); resultobj
= Py_None
;
33262 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
;
33264 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33265 wxString
*arg2
= 0 ;
33267 bool temp2
= False
;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self",(char *) "s", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33278 arg2
= wxString_in_helper(obj1
);
33279 if (arg2
== NULL
) SWIG_fail
;
33283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33284 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33286 wxPyEndAllowThreads(__tstate
);
33287 if (PyErr_Occurred()) SWIG_fail
;
33289 resultobj
= SWIG_FromInt((int)result
);
33304 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
;
33306 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 char *kwnames
[] = {
33311 (char *) "self",(char *) "n", NULL
33314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33317 arg2
= (int) SWIG_AsInt(obj1
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 (arg1
)->Select(arg2
);
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33326 Py_INCREF(Py_None
); resultobj
= Py_None
;
33333 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33337 PyObject
* obj0
= 0 ;
33338 char *kwnames
[] = {
33339 (char *) "self", NULL
33342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 resultobj
= SWIG_FromInt((int)result
);
33359 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33391 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33392 PyObject
*resultobj
;
33393 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self",(char *) "n", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33405 arg2
= (int) SWIG_AsInt(obj1
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33411 wxPyEndAllowThreads(__tstate
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33414 resultobj
= result
;
33421 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
;
33423 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33425 PyObject
*arg3
= (PyObject
*) 0 ;
33426 PyObject
* obj0
= 0 ;
33427 PyObject
* obj1
= 0 ;
33428 PyObject
* obj2
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self",(char *) "n",(char *) "clientData", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33436 arg2
= (int) SWIG_AsInt(obj1
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33441 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33443 wxPyEndAllowThreads(__tstate
);
33444 if (PyErr_Occurred()) SWIG_fail
;
33446 Py_INCREF(Py_None
); resultobj
= Py_None
;
33453 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33456 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33458 return Py_BuildValue((char *)"");
33460 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33463 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33465 return Py_BuildValue((char *)"");
33467 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33468 PyObject
*resultobj
;
33469 wxSizerItem
*result
;
33470 char *kwnames
[] = {
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 result
= (wxSizerItem
*)new wxSizerItem();
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33489 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
;
33496 wxObject
*arg6
= (wxObject
*) 0 ;
33497 wxSizerItem
*result
;
33498 PyObject
* obj0
= 0 ;
33499 PyObject
* obj1
= 0 ;
33500 PyObject
* obj2
= 0 ;
33501 PyObject
* obj3
= 0 ;
33502 PyObject
* obj4
= 0 ;
33503 PyObject
* obj5
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33509 arg1
= (int) SWIG_AsInt(obj0
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33511 arg2
= (int) SWIG_AsInt(obj1
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33513 arg3
= (int) SWIG_AsInt(obj2
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33515 arg4
= (int) SWIG_AsInt(obj3
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33517 arg5
= (int) SWIG_AsInt(obj4
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33519 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33535 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
;
33537 wxWindow
*arg1
= (wxWindow
*) 0 ;
33541 wxObject
*arg5
= (wxObject
*) 0 ;
33542 wxSizerItem
*result
;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 PyObject
* obj2
= 0 ;
33546 PyObject
* obj3
= 0 ;
33547 PyObject
* obj4
= 0 ;
33548 char *kwnames
[] = {
33549 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33555 arg2
= (int) SWIG_AsInt(obj1
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33557 arg3
= (int) SWIG_AsInt(obj2
);
33558 if (PyErr_Occurred()) SWIG_fail
;
33559 arg4
= (int) SWIG_AsInt(obj3
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33561 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33577 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
;
33579 wxSizer
*arg1
= (wxSizer
*) 0 ;
33583 wxObject
*arg5
= (wxObject
*) 0 ;
33584 wxSizerItem
*result
;
33585 PyObject
* obj0
= 0 ;
33586 PyObject
* obj1
= 0 ;
33587 PyObject
* obj2
= 0 ;
33588 PyObject
* obj3
= 0 ;
33589 PyObject
* obj4
= 0 ;
33590 char *kwnames
[] = {
33591 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33597 arg2
= (int) SWIG_AsInt(obj1
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33599 arg3
= (int) SWIG_AsInt(obj2
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33601 arg4
= (int) SWIG_AsInt(obj3
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33603 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33619 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
;
33621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 (arg1
)->DeleteWindows();
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 Py_INCREF(Py_None
); resultobj
= Py_None
;
33644 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
;
33646 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33647 PyObject
* obj0
= 0 ;
33648 char *kwnames
[] = {
33649 (char *) "self", NULL
33652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->DetachSizer();
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 Py_INCREF(Py_None
); resultobj
= Py_None
;
33669 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
;
33671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 char *kwnames
[] = {
33675 (char *) "self", NULL
33678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 result
= (arg1
)->GetSize();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33689 wxSize
* resultptr
;
33690 resultptr
= new wxSize((wxSize
&) result
);
33691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33699 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33703 PyObject
* obj0
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= (arg1
)->CalcMin();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 wxSize
* resultptr
;
33720 resultptr
= new wxSize((wxSize
&) result
);
33721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33729 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33730 PyObject
*resultobj
;
33731 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 PyObject
* obj2
= 0 ;
33739 char *kwnames
[] = {
33740 (char *) "self",(char *) "pos",(char *) "size", NULL
33743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33746 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33747 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33749 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33750 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 (arg1
)->SetDimension(arg2
,arg3
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 Py_INCREF(Py_None
); resultobj
= Py_None
;
33766 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33768 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33770 PyObject
* obj0
= 0 ;
33771 char *kwnames
[] = {
33772 (char *) "self", NULL
33775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 result
= (arg1
)->GetMinSize();
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33786 wxSize
* resultptr
;
33787 resultptr
= new wxSize((wxSize
&) result
);
33788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33796 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33797 PyObject
*resultobj
;
33798 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 PyObject
* obj2
= 0 ;
33804 char *kwnames
[] = {
33805 (char *) "self",(char *) "x",(char *) "y", NULL
33808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33811 arg2
= (int) SWIG_AsInt(obj1
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33813 arg3
= (int) SWIG_AsInt(obj2
);
33814 if (PyErr_Occurred()) SWIG_fail
;
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->SetInitSize(arg2
,arg3
);
33819 wxPyEndAllowThreads(__tstate
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33822 Py_INCREF(Py_None
); resultobj
= Py_None
;
33829 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
;
33831 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 PyObject
* obj2
= 0 ;
33837 char *kwnames
[] = {
33838 (char *) "self",(char *) "width",(char *) "height", NULL
33841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33844 arg2
= (int) SWIG_AsInt(obj1
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33846 arg3
= (int) SWIG_AsInt(obj2
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->SetRatio(arg2
,arg3
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 Py_INCREF(Py_None
); resultobj
= Py_None
;
33862 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33863 PyObject
*resultobj
;
33864 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33867 PyObject
* obj0
= 0 ;
33868 PyObject
* obj1
= 0 ;
33869 char *kwnames
[] = {
33870 (char *) "self",(char *) "size", NULL
33873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33876 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33877 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33881 (arg1
)->SetRatio(arg2
);
33883 wxPyEndAllowThreads(__tstate
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33886 Py_INCREF(Py_None
); resultobj
= Py_None
;
33893 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
;
33895 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33897 PyObject
* obj0
= 0 ;
33898 PyObject
* obj1
= 0 ;
33899 char *kwnames
[] = {
33900 (char *) "self",(char *) "ratio", NULL
33903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33906 arg2
= (float) SWIG_AsFloat(obj1
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33910 (arg1
)->SetRatio(arg2
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33915 Py_INCREF(Py_None
); resultobj
= Py_None
;
33922 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33926 PyObject
* obj0
= 0 ;
33927 char *kwnames
[] = {
33928 (char *) "self", NULL
33931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (float)(arg1
)->GetRatio();
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_FromFloat((float)result
);
33948 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33952 PyObject
* obj0
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 result
= (bool)(arg1
)->IsWindow();
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33976 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
;
33978 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33980 PyObject
* obj0
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (bool)(arg1
)->IsSizer();
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34004 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 char *kwnames
[] = {
34010 (char *) "self", NULL
34013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 result
= (bool)(arg1
)->IsSpacer();
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34032 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
;
34034 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 char *kwnames
[] = {
34039 (char *) "self",(char *) "proportion", NULL
34042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34045 arg2
= (int) SWIG_AsInt(obj1
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->SetProportion(arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 Py_INCREF(Py_None
); resultobj
= Py_None
;
34061 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34065 PyObject
* obj0
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (int)(arg1
)->GetProportion();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= SWIG_FromInt((int)result
);
34087 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
;
34089 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 char *kwnames
[] = {
34094 (char *) "self",(char *) "flag", NULL
34097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34100 arg2
= (int) SWIG_AsInt(obj1
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 (arg1
)->SetFlag(arg2
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 Py_INCREF(Py_None
); resultobj
= Py_None
;
34116 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 char *kwnames
[] = {
34122 (char *) "self", NULL
34125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (int)(arg1
)->GetFlag();
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34135 resultobj
= SWIG_FromInt((int)result
);
34142 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34143 PyObject
*resultobj
;
34144 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34146 PyObject
* obj0
= 0 ;
34147 PyObject
* obj1
= 0 ;
34148 char *kwnames
[] = {
34149 (char *) "self",(char *) "border", NULL
34152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34155 arg2
= (int) SWIG_AsInt(obj1
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 (arg1
)->SetBorder(arg2
);
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34164 Py_INCREF(Py_None
); resultobj
= Py_None
;
34171 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= (int)(arg1
)->GetBorder();
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_FromInt((int)result
);
34197 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
;
34199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34201 PyObject
* obj0
= 0 ;
34202 char *kwnames
[] = {
34203 (char *) "self", NULL
34206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (wxWindow
*)(arg1
)->GetWindow();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= wxPyMake_wxObject(result
);
34225 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
;
34227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34228 wxWindow
*arg2
= (wxWindow
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "window", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->SetWindow(arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 Py_INCREF(Py_None
); resultobj
= Py_None
;
34254 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34258 PyObject
* obj0
= 0 ;
34259 char *kwnames
[] = {
34260 (char *) "self", NULL
34263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 result
= (wxSizer
*)(arg1
)->GetSizer();
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= wxPyMake_wxSizer(result
);
34282 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34283 PyObject
*resultobj
;
34284 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34285 wxSizer
*arg2
= (wxSizer
*) 0 ;
34286 PyObject
* obj0
= 0 ;
34287 PyObject
* obj1
= 0 ;
34288 char *kwnames
[] = {
34289 (char *) "self",(char *) "sizer", NULL
34292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 (arg1
)->SetSizer(arg2
);
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 Py_INCREF(Py_None
); resultobj
= Py_None
;
34311 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
;
34313 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34315 PyObject
* obj0
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34327 result
= (wxSize
*) &_result_ref
;
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34340 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34345 PyObject
* obj0
= 0 ;
34346 PyObject
* obj1
= 0 ;
34347 char *kwnames
[] = {
34348 (char *) "self",(char *) "size", NULL
34351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 Py_INCREF(Py_None
); resultobj
= Py_None
;
34372 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34376 PyObject
* obj0
= 0 ;
34377 PyObject
* obj1
= 0 ;
34378 char *kwnames
[] = {
34379 (char *) "self",(char *) "show", NULL
34382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34385 arg2
= (bool) SWIG_AsBool(obj1
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34389 (arg1
)->Show(arg2
);
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34394 Py_INCREF(Py_None
); resultobj
= Py_None
;
34401 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34405 PyObject
* obj0
= 0 ;
34406 char *kwnames
[] = {
34407 (char *) "self", NULL
34410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 result
= (bool)(arg1
)->IsShown();
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34429 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "self", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= (arg1
)->GetPosition();
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34449 wxPoint
* resultptr
;
34450 resultptr
= new wxPoint((wxPoint
&) result
);
34451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34459 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
;
34461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34463 PyObject
* obj0
= 0 ;
34464 char *kwnames
[] = {
34465 (char *) "self", NULL
34468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= result
;
34485 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34488 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34490 return Py_BuildValue((char *)"");
34492 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
;
34494 wxSizer
*arg1
= (wxSizer
*) 0 ;
34495 PyObject
*arg2
= (PyObject
*) 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self",(char *) "_self", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 wxSizer__setOORInfo(arg1
,arg2
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34513 Py_INCREF(Py_None
); resultobj
= Py_None
;
34520 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34521 PyObject
*resultobj
;
34522 wxSizer
*arg1
= (wxSizer
*) 0 ;
34523 PyObject
*arg2
= (PyObject
*) 0 ;
34524 int arg3
= (int) 0 ;
34525 int arg4
= (int) 0 ;
34526 int arg5
= (int) 0 ;
34527 PyObject
*arg6
= (PyObject
*) NULL
;
34528 PyObject
* obj0
= 0 ;
34529 PyObject
* obj1
= 0 ;
34530 PyObject
* obj2
= 0 ;
34531 PyObject
* obj3
= 0 ;
34532 PyObject
* obj4
= 0 ;
34533 PyObject
* obj5
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34543 arg3
= (int) SWIG_AsInt(obj2
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34547 arg4
= (int) SWIG_AsInt(obj3
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34551 arg5
= (int) SWIG_AsInt(obj4
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34564 Py_INCREF(Py_None
); resultobj
= Py_None
;
34571 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
;
34573 wxSizer
*arg1
= (wxSizer
*) 0 ;
34575 PyObject
*arg3
= (PyObject
*) 0 ;
34576 int arg4
= (int) 0 ;
34577 int arg5
= (int) 0 ;
34578 int arg6
= (int) 0 ;
34579 PyObject
*arg7
= (PyObject
*) NULL
;
34580 PyObject
* obj0
= 0 ;
34581 PyObject
* obj1
= 0 ;
34582 PyObject
* obj2
= 0 ;
34583 PyObject
* obj3
= 0 ;
34584 PyObject
* obj4
= 0 ;
34585 PyObject
* obj5
= 0 ;
34586 PyObject
* obj6
= 0 ;
34587 char *kwnames
[] = {
34588 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34594 arg2
= (int) SWIG_AsInt(obj1
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34598 arg4
= (int) SWIG_AsInt(obj3
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34602 arg5
= (int) SWIG_AsInt(obj4
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34606 arg6
= (int) SWIG_AsInt(obj5
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 Py_INCREF(Py_None
); resultobj
= Py_None
;
34626 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxSizer
*arg1
= (wxSizer
*) 0 ;
34629 PyObject
*arg2
= (PyObject
*) 0 ;
34630 int arg3
= (int) 0 ;
34631 int arg4
= (int) 0 ;
34632 int arg5
= (int) 0 ;
34633 PyObject
*arg6
= (PyObject
*) NULL
;
34634 PyObject
* obj0
= 0 ;
34635 PyObject
* obj1
= 0 ;
34636 PyObject
* obj2
= 0 ;
34637 PyObject
* obj3
= 0 ;
34638 PyObject
* obj4
= 0 ;
34639 PyObject
* obj5
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34649 arg3
= (int) SWIG_AsInt(obj2
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34653 arg4
= (int) SWIG_AsInt(obj3
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34657 arg5
= (int) SWIG_AsInt(obj4
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 Py_INCREF(Py_None
); resultobj
= Py_None
;
34677 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
;
34679 wxSizer
*arg1
= (wxSizer
*) 0 ;
34680 PyObject
*arg2
= (PyObject
*) 0 ;
34682 PyObject
* obj0
= 0 ;
34683 PyObject
* obj1
= 0 ;
34684 char *kwnames
[] = {
34685 (char *) "self",(char *) "item", NULL
34688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34694 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34708 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
;
34710 wxSizer
*arg1
= (wxSizer
*) 0 ;
34711 PyObject
*arg2
= (PyObject
*) 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "item", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
34720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34725 result
= (bool)wxSizer_Detach(arg1
,arg2
);
34727 wxPyEndAllowThreads(__tstate
);
34728 if (PyErr_Occurred()) SWIG_fail
;
34731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34739 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
;
34741 wxSizer
*arg1
= (wxSizer
*) 0 ;
34742 PyObject
*arg2
= (PyObject
*) 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 PyObject
* obj2
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self",(char *) "item",(char *) "size", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34758 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 Py_INCREF(Py_None
); resultobj
= Py_None
;
34774 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
;
34776 wxSizer
*arg1
= (wxSizer
*) 0 ;
34777 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 char *kwnames
[] = {
34781 (char *) "self",(char *) "item", NULL
34784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34796 Py_INCREF(Py_None
); resultobj
= Py_None
;
34803 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
;
34805 wxSizer
*arg1
= (wxSizer
*) 0 ;
34807 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34808 PyObject
* obj0
= 0 ;
34809 PyObject
* obj1
= 0 ;
34810 PyObject
* obj2
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self",(char *) "index",(char *) "item", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34818 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34820 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 (arg1
)->Insert(arg2
,arg3
);
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34829 Py_INCREF(Py_None
); resultobj
= Py_None
;
34836 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34837 PyObject
*resultobj
;
34838 wxSizer
*arg1
= (wxSizer
*) 0 ;
34839 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34840 PyObject
* obj0
= 0 ;
34841 PyObject
* obj1
= 0 ;
34842 char *kwnames
[] = {
34843 (char *) "self",(char *) "item", NULL
34846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 (arg1
)->Prepend(arg2
);
34855 wxPyEndAllowThreads(__tstate
);
34856 if (PyErr_Occurred()) SWIG_fail
;
34858 Py_INCREF(Py_None
); resultobj
= Py_None
;
34865 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34866 PyObject
*resultobj
;
34867 wxSizer
*arg1
= (wxSizer
*) 0 ;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 PyObject
* obj2
= 0 ;
34875 PyObject
* obj3
= 0 ;
34876 PyObject
* obj4
= 0 ;
34877 char *kwnames
[] = {
34878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34884 arg2
= (int) SWIG_AsInt(obj1
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34886 arg3
= (int) SWIG_AsInt(obj2
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34888 arg4
= (int) SWIG_AsInt(obj3
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34890 arg5
= (int) SWIG_AsInt(obj4
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34896 wxPyEndAllowThreads(__tstate
);
34897 if (PyErr_Occurred()) SWIG_fail
;
34899 Py_INCREF(Py_None
); resultobj
= Py_None
;
34906 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34907 PyObject
*resultobj
;
34908 wxSizer
*arg1
= (wxSizer
*) 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self",(char *) "size", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 Py_INCREF(Py_None
); resultobj
= Py_None
;
34938 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
;
34940 wxSizer
*arg1
= (wxSizer
*) 0 ;
34942 PyObject
* obj0
= 0 ;
34943 char *kwnames
[] = {
34944 (char *) "self", NULL
34947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (arg1
)->GetSize();
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34958 wxSize
* resultptr
;
34959 resultptr
= new wxSize((wxSize
&) result
);
34960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34968 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
;
34970 wxSizer
*arg1
= (wxSizer
*) 0 ;
34972 PyObject
* obj0
= 0 ;
34973 char *kwnames
[] = {
34974 (char *) "self", NULL
34977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (arg1
)->GetPosition();
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34988 wxPoint
* resultptr
;
34989 resultptr
= new wxPoint((wxPoint
&) result
);
34990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34998 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxSizer
*arg1
= (wxSizer
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 char *kwnames
[] = {
35004 (char *) "self", NULL
35007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 result
= (arg1
)->GetMinSize();
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35018 wxSize
* resultptr
;
35019 resultptr
= new wxSize((wxSize
&) result
);
35020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35028 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
;
35030 wxSizer
*arg1
= (wxSizer
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 char *kwnames
[] = {
35033 (char *) "self", NULL
35036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 (arg1
)->RecalcSizes();
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 Py_INCREF(Py_None
); resultobj
= Py_None
;
35053 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxSizer
*arg1
= (wxSizer
*) 0 ;
35057 PyObject
* obj0
= 0 ;
35058 char *kwnames
[] = {
35059 (char *) "self", NULL
35062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 result
= (arg1
)->CalcMin();
35069 wxPyEndAllowThreads(__tstate
);
35070 if (PyErr_Occurred()) SWIG_fail
;
35073 wxSize
* resultptr
;
35074 resultptr
= new wxSize((wxSize
&) result
);
35075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35083 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
;
35085 wxSizer
*arg1
= (wxSizer
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 Py_INCREF(Py_None
); resultobj
= Py_None
;
35108 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
;
35110 wxSizer
*arg1
= (wxSizer
*) 0 ;
35111 wxWindow
*arg2
= (wxWindow
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 PyObject
* obj1
= 0 ;
35115 char *kwnames
[] = {
35116 (char *) "self",(char *) "window", NULL
35119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (arg1
)->Fit(arg2
);
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35132 wxSize
* resultptr
;
35133 resultptr
= new wxSize((wxSize
&) result
);
35134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35142 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
;
35144 wxSizer
*arg1
= (wxSizer
*) 0 ;
35145 wxWindow
*arg2
= (wxWindow
*) 0 ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 char *kwnames
[] = {
35149 (char *) "self",(char *) "window", NULL
35152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 (arg1
)->FitInside(arg2
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 Py_INCREF(Py_None
); resultobj
= Py_None
;
35171 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
;
35173 wxSizer
*arg1
= (wxSizer
*) 0 ;
35174 wxWindow
*arg2
= (wxWindow
*) 0 ;
35175 PyObject
* obj0
= 0 ;
35176 PyObject
* obj1
= 0 ;
35177 char *kwnames
[] = {
35178 (char *) "self",(char *) "window", NULL
35181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 (arg1
)->SetSizeHints(arg2
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 Py_INCREF(Py_None
); resultobj
= Py_None
;
35200 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
;
35202 wxSizer
*arg1
= (wxSizer
*) 0 ;
35203 wxWindow
*arg2
= (wxWindow
*) 0 ;
35204 PyObject
* obj0
= 0 ;
35205 PyObject
* obj1
= 0 ;
35206 char *kwnames
[] = {
35207 (char *) "self",(char *) "window", NULL
35210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 (arg1
)->SetVirtualSizeHints(arg2
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 Py_INCREF(Py_None
); resultobj
= Py_None
;
35229 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
;
35231 wxSizer
*arg1
= (wxSizer
*) 0 ;
35232 bool arg2
= (bool) False
;
35233 PyObject
* obj0
= 0 ;
35234 PyObject
* obj1
= 0 ;
35235 char *kwnames
[] = {
35236 (char *) "self",(char *) "delete_windows", NULL
35239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35243 arg2
= (bool) SWIG_AsBool(obj1
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 (arg1
)->Clear(arg2
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 Py_INCREF(Py_None
); resultobj
= Py_None
;
35260 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxSizer
*arg1
= (wxSizer
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 char *kwnames
[] = {
35265 (char *) "self", NULL
35268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 (arg1
)->DeleteWindows();
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35278 Py_INCREF(Py_None
); resultobj
= Py_None
;
35285 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
;
35287 wxSizer
*arg1
= (wxSizer
*) 0 ;
35289 PyObject
* obj0
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 resultobj
= result
;
35311 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxSizer
*arg1
= (wxSizer
*) 0 ;
35314 PyObject
*arg2
= (PyObject
*) 0 ;
35315 bool arg3
= (bool) True
;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 PyObject
* obj2
= 0 ;
35319 char *kwnames
[] = {
35320 (char *) "self",(char *) "item",(char *) "show", NULL
35323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35328 arg3
= (bool) SWIG_AsBool(obj2
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 wxSizer_Show(arg1
,arg2
,arg3
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 Py_INCREF(Py_None
); resultobj
= Py_None
;
35345 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxSizer
*arg1
= (wxSizer
*) 0 ;
35348 PyObject
*arg2
= (PyObject
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "item", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 wxSizer_Hide(arg1
,arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 Py_INCREF(Py_None
); resultobj
= Py_None
;
35373 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
;
35375 wxSizer
*arg1
= (wxSizer
*) 0 ;
35376 PyObject
*arg2
= (PyObject
*) 0 ;
35378 PyObject
* obj0
= 0 ;
35379 PyObject
* obj1
= 0 ;
35380 char *kwnames
[] = {
35381 (char *) "self",(char *) "item", NULL
35384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35392 wxPyEndAllowThreads(__tstate
);
35393 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35404 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35405 PyObject
*resultobj
;
35406 wxSizer
*arg1
= (wxSizer
*) 0 ;
35408 PyObject
* obj0
= 0 ;
35409 PyObject
* obj1
= 0 ;
35410 char *kwnames
[] = {
35411 (char *) "self",(char *) "show", NULL
35414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35417 arg2
= (bool) SWIG_AsBool(obj1
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 (arg1
)->ShowItems(arg2
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 Py_INCREF(Py_None
); resultobj
= Py_None
;
35433 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35436 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35438 return Py_BuildValue((char *)"");
35440 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35441 PyObject
*resultobj
;
35443 char *kwnames
[] = {
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 result
= (wxPySizer
*)new wxPySizer();
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35462 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35465 PyObject
*arg2
= (PyObject
*) 0 ;
35466 PyObject
*arg3
= (PyObject
*) 0 ;
35467 PyObject
* obj0
= 0 ;
35468 PyObject
* obj1
= 0 ;
35469 PyObject
* obj2
= 0 ;
35470 char *kwnames
[] = {
35471 (char *) "self",(char *) "self",(char *) "_class", NULL
35474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 Py_INCREF(Py_None
); resultobj
= Py_None
;
35493 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35496 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35498 return Py_BuildValue((char *)"");
35500 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35501 PyObject
*resultobj
;
35502 int arg1
= (int) wxHORIZONTAL
;
35503 wxBoxSizer
*result
;
35504 PyObject
* obj0
= 0 ;
35505 char *kwnames
[] = {
35506 (char *) "orient", NULL
35509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35511 arg1
= (int) SWIG_AsInt(obj0
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35516 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35528 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35529 PyObject
*resultobj
;
35530 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35532 PyObject
* obj0
= 0 ;
35533 char *kwnames
[] = {
35534 (char *) "self", NULL
35537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 result
= (int)(arg1
)->GetOrientation();
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_FromInt((int)result
);
35554 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
;
35556 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35558 PyObject
* obj0
= 0 ;
35559 PyObject
* obj1
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self",(char *) "orient", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35567 arg2
= (int) SWIG_AsInt(obj1
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 (arg1
)->SetOrientation(arg2
);
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 Py_INCREF(Py_None
); resultobj
= Py_None
;
35583 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35586 PyObject
* obj0
= 0 ;
35587 char *kwnames
[] = {
35588 (char *) "self", NULL
35591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 (arg1
)->RecalcSizes();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 Py_INCREF(Py_None
); resultobj
= Py_None
;
35608 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
;
35610 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35612 PyObject
* obj0
= 0 ;
35613 char *kwnames
[] = {
35614 (char *) "self", NULL
35617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 result
= (arg1
)->CalcMin();
35624 wxPyEndAllowThreads(__tstate
);
35625 if (PyErr_Occurred()) SWIG_fail
;
35628 wxSize
* resultptr
;
35629 resultptr
= new wxSize((wxSize
&) result
);
35630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35638 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35641 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35643 return Py_BuildValue((char *)"");
35645 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35646 PyObject
*resultobj
;
35647 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35648 int arg2
= (int) wxHORIZONTAL
;
35649 wxStaticBoxSizer
*result
;
35650 PyObject
* obj0
= 0 ;
35651 PyObject
* obj1
= 0 ;
35652 char *kwnames
[] = {
35653 (char *) "box",(char *) "orient", NULL
35656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35660 arg2
= (int) SWIG_AsInt(obj1
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35665 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35667 wxPyEndAllowThreads(__tstate
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35677 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35678 PyObject
*resultobj
;
35679 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35680 wxStaticBox
*result
;
35681 PyObject
* obj0
= 0 ;
35682 char *kwnames
[] = {
35683 (char *) "self", NULL
35686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",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 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35697 resultobj
= wxPyMake_wxObject(result
);
35705 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35706 PyObject
*resultobj
;
35707 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35708 PyObject
* obj0
= 0 ;
35709 char *kwnames
[] = {
35710 (char *) "self", NULL
35713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->RecalcSizes();
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 Py_INCREF(Py_None
); resultobj
= Py_None
;
35730 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
;
35732 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35734 PyObject
* obj0
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35744 result
= (arg1
)->CalcMin();
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35750 wxSize
* resultptr
;
35751 resultptr
= new wxSize((wxSize
&) result
);
35752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35760 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35763 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35765 return Py_BuildValue((char *)"");
35767 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
;
35769 int arg1
= (int) 1 ;
35770 int arg2
= (int) 0 ;
35771 int arg3
= (int) 0 ;
35772 int arg4
= (int) 0 ;
35773 wxGridSizer
*result
;
35774 PyObject
* obj0
= 0 ;
35775 PyObject
* obj1
= 0 ;
35776 PyObject
* obj2
= 0 ;
35777 PyObject
* obj3
= 0 ;
35778 char *kwnames
[] = {
35779 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35784 arg1
= (int) SWIG_AsInt(obj0
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35788 arg2
= (int) SWIG_AsInt(obj1
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35792 arg3
= (int) SWIG_AsInt(obj2
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35796 arg4
= (int) SWIG_AsInt(obj3
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35801 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35803 wxPyEndAllowThreads(__tstate
);
35804 if (PyErr_Occurred()) SWIG_fail
;
35806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35813 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35814 PyObject
*resultobj
;
35815 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35816 PyObject
* obj0
= 0 ;
35817 char *kwnames
[] = {
35818 (char *) "self", NULL
35821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 (arg1
)->RecalcSizes();
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 Py_INCREF(Py_None
); resultobj
= Py_None
;
35838 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 char *kwnames
[] = {
35844 (char *) "self", NULL
35847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35852 result
= (arg1
)->CalcMin();
35854 wxPyEndAllowThreads(__tstate
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35858 wxSize
* resultptr
;
35859 resultptr
= new wxSize((wxSize
&) result
);
35860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35868 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35869 PyObject
*resultobj
;
35870 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 char *kwnames
[] = {
35875 (char *) "self",(char *) "cols", NULL
35878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35881 arg2
= (int) SWIG_AsInt(obj1
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 (arg1
)->SetCols(arg2
);
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35890 Py_INCREF(Py_None
); resultobj
= Py_None
;
35897 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
;
35899 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char *kwnames
[] = {
35904 (char *) "self",(char *) "rows", NULL
35907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35910 arg2
= (int) SWIG_AsInt(obj1
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->SetRows(arg2
);
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 Py_INCREF(Py_None
); resultobj
= Py_None
;
35926 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
;
35928 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 PyObject
* obj1
= 0 ;
35932 char *kwnames
[] = {
35933 (char *) "self",(char *) "gap", NULL
35936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35939 arg2
= (int) SWIG_AsInt(obj1
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 (arg1
)->SetVGap(arg2
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 Py_INCREF(Py_None
); resultobj
= Py_None
;
35955 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
;
35957 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35959 PyObject
* obj0
= 0 ;
35960 PyObject
* obj1
= 0 ;
35961 char *kwnames
[] = {
35962 (char *) "self",(char *) "gap", NULL
35965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35968 arg2
= (int) SWIG_AsInt(obj1
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35972 (arg1
)->SetHGap(arg2
);
35974 wxPyEndAllowThreads(__tstate
);
35975 if (PyErr_Occurred()) SWIG_fail
;
35977 Py_INCREF(Py_None
); resultobj
= Py_None
;
35984 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
;
35986 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35988 PyObject
* obj0
= 0 ;
35989 char *kwnames
[] = {
35990 (char *) "self", NULL
35993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 result
= (int)(arg1
)->GetCols();
36000 wxPyEndAllowThreads(__tstate
);
36001 if (PyErr_Occurred()) SWIG_fail
;
36003 resultobj
= SWIG_FromInt((int)result
);
36010 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36011 PyObject
*resultobj
;
36012 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36014 PyObject
* obj0
= 0 ;
36015 char *kwnames
[] = {
36016 (char *) "self", NULL
36019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= (int)(arg1
)->GetRows();
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 resultobj
= SWIG_FromInt((int)result
);
36036 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36037 PyObject
*resultobj
;
36038 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36040 PyObject
* obj0
= 0 ;
36041 char *kwnames
[] = {
36042 (char *) "self", NULL
36045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 result
= (int)(arg1
)->GetVGap();
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= SWIG_FromInt((int)result
);
36062 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
;
36064 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36066 PyObject
* obj0
= 0 ;
36067 char *kwnames
[] = {
36068 (char *) "self", NULL
36071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 result
= (int)(arg1
)->GetHGap();
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36081 resultobj
= SWIG_FromInt((int)result
);
36088 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36091 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36093 return Py_BuildValue((char *)"");
36095 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
;
36097 int arg1
= (int) 1 ;
36098 int arg2
= (int) 0 ;
36099 int arg3
= (int) 0 ;
36100 int arg4
= (int) 0 ;
36101 wxFlexGridSizer
*result
;
36102 PyObject
* obj0
= 0 ;
36103 PyObject
* obj1
= 0 ;
36104 PyObject
* obj2
= 0 ;
36105 PyObject
* obj3
= 0 ;
36106 char *kwnames
[] = {
36107 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36112 arg1
= (int) SWIG_AsInt(obj0
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36116 arg2
= (int) SWIG_AsInt(obj1
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36120 arg3
= (int) SWIG_AsInt(obj2
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36124 arg4
= (int) SWIG_AsInt(obj3
);
36125 if (PyErr_Occurred()) SWIG_fail
;
36128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36129 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36131 wxPyEndAllowThreads(__tstate
);
36132 if (PyErr_Occurred()) SWIG_fail
;
36134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36141 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36142 PyObject
*resultobj
;
36143 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36144 PyObject
* obj0
= 0 ;
36145 char *kwnames
[] = {
36146 (char *) "self", NULL
36149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 (arg1
)->RecalcSizes();
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 Py_INCREF(Py_None
); resultobj
= Py_None
;
36166 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36167 PyObject
*resultobj
;
36168 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36170 PyObject
* obj0
= 0 ;
36171 char *kwnames
[] = {
36172 (char *) "self", NULL
36175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36180 result
= (arg1
)->CalcMin();
36182 wxPyEndAllowThreads(__tstate
);
36183 if (PyErr_Occurred()) SWIG_fail
;
36186 wxSize
* resultptr
;
36187 resultptr
= new wxSize((wxSize
&) result
);
36188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36196 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
;
36198 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36200 int arg3
= (int) 0 ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 PyObject
* obj2
= 0 ;
36204 char *kwnames
[] = {
36205 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36211 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36214 arg3
= (int) SWIG_AsInt(obj2
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36219 (arg1
)->AddGrowableRow(arg2
,arg3
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 Py_INCREF(Py_None
); resultobj
= Py_None
;
36231 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
;
36233 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36235 PyObject
* obj0
= 0 ;
36236 PyObject
* obj1
= 0 ;
36237 char *kwnames
[] = {
36238 (char *) "self",(char *) "idx", NULL
36241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36244 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 (arg1
)->RemoveGrowableRow(arg2
);
36250 wxPyEndAllowThreads(__tstate
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36253 Py_INCREF(Py_None
); resultobj
= Py_None
;
36260 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36261 PyObject
*resultobj
;
36262 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36264 int arg3
= (int) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 PyObject
* obj2
= 0 ;
36268 char *kwnames
[] = {
36269 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36275 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 arg3
= (int) SWIG_AsInt(obj2
);
36279 if (PyErr_Occurred()) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 (arg1
)->AddGrowableCol(arg2
,arg3
);
36285 wxPyEndAllowThreads(__tstate
);
36286 if (PyErr_Occurred()) SWIG_fail
;
36288 Py_INCREF(Py_None
); resultobj
= Py_None
;
36295 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36296 PyObject
*resultobj
;
36297 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36299 PyObject
* obj0
= 0 ;
36300 PyObject
* obj1
= 0 ;
36301 char *kwnames
[] = {
36302 (char *) "self",(char *) "idx", NULL
36305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36308 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36312 (arg1
)->RemoveGrowableCol(arg2
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 Py_INCREF(Py_None
); resultobj
= Py_None
;
36324 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
;
36326 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36328 PyObject
* obj0
= 0 ;
36329 PyObject
* obj1
= 0 ;
36330 char *kwnames
[] = {
36331 (char *) "self",(char *) "direction", NULL
36334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36337 arg2
= (int) SWIG_AsInt(obj1
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 (arg1
)->SetFlexibleDirection(arg2
);
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36346 Py_INCREF(Py_None
); resultobj
= Py_None
;
36353 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36354 PyObject
*resultobj
;
36355 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36357 PyObject
* obj0
= 0 ;
36358 char *kwnames
[] = {
36359 (char *) "self", NULL
36362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36367 result
= (int)(arg1
)->GetFlexibleDirection();
36369 wxPyEndAllowThreads(__tstate
);
36370 if (PyErr_Occurred()) SWIG_fail
;
36372 resultobj
= SWIG_FromInt((int)result
);
36379 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
;
36381 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36383 PyObject
* obj0
= 0 ;
36384 PyObject
* obj1
= 0 ;
36385 char *kwnames
[] = {
36386 (char *) "self",(char *) "mode", NULL
36389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36392 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36396 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36398 wxPyEndAllowThreads(__tstate
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36401 Py_INCREF(Py_None
); resultobj
= Py_None
;
36408 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
;
36410 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36412 PyObject
* obj0
= 0 ;
36413 char *kwnames
[] = {
36414 (char *) "self", NULL
36417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36424 wxPyEndAllowThreads(__tstate
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36427 resultobj
= SWIG_FromInt((int)result
);
36434 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36435 PyObject
*resultobj
;
36436 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36437 wxArrayInt
*result
;
36438 PyObject
* obj0
= 0 ;
36439 char *kwnames
[] = {
36440 (char *) "self", NULL
36443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36450 result
= (wxArrayInt
*) &_result_ref
;
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36457 resultobj
= PyList_New(0);
36459 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36460 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36461 PyList_Append(resultobj
, val
);
36471 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36472 PyObject
*resultobj
;
36473 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36474 wxArrayInt
*result
;
36475 PyObject
* obj0
= 0 ;
36476 char *kwnames
[] = {
36477 (char *) "self", NULL
36480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36486 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36487 result
= (wxArrayInt
*) &_result_ref
;
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= PyList_New(0);
36496 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36497 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36498 PyList_Append(resultobj
, val
);
36508 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36511 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36513 return Py_BuildValue((char *)"");
36515 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
;
36517 int arg1
= (int) 0 ;
36518 int arg2
= (int) 0 ;
36519 wxGBPosition
*result
;
36520 PyObject
* obj0
= 0 ;
36521 PyObject
* obj1
= 0 ;
36522 char *kwnames
[] = {
36523 (char *) "row",(char *) "col", NULL
36526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36528 arg1
= (int) SWIG_AsInt(obj0
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36532 arg2
= (int) SWIG_AsInt(obj1
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36549 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36550 PyObject
*resultobj
;
36551 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36553 PyObject
* obj0
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36565 wxPyEndAllowThreads(__tstate
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= SWIG_FromInt((int)result
);
36575 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
;
36577 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36579 PyObject
* obj0
= 0 ;
36580 char *kwnames
[] = {
36581 (char *) "self", NULL
36584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36594 resultobj
= SWIG_FromInt((int)result
);
36601 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36602 PyObject
*resultobj
;
36603 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 char *kwnames
[] = {
36608 (char *) "self",(char *) "row", NULL
36611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36614 arg2
= (int) SWIG_AsInt(obj1
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->SetRow(arg2
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 Py_INCREF(Py_None
); resultobj
= Py_None
;
36630 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
;
36632 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36634 PyObject
* obj0
= 0 ;
36635 PyObject
* obj1
= 0 ;
36636 char *kwnames
[] = {
36637 (char *) "self",(char *) "col", NULL
36640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36643 arg2
= (int) SWIG_AsInt(obj1
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->SetCol(arg2
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36652 Py_INCREF(Py_None
); resultobj
= Py_None
;
36659 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36660 PyObject
*resultobj
;
36661 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36662 wxGBPosition
*arg2
= 0 ;
36664 wxGBPosition temp2
;
36665 PyObject
* obj0
= 0 ;
36666 PyObject
* obj1
= 0 ;
36667 char *kwnames
[] = {
36668 (char *) "self",(char *) "other", NULL
36671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36676 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36694 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
;
36696 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36697 wxGBPosition
*arg2
= 0 ;
36699 wxGBPosition temp2
;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self",(char *) "other", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36711 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36729 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36730 PyObject
*resultobj
;
36731 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36732 int arg2
= (int) 0 ;
36733 int arg3
= (int) 0 ;
36734 PyObject
* obj0
= 0 ;
36735 PyObject
* obj1
= 0 ;
36736 PyObject
* obj2
= 0 ;
36737 char *kwnames
[] = {
36738 (char *) "self",(char *) "row",(char *) "col", NULL
36741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36745 arg2
= (int) SWIG_AsInt(obj1
);
36746 if (PyErr_Occurred()) SWIG_fail
;
36749 arg3
= (int) SWIG_AsInt(obj2
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 wxGBPosition_Set(arg1
,arg2
,arg3
);
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36759 Py_INCREF(Py_None
); resultobj
= Py_None
;
36766 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
;
36768 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= result
;
36792 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36795 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36797 return Py_BuildValue((char *)"");
36799 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
;
36801 int arg1
= (int) 1 ;
36802 int arg2
= (int) 1 ;
36804 PyObject
* obj0
= 0 ;
36805 PyObject
* obj1
= 0 ;
36806 char *kwnames
[] = {
36807 (char *) "rowspan",(char *) "colspan", NULL
36810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36812 arg1
= (int) SWIG_AsInt(obj0
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36816 arg2
= (int) SWIG_AsInt(obj1
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36833 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36834 PyObject
*resultobj
;
36835 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36837 PyObject
* obj0
= 0 ;
36838 char *kwnames
[] = {
36839 (char *) "self", NULL
36842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36847 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36849 wxPyEndAllowThreads(__tstate
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36852 resultobj
= SWIG_FromInt((int)result
);
36859 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36860 PyObject
*resultobj
;
36861 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36863 PyObject
* obj0
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "self", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_FromInt((int)result
);
36885 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
;
36887 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36889 PyObject
* obj0
= 0 ;
36890 PyObject
* obj1
= 0 ;
36891 char *kwnames
[] = {
36892 (char *) "self",(char *) "rowspan", NULL
36895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36898 arg2
= (int) SWIG_AsInt(obj1
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36902 (arg1
)->SetRowspan(arg2
);
36904 wxPyEndAllowThreads(__tstate
);
36905 if (PyErr_Occurred()) SWIG_fail
;
36907 Py_INCREF(Py_None
); resultobj
= Py_None
;
36914 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36915 PyObject
*resultobj
;
36916 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 char *kwnames
[] = {
36921 (char *) "self",(char *) "colspan", NULL
36924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36927 arg2
= (int) SWIG_AsInt(obj1
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 (arg1
)->SetColspan(arg2
);
36933 wxPyEndAllowThreads(__tstate
);
36934 if (PyErr_Occurred()) SWIG_fail
;
36936 Py_INCREF(Py_None
); resultobj
= Py_None
;
36943 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36944 PyObject
*resultobj
;
36945 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36946 wxGBSpan
*arg2
= 0 ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 char *kwnames
[] = {
36952 (char *) "self",(char *) "other", NULL
36955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36960 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36978 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
;
36980 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36981 wxGBSpan
*arg2
= 0 ;
36984 PyObject
* obj0
= 0 ;
36985 PyObject
* obj1
= 0 ;
36986 char *kwnames
[] = {
36987 (char *) "self",(char *) "other", NULL
36990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36995 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37013 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
;
37015 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37016 int arg2
= (int) 1 ;
37017 int arg3
= (int) 1 ;
37018 PyObject
* obj0
= 0 ;
37019 PyObject
* obj1
= 0 ;
37020 PyObject
* obj2
= 0 ;
37021 char *kwnames
[] = {
37022 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37029 arg2
= (int) SWIG_AsInt(obj1
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37033 arg3
= (int) SWIG_AsInt(obj2
);
37034 if (PyErr_Occurred()) SWIG_fail
;
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 wxGBSpan_Set(arg1
,arg2
,arg3
);
37040 wxPyEndAllowThreads(__tstate
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 Py_INCREF(Py_None
); resultobj
= Py_None
;
37050 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37051 PyObject
*resultobj
;
37052 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37054 PyObject
* obj0
= 0 ;
37055 char *kwnames
[] = {
37056 (char *) "self", NULL
37059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37066 wxPyEndAllowThreads(__tstate
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37069 resultobj
= result
;
37076 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37079 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37081 return Py_BuildValue((char *)"");
37083 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37084 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37089 static PyObject
*_wrap_DefaultSpan_get() {
37092 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37097 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37098 PyObject
*resultobj
;
37099 wxGBSizerItem
*result
;
37100 char *kwnames
[] = {
37104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37119 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
;
37121 wxWindow
*arg1
= (wxWindow
*) 0 ;
37122 wxGBPosition
*arg2
= 0 ;
37123 wxGBSpan
*arg3
= 0 ;
37126 wxObject
*arg6
= (wxObject
*) 0 ;
37127 wxGBSizerItem
*result
;
37128 wxGBPosition temp2
;
37130 PyObject
* obj0
= 0 ;
37131 PyObject
* obj1
= 0 ;
37132 PyObject
* obj2
= 0 ;
37133 PyObject
* obj3
= 0 ;
37134 PyObject
* obj4
= 0 ;
37135 PyObject
* obj5
= 0 ;
37136 char *kwnames
[] = {
37137 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37145 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37149 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37151 arg4
= (int) SWIG_AsInt(obj3
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37153 arg5
= (int) SWIG_AsInt(obj4
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37155 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37171 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
;
37173 wxSizer
*arg1
= (wxSizer
*) 0 ;
37174 wxGBPosition
*arg2
= 0 ;
37175 wxGBSpan
*arg3
= 0 ;
37178 wxObject
*arg6
= (wxObject
*) 0 ;
37179 wxGBSizerItem
*result
;
37180 wxGBPosition temp2
;
37182 PyObject
* obj0
= 0 ;
37183 PyObject
* obj1
= 0 ;
37184 PyObject
* obj2
= 0 ;
37185 PyObject
* obj3
= 0 ;
37186 PyObject
* obj4
= 0 ;
37187 PyObject
* obj5
= 0 ;
37188 char *kwnames
[] = {
37189 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37197 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37201 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37203 arg4
= (int) SWIG_AsInt(obj3
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37205 arg5
= (int) SWIG_AsInt(obj4
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37207 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37223 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
;
37227 wxGBPosition
*arg3
= 0 ;
37228 wxGBSpan
*arg4
= 0 ;
37231 wxObject
*arg7
= (wxObject
*) 0 ;
37232 wxGBSizerItem
*result
;
37233 wxGBPosition temp3
;
37235 PyObject
* obj0
= 0 ;
37236 PyObject
* obj1
= 0 ;
37237 PyObject
* obj2
= 0 ;
37238 PyObject
* obj3
= 0 ;
37239 PyObject
* obj4
= 0 ;
37240 PyObject
* obj5
= 0 ;
37241 PyObject
* obj6
= 0 ;
37242 char *kwnames
[] = {
37243 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37247 arg1
= (int) SWIG_AsInt(obj0
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37249 arg2
= (int) SWIG_AsInt(obj1
);
37250 if (PyErr_Occurred()) SWIG_fail
;
37253 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37257 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37259 arg5
= (int) SWIG_AsInt(obj4
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37261 arg6
= (int) SWIG_AsInt(obj5
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37263 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37279 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37280 PyObject
*resultobj
;
37281 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37282 wxGBPosition result
;
37283 PyObject
* obj0
= 0 ;
37284 char *kwnames
[] = {
37285 (char *) "self", NULL
37288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37295 wxPyEndAllowThreads(__tstate
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37299 wxGBPosition
* resultptr
;
37300 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37309 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37310 PyObject
*resultobj
;
37311 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37313 PyObject
* obj0
= 0 ;
37314 char *kwnames
[] = {
37315 (char *) "self", NULL
37318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37323 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37325 wxPyEndAllowThreads(__tstate
);
37326 if (PyErr_Occurred()) SWIG_fail
;
37329 wxGBSpan
* resultptr
;
37330 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37339 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37340 PyObject
*resultobj
;
37341 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37342 wxGBPosition
*arg2
= 0 ;
37344 wxGBPosition temp2
;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 char *kwnames
[] = {
37348 (char *) "self",(char *) "pos", NULL
37351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37356 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37362 wxPyEndAllowThreads(__tstate
);
37363 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37374 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37375 PyObject
*resultobj
;
37376 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37377 wxGBSpan
*arg2
= 0 ;
37380 PyObject
* obj0
= 0 ;
37381 PyObject
* obj1
= 0 ;
37382 char *kwnames
[] = {
37383 (char *) "self",(char *) "span", NULL
37386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37391 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37395 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37397 wxPyEndAllowThreads(__tstate
);
37398 if (PyErr_Occurred()) SWIG_fail
;
37401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37409 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37410 PyObject
*resultobj
;
37411 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37412 wxGBSizerItem
*arg2
= 0 ;
37414 PyObject
* obj0
= 0 ;
37415 PyObject
* obj1
= 0 ;
37417 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37423 if (arg2
== NULL
) {
37424 PyErr_SetString(PyExc_TypeError
,"null reference");
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37431 wxPyEndAllowThreads(__tstate
);
37432 if (PyErr_Occurred()) SWIG_fail
;
37435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37443 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37444 PyObject
*resultobj
;
37445 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37446 wxGBPosition
*arg2
= 0 ;
37447 wxGBSpan
*arg3
= 0 ;
37449 wxGBPosition temp2
;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 PyObject
* obj2
= 0 ;
37455 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37460 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37464 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37482 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37487 argc
= PyObject_Length(args
);
37488 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37489 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37495 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37505 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37513 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37521 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37530 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37534 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37537 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37543 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37548 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37549 PyObject
*resultobj
;
37550 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37553 PyObject
* obj0
= 0 ;
37554 PyObject
* obj1
= 0 ;
37555 PyObject
* obj2
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self",(char *) "row",(char *) "col", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37566 if (arg2
== NULL
) {
37567 PyErr_SetString(PyExc_TypeError
,"null reference");
37570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37573 if (arg3
== NULL
) {
37574 PyErr_SetString(PyExc_TypeError
,"null reference");
37578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37579 (arg1
)->GetEndPos(*arg2
,*arg3
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37584 Py_INCREF(Py_None
); resultobj
= Py_None
;
37591 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
;
37593 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37594 wxGridBagSizer
*result
;
37595 PyObject
* obj0
= 0 ;
37596 char *kwnames
[] = {
37597 (char *) "self", NULL
37600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37617 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37618 PyObject
*resultobj
;
37619 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37620 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37621 PyObject
* obj0
= 0 ;
37622 PyObject
* obj1
= 0 ;
37623 char *kwnames
[] = {
37624 (char *) "self",(char *) "sizer", NULL
37627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->SetGBSizer(arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 Py_INCREF(Py_None
); resultobj
= Py_None
;
37646 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37649 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37651 return Py_BuildValue((char *)"");
37653 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
;
37655 int arg1
= (int) 0 ;
37656 int arg2
= (int) 0 ;
37657 wxGridBagSizer
*result
;
37658 PyObject
* obj0
= 0 ;
37659 PyObject
* obj1
= 0 ;
37660 char *kwnames
[] = {
37661 (char *) "vgap",(char *) "hgap", NULL
37664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37666 arg1
= (int) SWIG_AsInt(obj0
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37670 arg2
= (int) SWIG_AsInt(obj1
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37687 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
;
37689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37690 PyObject
*arg2
= (PyObject
*) 0 ;
37691 wxGBPosition
*arg3
= 0 ;
37692 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37693 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37694 int arg5
= (int) 0 ;
37695 int arg6
= (int) 0 ;
37696 PyObject
*arg7
= (PyObject
*) NULL
;
37698 wxGBPosition temp3
;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37702 PyObject
* obj2
= 0 ;
37703 PyObject
* obj3
= 0 ;
37704 PyObject
* obj4
= 0 ;
37705 PyObject
* obj5
= 0 ;
37706 PyObject
* obj6
= 0 ;
37707 char *kwnames
[] = {
37708 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37717 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37722 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37726 arg5
= (int) SWIG_AsInt(obj4
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37730 arg6
= (int) SWIG_AsInt(obj5
);
37731 if (PyErr_Occurred()) SWIG_fail
;
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37738 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37752 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37753 PyObject
*resultobj
;
37754 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37755 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37757 PyObject
* obj0
= 0 ;
37758 PyObject
* obj1
= 0 ;
37759 char *kwnames
[] = {
37760 (char *) "self",(char *) "item", NULL
37763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 result
= (bool)(arg1
)->Add(arg2
);
37772 wxPyEndAllowThreads(__tstate
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37784 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37788 PyObject
* obj0
= 0 ;
37789 char *kwnames
[] = {
37790 (char *) "self", NULL
37793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37804 wxSize
* resultptr
;
37805 resultptr
= new wxSize((wxSize
&) result
);
37806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37814 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
;
37816 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37819 PyObject
* obj0
= 0 ;
37820 PyObject
* obj1
= 0 ;
37821 char *kwnames
[] = {
37822 (char *) "self",(char *) "sz", NULL
37825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37830 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37839 Py_INCREF(Py_None
); resultobj
= Py_None
;
37846 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37847 PyObject
*resultobj
;
37848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37849 wxWindow
*arg2
= (wxWindow
*) 0 ;
37850 wxGBPosition result
;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37854 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 result
= (arg1
)->GetItemPosition(arg2
);
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37867 wxGBPosition
* resultptr
;
37868 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37877 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37878 PyObject
*resultobj
;
37879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37880 wxSizer
*arg2
= (wxSizer
*) 0 ;
37881 wxGBPosition result
;
37882 PyObject
* obj0
= 0 ;
37883 PyObject
* obj1
= 0 ;
37885 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 result
= (arg1
)->GetItemPosition(arg2
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37898 wxGBPosition
* resultptr
;
37899 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37908 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37909 PyObject
*resultobj
;
37910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37912 wxGBPosition result
;
37913 PyObject
* obj0
= 0 ;
37914 PyObject
* obj1
= 0 ;
37916 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 result
= (arg1
)->GetItemPosition(arg2
);
37925 wxPyEndAllowThreads(__tstate
);
37926 if (PyErr_Occurred()) SWIG_fail
;
37929 wxGBPosition
* resultptr
;
37930 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37939 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37944 argc
= PyObject_Length(args
);
37945 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37946 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37952 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37962 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37970 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37996 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38012 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38014 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38019 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38024 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38025 PyObject
*resultobj
;
38026 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38027 wxWindow
*arg2
= (wxWindow
*) 0 ;
38028 wxGBPosition
*arg3
= 0 ;
38030 wxGBPosition temp3
;
38031 PyObject
* obj0
= 0 ;
38032 PyObject
* obj1
= 0 ;
38033 PyObject
* obj2
= 0 ;
38035 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38042 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38046 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38048 wxPyEndAllowThreads(__tstate
);
38049 if (PyErr_Occurred()) SWIG_fail
;
38052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38060 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38061 PyObject
*resultobj
;
38062 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38063 wxSizer
*arg2
= (wxSizer
*) 0 ;
38064 wxGBPosition
*arg3
= 0 ;
38066 wxGBPosition temp3
;
38067 PyObject
* obj0
= 0 ;
38068 PyObject
* obj1
= 0 ;
38069 PyObject
* obj2
= 0 ;
38071 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38078 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38096 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38097 PyObject
*resultobj
;
38098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38100 wxGBPosition
*arg3
= 0 ;
38102 wxGBPosition temp3
;
38103 PyObject
* obj0
= 0 ;
38104 PyObject
* obj1
= 0 ;
38105 PyObject
* obj2
= 0 ;
38107 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38110 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38114 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38118 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38132 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38137 argc
= PyObject_Length(args
);
38138 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38139 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38145 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38155 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38164 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38167 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38176 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38186 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38195 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38198 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38215 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38218 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38221 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38227 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38232 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38233 PyObject
*resultobj
;
38234 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38235 wxWindow
*arg2
= (wxWindow
*) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 PyObject
* obj1
= 0 ;
38240 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 result
= (arg1
)->GetItemSpan(arg2
);
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38253 wxGBSpan
* resultptr
;
38254 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38263 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38264 PyObject
*resultobj
;
38265 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38266 wxSizer
*arg2
= (wxSizer
*) 0 ;
38268 PyObject
* obj0
= 0 ;
38269 PyObject
* obj1
= 0 ;
38271 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= (arg1
)->GetItemSpan(arg2
);
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38284 wxGBSpan
* resultptr
;
38285 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38294 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38295 PyObject
*resultobj
;
38296 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38299 PyObject
* obj0
= 0 ;
38300 PyObject
* obj1
= 0 ;
38302 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38305 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 result
= (arg1
)->GetItemSpan(arg2
);
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38315 wxGBSpan
* resultptr
;
38316 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38325 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38330 argc
= PyObject_Length(args
);
38331 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38332 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38338 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38348 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38356 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38364 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38374 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38382 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38390 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38398 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38400 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38405 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38410 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38411 PyObject
*resultobj
;
38412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38413 wxWindow
*arg2
= (wxWindow
*) 0 ;
38414 wxGBSpan
*arg3
= 0 ;
38417 PyObject
* obj0
= 0 ;
38418 PyObject
* obj1
= 0 ;
38419 PyObject
* obj2
= 0 ;
38421 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38428 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38432 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38434 wxPyEndAllowThreads(__tstate
);
38435 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38446 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38447 PyObject
*resultobj
;
38448 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38449 wxSizer
*arg2
= (wxSizer
*) 0 ;
38450 wxGBSpan
*arg3
= 0 ;
38453 PyObject
* obj0
= 0 ;
38454 PyObject
* obj1
= 0 ;
38455 PyObject
* obj2
= 0 ;
38457 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38464 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38468 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38482 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38483 PyObject
*resultobj
;
38484 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38486 wxGBSpan
*arg3
= 0 ;
38489 PyObject
* obj0
= 0 ;
38490 PyObject
* obj1
= 0 ;
38491 PyObject
* obj2
= 0 ;
38493 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38496 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38500 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38518 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38523 argc
= PyObject_Length(args
);
38524 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38525 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38531 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38541 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38550 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38553 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38572 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38581 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38584 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38593 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38601 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38604 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38607 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38613 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38618 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38619 PyObject
*resultobj
;
38620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38621 wxWindow
*arg2
= (wxWindow
*) 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_wxWindow
,
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__SWIG_1(PyObject
*self
, PyObject
*args
) {
38646 PyObject
*resultobj
;
38647 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38648 wxSizer
*arg2
= (wxSizer
*) 0 ;
38649 wxGBSizerItem
*result
;
38650 PyObject
* obj0
= 0 ;
38651 PyObject
* obj1
= 0 ;
38653 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38660 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38662 wxPyEndAllowThreads(__tstate
);
38663 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38672 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38677 argc
= PyObject_Length(args
);
38678 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38695 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38703 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38721 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38729 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38734 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38739 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
;
38741 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38742 wxGBPosition
*arg2
= 0 ;
38743 wxGBSizerItem
*result
;
38744 wxGBPosition temp2
;
38745 PyObject
* obj0
= 0 ;
38746 PyObject
* obj1
= 0 ;
38747 char *kwnames
[] = {
38748 (char *) "self",(char *) "pos", NULL
38751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38756 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38760 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38762 wxPyEndAllowThreads(__tstate
);
38763 if (PyErr_Occurred()) SWIG_fail
;
38765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38772 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38773 PyObject
*resultobj
;
38774 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38775 wxPoint
*arg2
= 0 ;
38776 wxGBSizerItem
*result
;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 char *kwnames
[] = {
38781 (char *) "self",(char *) "pt", NULL
38784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38793 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38795 wxPyEndAllowThreads(__tstate
);
38796 if (PyErr_Occurred()) SWIG_fail
;
38798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38805 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38806 PyObject
*resultobj
;
38807 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38808 wxObject
*arg2
= (wxObject
*) 0 ;
38809 wxGBSizerItem
*result
;
38810 PyObject
* obj0
= 0 ;
38811 PyObject
* obj1
= 0 ;
38812 char *kwnames
[] = {
38813 (char *) "self",(char *) "userData", NULL
38816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38823 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38825 wxPyEndAllowThreads(__tstate
);
38826 if (PyErr_Occurred()) SWIG_fail
;
38828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38835 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38836 PyObject
*resultobj
;
38837 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38838 PyObject
* obj0
= 0 ;
38839 char *kwnames
[] = {
38840 (char *) "self", NULL
38843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38848 (arg1
)->RecalcSizes();
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38853 Py_INCREF(Py_None
); resultobj
= Py_None
;
38860 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
;
38862 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38864 PyObject
* obj0
= 0 ;
38865 char *kwnames
[] = {
38866 (char *) "self", NULL
38869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38874 result
= (arg1
)->CalcMin();
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38880 wxSize
* resultptr
;
38881 resultptr
= new wxSize((wxSize
&) result
);
38882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38890 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38891 PyObject
*resultobj
;
38892 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38893 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38894 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38896 PyObject
* obj0
= 0 ;
38897 PyObject
* obj1
= 0 ;
38898 PyObject
* obj2
= 0 ;
38900 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38906 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38925 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38926 PyObject
*resultobj
;
38927 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38928 wxGBPosition
*arg2
= 0 ;
38929 wxGBSpan
*arg3
= 0 ;
38930 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38932 wxGBPosition temp2
;
38934 PyObject
* obj0
= 0 ;
38935 PyObject
* obj1
= 0 ;
38936 PyObject
* obj2
= 0 ;
38937 PyObject
* obj3
= 0 ;
38939 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38944 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38948 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38951 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38970 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38975 argc
= PyObject_Length(args
);
38976 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38977 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38979 if ((argc
>= 2) && (argc
<= 3)) {
38983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38993 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39002 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39006 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39014 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39019 if ((argc
>= 3) && (argc
<= 4)) {
39023 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39032 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39036 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39040 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39044 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39052 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39059 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39064 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39067 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39069 return Py_BuildValue((char *)"");
39071 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39072 PyObject
*resultobj
;
39073 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39075 wxWindow
*arg3
= (wxWindow
*) 0 ;
39077 int arg5
= (int) 0 ;
39078 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39079 PyObject
* obj0
= 0 ;
39080 PyObject
* obj1
= 0 ;
39081 PyObject
* obj2
= 0 ;
39082 PyObject
* obj3
= 0 ;
39083 PyObject
* obj4
= 0 ;
39084 PyObject
* obj5
= 0 ;
39085 char *kwnames
[] = {
39086 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39092 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39093 if (PyErr_Occurred()) SWIG_fail
;
39094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39096 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 arg5
= (int) SWIG_AsInt(obj4
);
39100 if (PyErr_Occurred()) SWIG_fail
;
39103 arg6
= (int) SWIG_AsInt(obj5
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39108 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39110 wxPyEndAllowThreads(__tstate
);
39111 if (PyErr_Occurred()) SWIG_fail
;
39113 Py_INCREF(Py_None
); resultobj
= Py_None
;
39120 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39121 PyObject
*resultobj
;
39122 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39123 wxWindow
*arg2
= (wxWindow
*) 0 ;
39124 int arg3
= (int) 0 ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 PyObject
* obj2
= 0 ;
39128 char *kwnames
[] = {
39129 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39138 arg3
= (int) SWIG_AsInt(obj2
);
39139 if (PyErr_Occurred()) SWIG_fail
;
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 (arg1
)->LeftOf(arg2
,arg3
);
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39148 Py_INCREF(Py_None
); resultobj
= Py_None
;
39155 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39156 PyObject
*resultobj
;
39157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39158 wxWindow
*arg2
= (wxWindow
*) 0 ;
39159 int arg3
= (int) 0 ;
39160 PyObject
* obj0
= 0 ;
39161 PyObject
* obj1
= 0 ;
39162 PyObject
* obj2
= 0 ;
39163 char *kwnames
[] = {
39164 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39173 arg3
= (int) SWIG_AsInt(obj2
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 (arg1
)->RightOf(arg2
,arg3
);
39180 wxPyEndAllowThreads(__tstate
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39183 Py_INCREF(Py_None
); resultobj
= Py_None
;
39190 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39191 PyObject
*resultobj
;
39192 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39193 wxWindow
*arg2
= (wxWindow
*) 0 ;
39194 int arg3
= (int) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 PyObject
* obj1
= 0 ;
39197 PyObject
* obj2
= 0 ;
39198 char *kwnames
[] = {
39199 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39208 arg3
= (int) SWIG_AsInt(obj2
);
39209 if (PyErr_Occurred()) SWIG_fail
;
39212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39213 (arg1
)->Above(arg2
,arg3
);
39215 wxPyEndAllowThreads(__tstate
);
39216 if (PyErr_Occurred()) SWIG_fail
;
39218 Py_INCREF(Py_None
); resultobj
= Py_None
;
39225 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39226 PyObject
*resultobj
;
39227 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39228 wxWindow
*arg2
= (wxWindow
*) 0 ;
39229 int arg3
= (int) 0 ;
39230 PyObject
* obj0
= 0 ;
39231 PyObject
* obj1
= 0 ;
39232 PyObject
* obj2
= 0 ;
39233 char *kwnames
[] = {
39234 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39243 arg3
= (int) SWIG_AsInt(obj2
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 (arg1
)->Below(arg2
,arg3
);
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39253 Py_INCREF(Py_None
); resultobj
= Py_None
;
39260 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
;
39262 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39263 wxWindow
*arg2
= (wxWindow
*) 0 ;
39265 int arg4
= (int) 0 ;
39266 PyObject
* obj0
= 0 ;
39267 PyObject
* obj1
= 0 ;
39268 PyObject
* obj2
= 0 ;
39269 PyObject
* obj3
= 0 ;
39270 char *kwnames
[] = {
39271 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39279 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39282 arg4
= (int) SWIG_AsInt(obj3
);
39283 if (PyErr_Occurred()) SWIG_fail
;
39286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39287 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39289 wxPyEndAllowThreads(__tstate
);
39290 if (PyErr_Occurred()) SWIG_fail
;
39292 Py_INCREF(Py_None
); resultobj
= Py_None
;
39299 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39300 PyObject
*resultobj
;
39301 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39302 wxWindow
*arg2
= (wxWindow
*) 0 ;
39305 PyObject
* obj0
= 0 ;
39306 PyObject
* obj1
= 0 ;
39307 PyObject
* obj2
= 0 ;
39308 PyObject
* obj3
= 0 ;
39309 char *kwnames
[] = {
39310 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39318 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39320 arg4
= (int) SWIG_AsInt(obj3
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39324 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39326 wxPyEndAllowThreads(__tstate
);
39327 if (PyErr_Occurred()) SWIG_fail
;
39329 Py_INCREF(Py_None
); resultobj
= Py_None
;
39336 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39337 PyObject
*resultobj
;
39338 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39340 PyObject
* obj0
= 0 ;
39341 PyObject
* obj1
= 0 ;
39342 char *kwnames
[] = {
39343 (char *) "self",(char *) "val", NULL
39346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39349 arg2
= (int) SWIG_AsInt(obj1
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39353 (arg1
)->Absolute(arg2
);
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39358 Py_INCREF(Py_None
); resultobj
= Py_None
;
39365 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39366 PyObject
*resultobj
;
39367 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39368 PyObject
* obj0
= 0 ;
39369 char *kwnames
[] = {
39370 (char *) "self", NULL
39373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 (arg1
)->Unconstrained();
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 Py_INCREF(Py_None
); resultobj
= Py_None
;
39390 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39391 PyObject
*resultobj
;
39392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39393 PyObject
* obj0
= 0 ;
39394 char *kwnames
[] = {
39395 (char *) "self", NULL
39398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 wxPyEndAllowThreads(__tstate
);
39406 if (PyErr_Occurred()) SWIG_fail
;
39408 Py_INCREF(Py_None
); resultobj
= Py_None
;
39415 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39416 PyObject
*resultobj
;
39417 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39419 PyObject
* obj0
= 0 ;
39420 char *kwnames
[] = {
39421 (char *) "self", NULL
39424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39429 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39431 wxPyEndAllowThreads(__tstate
);
39432 if (PyErr_Occurred()) SWIG_fail
;
39435 resultobj
= wxPyMake_wxObject(result
);
39443 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39444 PyObject
*resultobj
;
39445 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39447 PyObject
* obj0
= 0 ;
39448 char *kwnames
[] = {
39449 (char *) "self", NULL
39452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39459 wxPyEndAllowThreads(__tstate
);
39460 if (PyErr_Occurred()) SWIG_fail
;
39462 resultobj
= SWIG_FromInt((int)result
);
39469 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39470 PyObject
*resultobj
;
39471 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39473 PyObject
* obj0
= 0 ;
39474 PyObject
* obj1
= 0 ;
39475 char *kwnames
[] = {
39476 (char *) "self",(char *) "which", NULL
39479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39482 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39486 (arg1
)->SetEdge((wxEdge
)arg2
);
39488 wxPyEndAllowThreads(__tstate
);
39489 if (PyErr_Occurred()) SWIG_fail
;
39491 Py_INCREF(Py_None
); resultobj
= Py_None
;
39498 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39499 PyObject
*resultobj
;
39500 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39502 PyObject
* obj0
= 0 ;
39503 PyObject
* obj1
= 0 ;
39504 char *kwnames
[] = {
39505 (char *) "self",(char *) "v", NULL
39508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39511 arg2
= (int) SWIG_AsInt(obj1
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39515 (arg1
)->SetValue(arg2
);
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39520 Py_INCREF(Py_None
); resultobj
= Py_None
;
39527 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39528 PyObject
*resultobj
;
39529 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39531 PyObject
* obj0
= 0 ;
39532 char *kwnames
[] = {
39533 (char *) "self", NULL
39536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39541 result
= (int)(arg1
)->GetMargin();
39543 wxPyEndAllowThreads(__tstate
);
39544 if (PyErr_Occurred()) SWIG_fail
;
39546 resultobj
= SWIG_FromInt((int)result
);
39553 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39554 PyObject
*resultobj
;
39555 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39557 PyObject
* obj0
= 0 ;
39558 PyObject
* obj1
= 0 ;
39559 char *kwnames
[] = {
39560 (char *) "self",(char *) "m", NULL
39563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39566 arg2
= (int) SWIG_AsInt(obj1
);
39567 if (PyErr_Occurred()) SWIG_fail
;
39569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39570 (arg1
)->SetMargin(arg2
);
39572 wxPyEndAllowThreads(__tstate
);
39573 if (PyErr_Occurred()) SWIG_fail
;
39575 Py_INCREF(Py_None
); resultobj
= Py_None
;
39582 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39583 PyObject
*resultobj
;
39584 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39586 PyObject
* obj0
= 0 ;
39587 char *kwnames
[] = {
39588 (char *) "self", NULL
39591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39601 resultobj
= SWIG_FromInt((int)result
);
39608 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39612 PyObject
* obj0
= 0 ;
39613 char *kwnames
[] = {
39614 (char *) "self", NULL
39617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39622 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39624 wxPyEndAllowThreads(__tstate
);
39625 if (PyErr_Occurred()) SWIG_fail
;
39627 resultobj
= SWIG_FromInt((int)result
);
39634 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39636 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39638 PyObject
* obj0
= 0 ;
39639 char *kwnames
[] = {
39640 (char *) "self", NULL
39643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39648 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39650 wxPyEndAllowThreads(__tstate
);
39651 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= SWIG_FromInt((int)result
);
39660 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39661 PyObject
*resultobj
;
39662 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39664 PyObject
* obj0
= 0 ;
39665 char *kwnames
[] = {
39666 (char *) "self", NULL
39669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39688 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39689 PyObject
*resultobj
;
39690 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39692 PyObject
* obj0
= 0 ;
39693 PyObject
* obj1
= 0 ;
39694 char *kwnames
[] = {
39695 (char *) "self",(char *) "d", NULL
39698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39701 arg2
= (bool) SWIG_AsBool(obj1
);
39702 if (PyErr_Occurred()) SWIG_fail
;
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 (arg1
)->SetDone(arg2
);
39707 wxPyEndAllowThreads(__tstate
);
39708 if (PyErr_Occurred()) SWIG_fail
;
39710 Py_INCREF(Py_None
); resultobj
= Py_None
;
39717 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39718 PyObject
*resultobj
;
39719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39721 PyObject
* obj0
= 0 ;
39722 char *kwnames
[] = {
39723 (char *) "self", NULL
39726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39731 result
= (int)(arg1
)->GetRelationship();
39733 wxPyEndAllowThreads(__tstate
);
39734 if (PyErr_Occurred()) SWIG_fail
;
39736 resultobj
= SWIG_FromInt((int)result
);
39743 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39744 PyObject
*resultobj
;
39745 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39747 PyObject
* obj0
= 0 ;
39748 PyObject
* obj1
= 0 ;
39749 char *kwnames
[] = {
39750 (char *) "self",(char *) "r", NULL
39753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39756 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39765 Py_INCREF(Py_None
); resultobj
= Py_None
;
39772 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39773 PyObject
*resultobj
;
39774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39775 wxWindow
*arg2
= (wxWindow
*) 0 ;
39777 PyObject
* obj0
= 0 ;
39778 PyObject
* obj1
= 0 ;
39779 char *kwnames
[] = {
39780 (char *) "self",(char *) "otherW", NULL
39783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39804 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39805 PyObject
*resultobj
;
39806 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39807 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39808 wxWindow
*arg3
= (wxWindow
*) 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 PyObject
* obj2
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self",(char *) "constraints",(char *) "win", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39822 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39826 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39828 wxPyEndAllowThreads(__tstate
);
39829 if (PyErr_Occurred()) SWIG_fail
;
39832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39840 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39841 PyObject
*resultobj
;
39842 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39844 wxWindow
*arg3
= (wxWindow
*) 0 ;
39845 wxWindow
*arg4
= (wxWindow
*) 0 ;
39847 PyObject
* obj0
= 0 ;
39848 PyObject
* obj1
= 0 ;
39849 PyObject
* obj2
= 0 ;
39850 PyObject
* obj3
= 0 ;
39851 char *kwnames
[] = {
39852 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39858 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39860 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39862 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39866 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39868 wxPyEndAllowThreads(__tstate
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39871 resultobj
= SWIG_FromInt((int)result
);
39878 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39881 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39883 return Py_BuildValue((char *)"");
39885 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39886 PyObject
*resultobj
;
39887 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39888 wxIndividualLayoutConstraint
*result
;
39889 PyObject
* obj0
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39897 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39906 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39907 PyObject
*resultobj
;
39908 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39909 wxIndividualLayoutConstraint
*result
;
39910 PyObject
* obj0
= 0 ;
39911 char *kwnames
[] = {
39912 (char *) "self", NULL
39915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39918 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39927 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39928 PyObject
*resultobj
;
39929 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39930 wxIndividualLayoutConstraint
*result
;
39931 PyObject
* obj0
= 0 ;
39932 char *kwnames
[] = {
39933 (char *) "self", NULL
39936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39939 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39948 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39951 wxIndividualLayoutConstraint
*result
;
39952 PyObject
* obj0
= 0 ;
39953 char *kwnames
[] = {
39954 (char *) "self", NULL
39957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39960 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39969 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
;
39971 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39972 wxIndividualLayoutConstraint
*result
;
39973 PyObject
* obj0
= 0 ;
39974 char *kwnames
[] = {
39975 (char *) "self", NULL
39978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39981 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39990 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39991 PyObject
*resultobj
;
39992 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39993 wxIndividualLayoutConstraint
*result
;
39994 PyObject
* obj0
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40002 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40011 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40014 wxIndividualLayoutConstraint
*result
;
40015 PyObject
* obj0
= 0 ;
40016 char *kwnames
[] = {
40017 (char *) "self", NULL
40020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40023 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40032 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40035 wxIndividualLayoutConstraint
*result
;
40036 PyObject
* obj0
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self", NULL
40041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40044 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40053 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40054 PyObject
*resultobj
;
40055 wxLayoutConstraints
*result
;
40056 char *kwnames
[] = {
40060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40065 wxPyEndAllowThreads(__tstate
);
40066 if (PyErr_Occurred()) SWIG_fail
;
40068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40075 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40078 wxWindow
*arg2
= (wxWindow
*) 0 ;
40079 int *arg3
= (int *) 0 ;
40082 PyObject
* obj0
= 0 ;
40083 PyObject
* obj1
= 0 ;
40084 char *kwnames
[] = {
40085 (char *) "self",(char *) "win", NULL
40089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40098 wxPyEndAllowThreads(__tstate
);
40099 if (PyErr_Occurred()) SWIG_fail
;
40102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40105 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40106 resultobj
= t_output_helper(resultobj
,o
);
40114 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40115 PyObject
*resultobj
;
40116 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40118 PyObject
* obj0
= 0 ;
40119 char *kwnames
[] = {
40120 (char *) "self", NULL
40123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40128 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40130 wxPyEndAllowThreads(__tstate
);
40131 if (PyErr_Occurred()) SWIG_fail
;
40134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40142 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40145 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40147 return Py_BuildValue((char *)"");
40149 static PyMethodDef SwigMethods
[] = {
40150 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40151 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40152 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40155 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40176 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40189 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40204 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40255 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40283 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40301 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40303 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40311 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40312 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40324 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40335 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40340 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40346 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40356 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40366 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40370 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40441 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40443 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40445 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40447 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40449 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40451 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40453 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40455 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40457 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40459 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40461 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40463 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40477 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40495 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40498 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40501 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40513 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40518 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40524 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40530 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40592 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40599 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40634 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40644 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40654 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40656 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40658 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40661 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40665 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40668 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40671 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40673 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40686 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40690 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40693 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40699 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40716 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40718 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40721 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40723 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40727 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40731 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40739 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40742 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40745 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40749 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40756 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40761 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40766 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40810 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40825 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40829 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40839 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40888 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40889 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40996 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41034 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41048 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41051 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41106 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41133 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41163 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41171 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41188 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41189 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41224 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41254 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41257 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41263 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41268 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41280 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41294 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41304 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41314 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41323 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41327 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41333 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41334 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41335 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41336 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41337 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41343 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41344 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41371 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41387 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41389 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41390 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41392 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41393 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41395 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41396 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41398 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41399 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41401 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41402 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41404 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41405 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41407 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41408 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41410 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41411 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41413 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41416 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41417 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41419 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41420 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41422 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41423 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41425 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41426 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41428 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41429 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41431 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41432 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41434 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41435 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41437 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41438 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41440 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41443 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41444 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41446 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41447 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41449 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41450 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41452 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41453 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41455 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41458 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41461 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41464 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41467 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41470 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41473 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41476 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41477 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41479 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41480 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41482 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41483 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41485 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41486 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41488 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41489 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41491 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41492 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41494 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41497 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41498 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41500 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41501 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41503 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41504 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41506 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41507 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41509 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41510 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41512 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41513 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41515 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41516 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41518 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41519 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41521 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41522 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41524 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41525 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41527 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41528 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41530 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41531 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41533 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41534 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41536 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41537 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41539 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41542 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41543 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41545 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41546 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41548 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41549 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41551 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41552 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41554 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41555 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41557 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41558 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41560 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41561 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41563 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41564 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41566 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41567 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41569 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41570 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41572 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41573 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41575 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41576 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41578 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41579 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41581 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41582 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41584 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41585 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41587 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41588 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41590 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41591 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41593 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41594 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41596 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41597 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41599 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41600 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41602 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41603 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41605 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41606 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41608 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41609 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41611 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41612 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41614 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41615 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41617 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41618 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41620 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41621 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41623 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41624 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41626 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41629 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41630 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41632 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41635 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41636 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41638 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41641 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41644 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41647 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41648 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41650 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41651 return (void *)((wxObject
*) ((wxSizer
*) x
));
41653 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41654 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41657 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41659 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41662 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41665 static void *_p_wxImageTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) ((wxImage
*) x
));
41668 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41671 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41674 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41677 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41680 static void *_p_wxControlTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41683 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41686 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41689 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41692 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41695 static void *_p_wxEventTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) ((wxEvent
*) x
));
41698 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41701 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41704 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41707 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41710 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41713 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41716 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41719 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41722 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41725 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41728 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41731 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41734 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41737 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41740 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41743 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41746 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41749 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41752 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41755 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41758 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41761 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41764 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41767 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41770 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41773 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41776 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41779 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41782 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41785 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41788 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41791 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41794 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41797 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41800 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41803 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41806 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41809 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41812 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41815 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41818 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41821 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41824 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41827 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41830 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41833 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41836 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41839 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41840 return (void *)((wxWindow
*) ((wxControl
*) x
));
41842 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41843 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41845 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41846 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41848 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41849 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41851 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41852 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41854 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41855 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41857 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41858 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41860 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41861 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41863 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41864 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41866 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41867 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41869 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41870 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41872 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41873 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41875 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}};
41876 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}};
41877 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}};
41878 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}};
41879 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}};
41880 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}};
41881 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}};
41882 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}};
41883 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}};
41884 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}};
41885 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}};
41886 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}};
41887 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}};
41888 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}};
41889 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}};
41890 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}};
41891 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}};
41892 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}};
41893 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}};
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41969 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}};
41970 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}};
41971 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}};
41972 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}};
41973 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}};
41974 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}};
41975 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}};
41976 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}};
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41991 static swig_type_info
*swig_types_initial
[] = {
41992 _swigt__p_wxLayoutConstraints
,
41993 _swigt__p_wxRealPoint
,
41994 _swigt__p_wxSizerItem
,
41995 _swigt__p_wxGBSizerItem
,
41996 _swigt__p_wxScrollEvent
,
41997 _swigt__p_wxIndividualLayoutConstraint
,
41999 _swigt__p_wxBoxSizer
,
42000 _swigt__p_wxStaticBoxSizer
,
42001 _swigt__p_wxGridBagSizer
,
42002 _swigt__p_wxAcceleratorEntry
,
42003 _swigt__p_wxUpdateUIEvent
,
42006 _swigt__p_wxGridSizer
,
42007 _swigt__p_wxFlexGridSizer
,
42008 _swigt__p_wxInitDialogEvent
,
42009 _swigt__p_wxItemContainer
,
42010 _swigt__p_wxNcPaintEvent
,
42011 _swigt__p_wxPaintEvent
,
42012 _swigt__p_wxSysColourChangedEvent
,
42013 _swigt__p_wxMouseCaptureChangedEvent
,
42014 _swigt__p_wxDisplayChangedEvent
,
42015 _swigt__p_wxPaletteChangedEvent
,
42016 _swigt__p_wxControl
,
42018 _swigt__p_wxMenuBarBase
,
42019 _swigt__p_wxSetCursorEvent
,
42020 _swigt__p_wxFSFile
,
42022 _swigt__p_wxRegion
,
42023 _swigt__p_wxPoint2D
,
42027 _swigt__p_wxPySizer
,
42028 _swigt__p_wxVisualAttributes
,
42029 _swigt__p_wxNotifyEvent
,
42030 _swigt__p_wxPyEvent
,
42031 _swigt__p_wxPropagationDisabler
,
42032 _swigt__p_wxAppTraits
,
42033 _swigt__p_wxArrayString
,
42034 _swigt__p_wxShowEvent
,
42035 _swigt__p_wxToolTip
,
42036 _swigt__p_wxMaximizeEvent
,
42037 _swigt__p_wxIconizeEvent
,
42038 _swigt__p_wxActivateEvent
,
42039 _swigt__p_wxMoveEvent
,
42040 _swigt__p_wxSizeEvent
,
42041 _swigt__p_wxQueryNewPaletteEvent
,
42042 _swigt__p_wxWindowCreateEvent
,
42043 _swigt__p_wxIdleEvent
,
42044 _swigt__p_wxMenuItem
,
42045 _swigt__p_wxStaticBox
,
42047 _swigt__p_wxTIFFHandler
,
42048 _swigt__p_wxXPMHandler
,
42049 _swigt__p_wxPNMHandler
,
42050 _swigt__p_wxJPEGHandler
,
42051 _swigt__p_wxPCXHandler
,
42052 _swigt__p_wxGIFHandler
,
42053 _swigt__p_wxPNGHandler
,
42054 _swigt__p_wxANIHandler
,
42055 _swigt__p_wxMemoryFSHandler
,
42056 _swigt__p_wxEvtHandler
,
42057 _swigt__p_wxCURHandler
,
42058 _swigt__p_wxICOHandler
,
42059 _swigt__p_wxBMPHandler
,
42060 _swigt__p_wxImageHandler
,
42061 _swigt__p_wxFileSystemHandler
,
42062 _swigt__p_wxPyFileSystemHandler
,
42063 _swigt__p_wxInternetFSHandler
,
42064 _swigt__p_wxZipFSHandler
,
42066 _swigt__p_wxGBSpan
,
42067 _swigt__p_wxPropagateOnce
,
42068 _swigt__p_wxAcceleratorTable
,
42070 _swigt__p_wxGBPosition
,
42073 _swigt__p_wxScrollWinEvent
,
42074 _swigt__p_wxImageHistogram
,
42077 _swigt__p_wxCursor
,
42078 _swigt__p_wxObject
,
42079 _swigt__p_wxPyInputStream
,
42080 _swigt__p_wxOutputStream
,
42081 _swigt__p_wxInputStream
,
42082 _swigt__p_wxDateTime
,
42083 _swigt__p_wxKeyEvent
,
42084 _swigt__p_wxNavigationKeyEvent
,
42085 _swigt__p_wxWindowDestroyEvent
,
42086 _swigt__p_wxWindow
,
42087 _swigt__p_wxMenuBar
,
42088 _swigt__p_wxFileSystem
,
42089 _swigt__p_wxBitmap
,
42090 _swigt__p_wxMenuEvent
,
42091 _swigt__p_wxContextMenuEvent
,
42092 _swigt__p_unsigned_char
,
42093 _swigt__p_wxCloseEvent
,
42094 _swigt__p_wxEraseEvent
,
42095 _swigt__p_wxMouseEvent
,
42097 _swigt__p_wxCommandEvent
,
42098 _swigt__p_wxPyCommandEvent
,
42099 _swigt__p_wxPyDropTarget
,
42100 _swigt__p_wxChildFocusEvent
,
42101 _swigt__p_wxFocusEvent
,
42102 _swigt__p_wxDropFilesEvent
,
42103 _swigt__p_wxControlWithItems
,
42104 _swigt__p_wxColour
,
42105 _swigt__p_wxValidator
,
42106 _swigt__p_wxPyValidator
,
42111 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42113 static swig_const_info swig_const_table
[] = {
42123 SWIGEXPORT(void) SWIG_init(void) {
42124 static PyObject
*SWIG_globals
= 0;
42125 static int typeinit
= 0;
42128 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42129 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42130 d
= PyModule_GetDict(m
);
42133 for (i
= 0; swig_types_initial
[i
]; i
++) {
42134 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42138 SWIG_InstallConstants(d
,swig_const_table
);
42141 #ifndef wxPyUSE_EXPORT
42142 // Make our API structure a CObject so other modules can import it
42143 // from this module.
42144 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42145 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42149 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42150 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42151 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42152 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42153 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42154 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42155 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42156 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42157 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42158 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42159 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42160 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42161 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42162 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42163 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42164 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42165 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42166 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42167 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42168 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42169 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42170 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42171 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42172 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42173 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42174 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42175 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42176 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42177 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42178 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42179 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42180 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42181 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42182 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42183 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42184 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42185 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42186 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42187 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42188 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42189 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42190 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42191 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42192 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42193 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42194 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42195 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42196 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42197 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42198 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42199 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42200 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42201 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42202 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42203 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42204 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42205 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42206 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42207 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42208 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42209 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42210 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42211 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42212 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42213 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42214 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42215 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42216 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42217 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42218 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42219 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42220 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42221 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42222 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42223 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42224 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42225 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42226 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42227 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42228 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42229 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42230 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42231 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42232 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42233 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42234 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42235 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42236 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42237 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42238 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42239 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42240 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42241 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42242 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42243 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42244 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42245 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42246 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42247 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42248 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42249 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42250 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42251 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42252 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42253 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42254 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42255 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42256 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42257 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42258 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42259 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42260 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42261 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42262 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42263 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42264 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42265 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42266 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42267 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42268 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42269 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42270 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42271 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42272 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42273 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42274 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42275 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42276 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42277 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42278 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42279 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42280 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42281 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42282 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42283 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42284 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42285 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42286 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42287 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42288 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42289 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42290 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42291 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42292 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42293 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42294 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42295 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42296 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42297 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42298 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42299 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42300 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42301 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42302 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42303 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42304 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42305 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42306 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42307 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42308 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42309 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42310 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42311 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42312 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42313 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42314 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42315 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42316 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42317 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42318 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42319 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42320 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42321 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42322 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42323 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42324 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42325 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42326 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42327 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42328 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42329 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42330 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42331 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42332 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42333 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42334 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42335 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42336 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42337 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42338 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42339 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42340 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42341 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42342 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42343 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42344 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42345 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42346 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42347 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42348 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42349 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42350 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42351 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42352 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42353 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42354 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42355 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42356 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42357 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42358 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42359 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42360 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42361 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42362 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42363 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42364 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42365 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42366 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42367 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42368 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42369 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42370 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42371 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42372 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42373 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42374 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42375 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42376 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42377 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42378 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42379 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42380 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42381 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42382 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42383 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42384 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42385 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42386 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42387 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42388 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42389 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42390 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42391 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42392 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42393 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42394 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42395 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42396 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42397 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42398 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42399 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42400 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42401 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42402 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42403 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42404 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42405 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42406 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42407 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42408 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42409 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42410 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42411 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42412 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42413 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42414 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42415 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42416 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42417 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42418 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42419 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42420 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42421 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42422 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42423 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42424 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42425 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42426 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42427 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42428 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42429 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42430 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42431 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42432 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42433 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42434 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42435 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42436 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42437 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42438 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42439 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42440 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42441 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42442 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42443 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42444 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42445 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42446 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42447 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42448 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42449 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42450 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42451 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42452 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42453 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42454 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42455 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42456 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42457 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42458 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42459 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42460 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42461 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42462 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42463 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42464 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42465 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42466 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42467 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42468 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42469 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42470 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42471 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42472 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42473 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42474 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42475 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42476 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42477 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42478 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42479 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42480 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42481 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42482 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42483 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42484 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42485 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42486 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42487 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42488 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42489 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42490 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42491 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42492 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42493 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42494 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42495 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42496 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42497 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42498 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42499 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42500 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42501 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42502 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42503 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42504 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42505 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42506 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42507 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42508 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42509 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42510 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42511 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42512 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42513 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42514 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42515 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42516 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42517 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42518 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42519 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42520 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42521 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42522 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42523 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42524 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42525 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42526 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42527 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42528 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42529 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42530 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42531 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42532 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42533 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42534 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42535 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42536 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42537 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42538 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42539 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42540 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42541 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42542 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42543 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42544 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42545 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42546 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42547 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42548 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42549 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42550 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42551 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42552 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42553 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42554 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42555 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42556 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42557 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42558 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42559 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42560 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42561 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42562 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42563 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42564 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42565 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42566 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42567 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42568 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42569 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42570 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42571 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42572 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42573 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42574 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42575 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42576 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42577 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42578 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42579 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42580 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42581 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42582 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42583 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42584 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42585 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42586 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42587 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42588 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42589 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42590 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42591 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42592 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42593 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42594 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42595 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42596 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42597 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42598 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42599 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42600 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42601 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42602 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42603 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42604 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42605 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42606 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42607 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42608 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42609 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42610 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42611 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42612 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42613 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42614 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42615 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42616 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42617 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42618 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42619 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42620 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42621 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42622 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42623 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42624 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42625 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42626 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42627 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42628 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42629 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42630 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42631 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42632 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42633 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42634 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42635 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42636 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42637 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42638 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42639 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42640 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42641 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42642 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42643 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42644 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42645 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42646 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42647 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42648 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42649 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42650 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42651 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42652 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42653 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42654 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42655 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42656 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42657 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42658 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42659 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42660 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42661 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42662 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42663 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42664 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42665 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42666 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42667 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42668 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42669 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42670 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42671 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42672 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42673 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42674 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42675 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42676 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42677 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42678 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42679 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42680 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42681 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42682 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42683 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42684 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42685 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42686 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42687 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42688 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42689 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42690 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42691 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42692 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42693 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42694 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42695 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42696 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42697 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42698 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42699 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42700 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42701 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42702 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42703 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42704 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42705 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42706 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42707 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42708 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42709 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42710 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42711 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42712 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42713 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42714 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42715 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42716 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42717 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42718 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42719 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42720 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42721 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42723 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42726 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42728 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42729 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42730 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42731 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42732 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42733 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42734 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42735 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42736 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42737 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42738 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42739 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42740 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42741 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42742 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42743 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42744 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42745 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42746 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42747 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42748 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42749 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42750 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42751 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42752 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42754 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42755 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42756 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42758 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42759 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42760 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42761 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42762 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42763 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42766 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42767 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42768 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42769 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42770 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42771 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42772 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42773 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42774 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42775 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42776 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42777 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42778 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42779 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42780 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42781 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42782 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42783 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42784 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42785 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42786 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42787 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42788 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42789 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42790 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42791 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42792 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42793 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42794 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42795 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42796 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42797 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42798 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42799 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42800 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42801 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42802 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42803 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42804 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42805 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42806 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42807 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42808 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42809 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42810 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42811 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42812 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42813 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42814 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42815 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42816 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42817 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42818 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42819 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42820 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42821 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42822 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42823 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42824 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42825 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42826 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42827 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42828 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42829 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42830 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42831 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42832 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42833 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42834 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42835 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42836 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42837 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42838 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42839 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42840 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42841 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42842 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42843 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42844 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42845 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42846 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42847 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42848 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42849 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42850 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42851 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42852 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42853 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42856 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42857 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42858 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42859 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42860 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42861 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42862 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42863 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42864 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42865 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42866 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42867 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42868 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42869 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42870 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42871 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42872 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42873 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42874 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42875 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42876 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42877 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42878 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42879 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42880 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42881 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42882 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42883 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42884 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42885 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42886 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42887 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42888 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42889 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42890 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42891 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42892 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42893 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42894 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42895 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42896 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42897 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42898 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42899 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42900 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42901 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42902 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42903 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42904 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42905 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42906 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42907 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42909 // Initialize threading, some globals and such
42913 // Although these are defined in __version__ they need to be here too so
42914 // that an assert can be done to ensure that the wxPython and the wxWindows
42916 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42917 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42918 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));