1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 wxSize
wxImage_GetSize(wxImage
*self
){
1117 wxSize
size(self
->GetWidth(), self
->GetHeight());
1120 PyObject
*wxImage_GetData(wxImage
*self
){
1121 unsigned char* data
= self
->GetData();
1122 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1124 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1127 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1128 unsigned char* dataPtr
;
1130 if (! PyString_Check(data
)) {
1131 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1135 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1136 dataPtr
= (unsigned char*) malloc(len
);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1138 self
->SetData(dataPtr
);
1139 // wxImage takes ownership of dataPtr...
1141 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1142 unsigned char* data
= self
->GetData();
1143 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1145 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1148 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1149 unsigned char* buffer
;
1152 bool blocked
= wxPyBeginBlockThreads();
1153 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1156 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1160 self
->SetData(buffer
);
1162 wxPyEndBlockThreads(blocked
);
1164 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1165 unsigned char* data
= self
->GetAlpha();
1169 int len
= self
->GetWidth() * self
->GetHeight();
1171 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1175 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1176 unsigned char* dataPtr
;
1178 if (! PyString_Check(data
)) {
1179 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1183 size_t len
= self
->GetWidth() * self
->GetHeight();
1184 dataPtr
= (unsigned char*) malloc(len
);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1186 self
->SetAlpha(dataPtr
);
1187 // wxImage takes ownership of dataPtr...
1189 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1190 unsigned char* data
= self
->GetAlpha();
1191 int len
= self
->GetWidth() * self
->GetHeight();
1193 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1196 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1197 unsigned char* buffer
;
1200 bool blocked
= wxPyBeginBlockThreads();
1201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1204 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1208 self
->SetAlpha(buffer
);
1210 wxPyEndBlockThreads(blocked
);
1213 SWIGSTATICINLINE(int)
1214 SWIG_CheckUnsignedLong(PyObject
* obj
)
1216 SWIG_AsUnsignedLong(obj
);
1217 if (PyErr_Occurred()) {
1225 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1226 wxBitmap
bitmap(*self
);
1229 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1230 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1231 wxBitmap
bitmap( mono
, 1 );
1234 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1235 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1236 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1237 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1238 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1239 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1240 if (PyCallable_Check(func
)) {
1241 self
->Connect(id
, lastId
, eventType
,
1242 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1243 new wxPyCallback(func
));
1245 else if (func
== Py_None
) {
1246 self
->Disconnect(id
, lastId
, eventType
,
1247 (wxObjectEventFunction
)
1248 &wxPyCallback::EventThunker
);
1252 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1255 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1256 return self
->Disconnect(id
, lastId
, eventType
,
1257 (wxObjectEventFunction
)
1258 &wxPyCallback::EventThunker
);
1260 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1261 if (_self
&& _self
!= Py_None
) {
1262 self
->SetClientObject(new wxPyOORClientData(_self
));
1265 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1267 self
->SetClientObject(NULL
); // This will delete it too
1271 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1273 return self
->m_uniChar
;
1279 #if UINT_MAX < LONG_MAX
1280 #define SWIG_FromUnsignedInt SWIG_FromLong
1282 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1286 #if UINT_MAX != ULONG_MAX
1287 SWIGSTATICINLINE(unsigned int)
1288 SWIG_AsUnsignedInt(PyObject
*obj
)
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1292 "unsigned int", UINT_MAX
));
1295 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1299 SWIGSTATICINLINE(int)
1300 SWIG_CheckUnsignedInt(PyObject
* obj
)
1302 SWIG_AsUnsignedInt(obj
);
1303 if (PyErr_Occurred()) {
1311 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1312 self
->m_size
= size
;
1314 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1317 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1318 int count
= self
->GetNumberOfFiles();
1319 wxString
* files
= self
->GetFiles();
1320 PyObject
* list
= PyList_New(count
);
1323 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1327 for (int i
=0; i
<count
; i
++) {
1328 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1334 wxPyApp
*new_wxPyApp(){
1335 wxPythonApp
= new wxPyApp();
1339 void wxApp_CleanUp() {
1344 wxPyApp
* wxGetApp() {
1345 return (wxPyApp
*)wxTheApp
;
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
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 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1651 wxPyEndBlockThreads(blocked
);
1653 self
->SetItemMinSize(info
.window
, size
);
1654 else if ( info
.sizer
)
1655 self
->SetItemMinSize(info
.sizer
, size
);
1656 else if ( info
.gotPos
)
1657 self
->SetItemMinSize(info
.pos
, size
);
1659 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1660 wxSizerItemList
& list
= self
->GetChildren();
1661 return wxPy_ConvertList(&list
);
1663 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1664 bool blocked
= wxPyBeginBlockThreads();
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1666 wxPyEndBlockThreads(blocked
);
1668 self
->Show(info
.window
, show
);
1669 else if ( info
.sizer
)
1670 self
->Show(info
.sizer
, show
);
1672 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1673 bool blocked
= wxPyBeginBlockThreads();
1674 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1675 wxPyEndBlockThreads(blocked
);
1677 self
->Hide(info
.window
);
1678 else if ( info
.sizer
)
1679 self
->Hide(info
.sizer
);
1681 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1682 bool blocked
= wxPyBeginBlockThreads();
1683 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1684 wxPyEndBlockThreads(blocked
);
1686 return self
->IsShown(info
.window
);
1687 else if ( info
.sizer
)
1688 return self
->IsShown(info
.sizer
);
1694 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1695 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1696 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1701 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1703 if (source
== Py_None
) {
1704 **obj
= wxGBPosition(-1,-1);
1707 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1710 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1712 if (source
== Py_None
) {
1713 **obj
= wxGBSpan(-1,-1);
1716 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1720 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1724 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1725 bool blocked
= wxPyBeginBlockThreads();
1726 PyObject
* tup
= PyTuple_New(2);
1727 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1728 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1729 wxPyEndBlockThreads(blocked
);
1732 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1733 self
->SetRowspan(rowspan
);
1734 self
->SetColspan(colspan
);
1736 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1737 bool blocked
= wxPyBeginBlockThreads();
1738 PyObject
* tup
= PyTuple_New(2);
1739 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1740 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1741 wxPyEndBlockThreads(blocked
);
1744 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1746 wxPyUserData
* data
= NULL
;
1747 bool blocked
= wxPyBeginBlockThreads();
1748 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1749 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1750 data
= new wxPyUserData(userData
);
1751 wxPyEndBlockThreads(blocked
);
1753 // Now call the real Add method if a valid item type was found
1755 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1756 else if ( info
.sizer
)
1757 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1758 else if (info
.gotSize
)
1759 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1760 pos
, span
, flag
, border
, data
);
1768 static int _wrap_EmptyString_set(PyObject
*_val
) {
1769 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1774 static PyObject
*_wrap_EmptyString_get() {
1779 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1781 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1788 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxObject
*arg1
= (wxObject
*) 0 ;
1792 PyObject
* obj0
= 0 ;
1794 (char *) "self", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 result
= wxObject_GetClassName(arg1
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1820 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxObject
*arg1
= (wxObject
*) 0 ;
1823 PyObject
* obj0
= 0 ;
1825 (char *) "self", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 wxObject_Destroy(arg1
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1848 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1850 return Py_BuildValue((char *)"");
1852 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxSize
*arg1
= (wxSize
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1857 PyObject
* obj1
= 0 ;
1859 (char *) "self",(char *) "x", NULL
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 arg2
= (int) SWIG_AsInt(obj1
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1867 if (arg1
) (arg1
)->x
= arg2
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxSize
*arg1
= (wxSize
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 result
= (int) ((arg1
)->x
);
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxSize
*arg1
= (wxSize
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1902 PyObject
* obj1
= 0 ;
1904 (char *) "self",(char *) "y", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 arg2
= (int) SWIG_AsInt(obj1
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 if (arg1
) (arg1
)->y
= arg2
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxSize
*arg1
= (wxSize
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 result
= (int) ((arg1
)->y
);
1935 resultobj
= SWIG_FromInt((int)result
);
1942 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 int arg1
= (int) 0 ;
1945 int arg2
= (int) 0 ;
1947 PyObject
* obj0
= 0 ;
1948 PyObject
* obj1
= 0 ;
1950 (char *) "w",(char *) "h", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1955 arg1
= (int) SWIG_AsInt(obj0
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1959 arg2
= (int) SWIG_AsInt(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1976 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxSize
*arg1
= (wxSize
*) 0 ;
1979 PyObject
* obj0
= 0 ;
1981 (char *) "self", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 Py_INCREF(Py_None
); resultobj
= Py_None
;
2001 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 wxSize
*arg1
= (wxSize
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2008 PyObject
* obj1
= 0 ;
2010 (char *) "self",(char *) "sz", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2036 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxSize
*arg1
= (wxSize
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 (char *) "self",(char *) "sz", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2071 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxSize
*arg1
= (wxSize
*) 0 ;
2077 PyObject
* obj0
= 0 ;
2078 PyObject
* obj1
= 0 ;
2080 (char *) "self",(char *) "sz", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2099 resultptr
= new wxSize((wxSize
&) result
);
2100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2108 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxSize
*arg1
= (wxSize
*) 0 ;
2114 PyObject
* obj0
= 0 ;
2115 PyObject
* obj1
= 0 ;
2117 (char *) "self",(char *) "sz", NULL
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2136 resultptr
= new wxSize((wxSize
&) result
);
2137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2145 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxSize
*arg1
= (wxSize
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2151 PyObject
* obj1
= 0 ;
2153 (char *) "self",(char *) "sz", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 (arg1
)->IncTo((wxSize
const &)*arg2
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 Py_INCREF(Py_None
); resultobj
= Py_None
;
2177 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxSize
*arg1
= (wxSize
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 (char *) "self",(char *) "sz", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->DecTo((wxSize
const &)*arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxSize
*arg1
= (wxSize
*) 0 ;
2214 PyObject
* obj0
= 0 ;
2215 PyObject
* obj1
= 0 ;
2216 PyObject
* obj2
= 0 ;
2218 (char *) "self",(char *) "w",(char *) "h", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2224 arg2
= (int) SWIG_AsInt(obj1
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2226 arg3
= (int) SWIG_AsInt(obj2
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->Set(arg2
,arg3
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxSize
*arg1
= (wxSize
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 (char *) "self",(char *) "w", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2255 arg2
= (int) SWIG_AsInt(obj1
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 (arg1
)->SetWidth(arg2
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 Py_INCREF(Py_None
); resultobj
= Py_None
;
2271 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxSize
*arg1
= (wxSize
*) 0 ;
2275 PyObject
* obj0
= 0 ;
2276 PyObject
* obj1
= 0 ;
2278 (char *) "self",(char *) "h", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 arg2
= (int) SWIG_AsInt(obj1
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 (arg1
)->SetHeight(arg2
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2293 Py_INCREF(Py_None
); resultobj
= Py_None
;
2300 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxSize
*arg1
= (wxSize
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= SWIG_FromInt((int)result
);
2326 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxSize
*arg1
= (wxSize
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2332 (char *) "self", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= SWIG_FromInt((int)result
);
2352 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxSize
*arg1
= (wxSize
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2358 (char *) "self", NULL
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2380 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxSize
*arg1
= (wxSize
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2388 (char *) "self",(char *) "size", NULL
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 Py_INCREF(Py_None
); resultobj
= Py_None
;
2412 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxSize
*arg1
= (wxSize
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2418 (char *) "self", NULL
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= (PyObject
*)wxSize_Get(arg1
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2438 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2441 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2443 return Py_BuildValue((char *)"");
2445 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2449 PyObject
* obj0
= 0 ;
2450 PyObject
* obj1
= 0 ;
2452 (char *) "self",(char *) "x", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2458 arg2
= (double) SWIG_AsDouble(obj1
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2460 if (arg1
) (arg1
)->x
= arg2
;
2462 Py_INCREF(Py_None
); resultobj
= Py_None
;
2469 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2473 PyObject
* obj0
= 0 ;
2475 (char *) "self", NULL
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2481 result
= (double) ((arg1
)->x
);
2483 resultobj
= SWIG_FromDouble((double)result
);
2490 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2497 (char *) "self",(char *) "y", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 arg2
= (double) SWIG_AsDouble(obj1
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2505 if (arg1
) (arg1
)->y
= arg2
;
2507 Py_INCREF(Py_None
); resultobj
= Py_None
;
2514 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "self", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 result
= (double) ((arg1
)->y
);
2528 resultobj
= SWIG_FromDouble((double)result
);
2535 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 double arg1
= (double) 0.0 ;
2538 double arg2
= (double) 0.0 ;
2539 wxRealPoint
*result
;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2543 (char *) "x",(char *) "y", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2548 arg1
= (double) SWIG_AsDouble(obj0
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 arg2
= (double) SWIG_AsDouble(obj1
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2569 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2571 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2574 (char *) "self", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 Py_INCREF(Py_None
); resultobj
= Py_None
;
2594 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2597 wxRealPoint
*arg2
= 0 ;
2600 PyObject
* obj0
= 0 ;
2601 PyObject
* obj1
= 0 ;
2603 (char *) "self",(char *) "pt", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2611 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2629 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2632 wxRealPoint
*arg2
= 0 ;
2635 PyObject
* obj0
= 0 ;
2636 PyObject
* obj1
= 0 ;
2638 (char *) "self",(char *) "pt", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2646 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2664 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2667 wxRealPoint
*arg2
= 0 ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2673 (char *) "self",(char *) "pt", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 wxRealPoint
* resultptr
;
2692 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2701 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2704 wxRealPoint
*arg2
= 0 ;
2707 PyObject
* obj0
= 0 ;
2708 PyObject
* obj1
= 0 ;
2710 (char *) "self",(char *) "pt", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2718 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 wxRealPoint
* resultptr
;
2729 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2738 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2744 PyObject
* obj1
= 0 ;
2745 PyObject
* obj2
= 0 ;
2747 (char *) "self",(char *) "x",(char *) "y", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2753 arg2
= (double) SWIG_AsDouble(obj1
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2755 arg3
= (double) SWIG_AsDouble(obj2
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 wxRealPoint_Set(arg1
,arg2
,arg3
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "self", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2797 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2800 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2802 return Py_BuildValue((char *)"");
2804 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxPoint
*arg1
= (wxPoint
*) 0 ;
2808 PyObject
* obj0
= 0 ;
2809 PyObject
* obj1
= 0 ;
2811 (char *) "self",(char *) "x", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2817 arg2
= (int) SWIG_AsInt(obj1
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2819 if (arg1
) (arg1
)->x
= arg2
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxPoint
*arg1
= (wxPoint
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "self", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2840 result
= (int) ((arg1
)->x
);
2842 resultobj
= SWIG_FromInt((int)result
);
2849 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxPoint
*arg1
= (wxPoint
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2854 PyObject
* obj1
= 0 ;
2856 (char *) "self",(char *) "y", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2862 arg2
= (int) SWIG_AsInt(obj1
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2864 if (arg1
) (arg1
)->y
= arg2
;
2866 Py_INCREF(Py_None
); resultobj
= Py_None
;
2873 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxPoint
*arg1
= (wxPoint
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2879 (char *) "self", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 result
= (int) ((arg1
)->y
);
2887 resultobj
= SWIG_FromInt((int)result
);
2894 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 int arg1
= (int) 0 ;
2897 int arg2
= (int) 0 ;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "x",(char *) "y", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2907 arg1
= (int) SWIG_AsInt(obj0
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2911 arg2
= (int) SWIG_AsInt(obj1
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2928 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxPoint
*arg1
= (wxPoint
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 Py_INCREF(Py_None
); resultobj
= Py_None
;
2953 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxPoint
*arg1
= (wxPoint
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2960 PyObject
* obj1
= 0 ;
2962 (char *) "self",(char *) "pt", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2988 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxPoint
*arg1
= (wxPoint
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2997 (char *) "self",(char *) "pt", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3023 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxPoint
*arg1
= (wxPoint
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3032 (char *) "self",(char *) "pt", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3050 wxPoint
* resultptr
;
3051 resultptr
= new wxPoint((wxPoint
&) result
);
3052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3060 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxPoint
*arg1
= (wxPoint
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3069 (char *) "self",(char *) "pt", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3087 wxPoint
* resultptr
;
3088 resultptr
= new wxPoint((wxPoint
&) result
);
3089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3097 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxPoint
*arg1
= (wxPoint
*) 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "pt", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3120 result
= (wxPoint
*) &_result_ref
;
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3133 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxPoint
*arg1
= (wxPoint
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "self",(char *) "pt", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3156 result
= (wxPoint
*) &_result_ref
;
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3169 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxPoint
*arg1
= (wxPoint
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3176 PyObject
* obj2
= 0 ;
3178 (char *) "self",(char *) "x",(char *) "y", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 arg2
= (long) SWIG_AsLong(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3186 arg3
= (long) SWIG_AsLong(obj2
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 wxPoint_Set(arg1
,arg2
,arg3
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= (PyObject
*)wxPoint_Get(arg1
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3228 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3231 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3233 return Py_BuildValue((char *)"");
3235 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 int arg1
= (int) 0 ;
3238 int arg2
= (int) 0 ;
3239 int arg3
= (int) 0 ;
3240 int arg4
= (int) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3245 PyObject
* obj3
= 0 ;
3247 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3252 arg1
= (int) SWIG_AsInt(obj0
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3256 arg2
= (int) SWIG_AsInt(obj1
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3260 arg3
= (int) SWIG_AsInt(obj2
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 arg4
= (int) SWIG_AsInt(obj3
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3281 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "topLeft",(char *) "bottomRight", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3317 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3324 PyObject
* obj0
= 0 ;
3325 PyObject
* obj1
= 0 ;
3327 (char *) "pos",(char *) "size", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3333 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3353 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxRect
*arg1
= (wxRect
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxRect
*arg1
= (wxRect
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (int)((wxRect
const *)arg1
)->GetX();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= SWIG_FromInt((int)result
);
3404 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxRect
*arg1
= (wxRect
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3411 (char *) "self",(char *) "x", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3417 arg2
= (int) SWIG_AsInt(obj1
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxRect
*arg1
= (wxRect
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (int)(arg1
)->GetY();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_FromInt((int)result
);
3459 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxRect
*arg1
= (wxRect
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "self",(char *) "y", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 arg2
= (int) SWIG_AsInt(obj1
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxRect
*arg1
= (wxRect
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "self", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_FromInt((int)result
);
3514 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxRect
*arg1
= (wxRect
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3521 (char *) "self",(char *) "w", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 arg2
= (int) SWIG_AsInt(obj1
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 (arg1
)->SetWidth(arg2
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxRect
*arg1
= (wxRect
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3549 (char *) "self", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_FromInt((int)result
);
3569 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxRect
*arg1
= (wxRect
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3576 (char *) "self",(char *) "h", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 arg2
= (int) SWIG_AsInt(obj1
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 (arg1
)->SetHeight(arg2
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxRect
*arg1
= (wxRect
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3604 (char *) "self", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= ((wxRect
const *)arg1
)->GetPosition();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3618 wxPoint
* resultptr
;
3619 resultptr
= new wxPoint((wxPoint
&) result
);
3620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3628 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxRect
*arg1
= (wxRect
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "p", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxRect
*arg1
= (wxRect
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "self", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= ((wxRect
const *)arg1
)->GetSize();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3681 resultptr
= new wxSize((wxSize
&) result
);
3682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3690 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxRect
*arg1
= (wxRect
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "s", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 (arg1
)->SetSize((wxSize
const &)*arg2
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxRect
*arg1
= (wxRect
*) 0 ;
3726 PyObject
* obj0
= 0 ;
3728 (char *) "self", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 wxPoint
* resultptr
;
3743 resultptr
= new wxPoint((wxPoint
&) result
);
3744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3752 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxRect
*arg1
= (wxRect
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "p", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3784 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxRect
*arg1
= (wxRect
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3790 (char *) "self", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 wxPoint
* resultptr
;
3805 resultptr
= new wxPoint((wxPoint
&) result
);
3806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3814 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxRect
*arg1
= (wxRect
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3822 (char *) "self",(char *) "p", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxRect
*arg1
= (wxRect
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (int)((wxRect
const *)arg1
)->GetTop();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_FromInt((int)result
);
3898 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxRect
*arg1
= (wxRect
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3904 (char *) "self", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= SWIG_FromInt((int)result
);
3924 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxRect
*arg1
= (wxRect
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (int)((wxRect
const *)arg1
)->GetRight();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_FromInt((int)result
);
3950 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxRect
*arg1
= (wxRect
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3957 (char *) "self",(char *) "left", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 arg2
= (int) SWIG_AsInt(obj1
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 (arg1
)->SetLeft(arg2
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxRect
*arg1
= (wxRect
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3984 PyObject
* obj1
= 0 ;
3986 (char *) "self",(char *) "right", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 arg2
= (int) SWIG_AsInt(obj1
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetRight(arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxRect
*arg1
= (wxRect
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "top", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 arg2
= (int) SWIG_AsInt(obj1
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 (arg1
)->SetTop(arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxRect
*arg1
= (wxRect
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4042 PyObject
* obj1
= 0 ;
4044 (char *) "self",(char *) "bottom", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4050 arg2
= (int) SWIG_AsInt(obj1
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 (arg1
)->SetBottom(arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 Py_INCREF(Py_None
); resultobj
= Py_None
;
4066 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxRect
*arg1
= (wxRect
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4074 PyObject
* obj2
= 0 ;
4076 (char *) "self",(char *) "dx",(char *) "dy", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4082 arg2
= (int) SWIG_AsInt(obj1
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4084 arg3
= (int) SWIG_AsInt(obj2
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4090 result
= (wxRect
*) &_result_ref
;
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4103 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxRect
*arg1
= (wxRect
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4111 PyObject
* obj2
= 0 ;
4113 (char *) "self",(char *) "dx",(char *) "dy", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (int) SWIG_AsInt(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4121 arg3
= (int) SWIG_AsInt(obj2
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4127 result
= (wxRect
*) &_result_ref
;
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4140 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxRect
*arg1
= (wxRect
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4147 PyObject
* obj2
= 0 ;
4149 (char *) "self",(char *) "dx",(char *) "dy", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4155 arg2
= (int) SWIG_AsInt(obj1
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4157 arg3
= (int) SWIG_AsInt(obj2
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 (arg1
)->Offset(arg2
,arg3
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 Py_INCREF(Py_None
); resultobj
= Py_None
;
4173 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRect
*arg1
= (wxRect
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "pt", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 (arg1
)->Offset((wxPoint
const &)*arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxRect
*arg1
= (wxRect
*) 0 ;
4211 PyObject
* obj0
= 0 ;
4212 PyObject
* obj1
= 0 ;
4214 (char *) "self",(char *) "rect", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4228 result
= (wxRect
*) &_result_ref
;
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4241 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRect
*arg1
= (wxRect
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "rect", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4269 resultptr
= new wxRect((wxRect
&) result
);
4270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4278 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxRect
*arg1
= (wxRect
*) 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4287 (char *) "self",(char *) "rect", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4301 result
= (wxRect
*) &_result_ref
;
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4314 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxRect
*arg1
= (wxRect
*) 0 ;
4320 PyObject
* obj0
= 0 ;
4321 PyObject
* obj1
= 0 ;
4323 (char *) "self",(char *) "rect", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4331 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4349 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxRect
*arg1
= (wxRect
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4358 (char *) "self",(char *) "rect", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4366 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4384 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxRect
*arg1
= (wxRect
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 PyObject
* obj2
= 0 ;
4394 (char *) "self",(char *) "x",(char *) "y", NULL
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 arg2
= (int) SWIG_AsInt(obj1
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4402 arg3
= (int) SWIG_AsInt(obj2
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4420 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxRect
*arg1
= (wxRect
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "pt", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4455 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxRect
*arg1
= (wxRect
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "rect", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4472 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4490 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxRect
*arg1
= (wxRect
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "x", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4503 arg2
= (int) SWIG_AsInt(obj1
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4505 if (arg1
) (arg1
)->x
= arg2
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4514 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxRect
*arg1
= (wxRect
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4520 (char *) "self", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4526 result
= (int) ((arg1
)->x
);
4528 resultobj
= SWIG_FromInt((int)result
);
4535 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxRect
*arg1
= (wxRect
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4542 (char *) "self",(char *) "y", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 arg2
= (int) SWIG_AsInt(obj1
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4550 if (arg1
) (arg1
)->y
= arg2
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxRect
*arg1
= (wxRect
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 result
= (int) ((arg1
)->y
);
4573 resultobj
= SWIG_FromInt((int)result
);
4580 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxRect
*arg1
= (wxRect
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "width", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 arg2
= (int) SWIG_AsInt(obj1
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4595 if (arg1
) (arg1
)->width
= arg2
;
4597 Py_INCREF(Py_None
); resultobj
= Py_None
;
4604 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxRect
*arg1
= (wxRect
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4610 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 result
= (int) ((arg1
)->width
);
4618 resultobj
= SWIG_FromInt((int)result
);
4625 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxRect
*arg1
= (wxRect
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4632 (char *) "self",(char *) "height", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 arg2
= (int) SWIG_AsInt(obj1
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4640 if (arg1
) (arg1
)->height
= arg2
;
4642 Py_INCREF(Py_None
); resultobj
= Py_None
;
4649 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxRect
*arg1
= (wxRect
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4661 result
= (int) ((arg1
)->height
);
4663 resultobj
= SWIG_FromInt((int)result
);
4670 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxRect
*arg1
= (wxRect
*) 0 ;
4673 int arg2
= (int) 0 ;
4674 int arg3
= (int) 0 ;
4675 int arg4
= (int) 0 ;
4676 int arg5
= (int) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 PyObject
* obj3
= 0 ;
4681 PyObject
* obj4
= 0 ;
4683 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg2
= (int) SWIG_AsInt(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 arg3
= (int) SWIG_AsInt(obj2
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 arg4
= (int) SWIG_AsInt(obj3
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 arg5
= (int) SWIG_AsInt(obj4
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxRect
*arg1
= (wxRect
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (PyObject
*)wxRect_Get(arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4745 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4748 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4750 return Py_BuildValue((char *)"");
4752 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxRect
*arg1
= (wxRect
*) 0 ;
4755 wxRect
*arg2
= (wxRect
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "r1",(char *) "r2", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4782 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 double arg1
= (double) 0.0 ;
4785 double arg2
= (double) 0.0 ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4790 (char *) "x",(char *) "y", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4795 arg1
= (double) SWIG_AsDouble(obj0
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4799 arg2
= (double) SWIG_AsDouble(obj1
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4816 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxPoint2D
*arg1
= 0 ;
4821 PyObject
* obj0
= 0 ;
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4829 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4845 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4850 PyObject
* obj0
= 0 ;
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4858 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4874 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4877 int *arg2
= (int *) 0 ;
4878 int *arg3
= (int *) 0 ;
4881 PyObject
* obj0
= 0 ;
4883 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4901 resultobj
= t_output_helper(resultobj
,o
);
4904 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4905 resultobj
= t_output_helper(resultobj
,o
);
4913 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4916 int *arg2
= (int *) 0 ;
4917 int *arg3
= (int *) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4940 resultobj
= t_output_helper(resultobj
,o
);
4943 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4944 resultobj
= t_output_helper(resultobj
,o
);
4952 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4958 (char *) "self", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= SWIG_FromDouble((double)result
);
4978 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_FromDouble((double)result
);
5004 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5011 (char *) "self",(char *) "length", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 arg2
= (double) SWIG_AsDouble(obj1
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->SetVectorLength(arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5040 (char *) "self",(char *) "degrees", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 arg2
= (double) SWIG_AsDouble(obj1
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetVectorAngle(arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5065 wxPoint2D
*arg2
= 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5071 (char *) "self",(char *) "pt", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_FromDouble((double)result
);
5095 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5098 wxPoint2D
*arg2
= 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5104 (char *) "self",(char *) "pt", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_FromDouble((double)result
);
5128 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5131 wxPoint2D
*arg2
= 0 ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5137 (char *) "self",(char *) "vec", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_FromDouble((double)result
);
5161 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5164 wxPoint2D
*arg2
= 0 ;
5167 PyObject
* obj0
= 0 ;
5168 PyObject
* obj1
= 0 ;
5170 (char *) "self",(char *) "vec", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5178 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_FromDouble((double)result
);
5194 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (arg1
)->operator -();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5214 wxPoint2D
* resultptr
;
5215 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5224 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5227 wxPoint2D
*arg2
= 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "pt", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5247 result
= (wxPoint2D
*) &_result_ref
;
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5260 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5263 wxPoint2D
*arg2
= 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 (char *) "self",(char *) "pt", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5283 result
= (wxPoint2D
*) &_result_ref
;
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5296 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5299 wxPoint2D
*arg2
= 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "pt", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5313 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5319 result
= (wxPoint2D
*) &_result_ref
;
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5332 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5335 wxPoint2D
*arg2
= 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "pt", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5355 result
= (wxPoint2D
*) &_result_ref
;
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5368 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
;
5370 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5371 wxPoint2D
*arg2
= 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5377 (char *) "self",(char *) "pt", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5403 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5406 wxPoint2D
*arg2
= 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "pt", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5438 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "m_x", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 arg2
= (double) SWIG_AsDouble(obj1
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5453 if (arg1
) (arg1
)->m_x
= arg2
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 result
= (double) ((arg1
)->m_x
);
5476 resultobj
= SWIG_FromDouble((double)result
);
5483 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "m_y", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 arg2
= (double) SWIG_AsDouble(obj1
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5498 if (arg1
) (arg1
)->m_y
= arg2
;
5500 Py_INCREF(Py_None
); resultobj
= Py_None
;
5507 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5513 (char *) "self", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 result
= (double) ((arg1
)->m_y
);
5521 resultobj
= SWIG_FromDouble((double)result
);
5528 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5531 double arg2
= (double) 0 ;
5532 double arg3
= (double) 0 ;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5537 (char *) "self",(char *) "x",(char *) "y", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 arg2
= (double) SWIG_AsDouble(obj1
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 arg3
= (double) SWIG_AsDouble(obj2
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPoint2D_Set(arg1
,arg2
,arg3
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 Py_INCREF(Py_None
); resultobj
= Py_None
;
5565 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5591 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5594 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5596 return Py_BuildValue((char *)"");
5598 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5599 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5604 static PyObject
*_wrap_DefaultPosition_get() {
5607 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5612 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5613 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5618 static PyObject
*_wrap_DefaultSize_get() {
5621 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5626 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 PyObject
*arg1
= (PyObject
*) 0 ;
5629 wxPyInputStream
*result
;
5630 PyObject
* obj0
= 0 ;
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5651 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5656 (char *) "self", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5681 (char *) "self", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 Py_INCREF(Py_None
); resultobj
= Py_None
;
5701 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5705 PyObject
* obj0
= 0 ;
5707 (char *) "self", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= (bool)(arg1
)->eof();
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5729 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5732 int arg2
= (int) -1 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5737 (char *) "self",(char *) "size", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5744 arg2
= (int) SWIG_AsInt(obj1
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (PyObject
*)(arg1
)->read(arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5761 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5764 int arg2
= (int) -1 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5769 (char *) "self",(char *) "size", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5776 arg2
= (int) SWIG_AsInt(obj1
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (PyObject
*)(arg1
)->readline(arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5793 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5796 int arg2
= (int) -1 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "sizehint", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 arg2
= (int) SWIG_AsInt(obj1
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5825 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5829 int arg3
= (int) 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 PyObject
* obj2
= 0 ;
5834 (char *) "self",(char *) "offset",(char *) "whence", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 arg2
= (int) SWIG_AsInt(obj1
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 arg3
= (int) SWIG_AsInt(obj2
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->seek(arg2
,arg3
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (int)(arg1
)->tell();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_FromInt((int)result
);
5886 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5892 (char *) "self", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (char)(arg1
)->Peek();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_FromChar((char)result
);
5912 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (char)(arg1
)->GetC();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= SWIG_FromChar((char)result
);
5938 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5944 (char *) "self", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (size_t)(arg1
)->LastRead();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5964 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)(arg1
)->CanRead();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (bool)(arg1
)->Eof();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6020 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6028 (char *) "self",(char *) "c", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 arg2
= (char) SWIG_AsChar(obj1
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (bool)(arg1
)->Ungetch(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6052 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6056 int arg3
= (int) wxFromStart
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "pos",(char *) "mode", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= (long) SWIG_AsLong(obj1
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_FromLong((long)result
);
6088 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (long)(arg1
)->TellI();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= SWIG_FromLong((long)result
);
6114 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6117 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6119 return Py_BuildValue((char *)"");
6121 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6124 PyObject
*arg2
= (PyObject
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6128 (char *) "self",(char *) "obj", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxOutputStream_write(arg1
,arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 Py_INCREF(Py_None
); resultobj
= Py_None
;
6149 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6152 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6154 return Py_BuildValue((char *)"");
6156 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6159 wxString
*arg2
= 0 ;
6160 wxString
*arg3
= 0 ;
6161 wxString
*arg4
= 0 ;
6164 wxPyInputStream
*temp1
;
6166 bool temp2
= False
;
6167 bool temp3
= False
;
6168 bool temp4
= False
;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 PyObject
* obj2
= 0 ;
6173 PyObject
* obj3
= 0 ;
6174 PyObject
* obj4
= 0 ;
6176 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6181 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6182 arg1
= temp1
->m_wxis
;
6185 PyErr_Clear(); // clear the failure of the wxPyConvert above
6186 arg1
= wxPyCBInputStream_create(obj0
, False
);
6188 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6195 arg2
= wxString_in_helper(obj1
);
6196 if (arg2
== NULL
) SWIG_fail
;
6200 arg3
= wxString_in_helper(obj2
);
6201 if (arg3
== NULL
) SWIG_fail
;
6205 arg4
= wxString_in_helper(obj3
);
6206 if (arg4
== NULL
) SWIG_fail
;
6209 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6210 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= wxPyMake_wxObject(result
);
6260 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6288 wxInputStream
*result
;
6289 PyObject
* obj0
= 0 ;
6291 (char *) "self", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (wxInputStream
*)(arg1
)->GetStream();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6305 wxPyInputStream
* _ptr
= NULL
;
6308 _ptr
= new wxPyInputStream(result
);
6310 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6318 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6334 result
= (wxString
*) &_result_ref
;
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6344 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6353 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 wxString
const &_result_ref
= (arg1
)->GetLocation();
6369 result
= (wxString
*) &_result_ref
;
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6388 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6404 result
= (wxString
*) &_result_ref
;
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6423 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (arg1
)->GetModificationTime();
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6443 wxDateTime
* resultptr
;
6444 resultptr
= new wxDateTime((wxDateTime
&) result
);
6445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6453 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6456 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6458 return Py_BuildValue((char *)"");
6460 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6463 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6465 return Py_BuildValue((char *)"");
6467 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxPyFileSystemHandler
*result
;
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6489 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6492 PyObject
*arg2
= (PyObject
*) 0 ;
6493 PyObject
*arg3
= (PyObject
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6496 PyObject
* obj2
= 0 ;
6498 (char *) "self",(char *) "self",(char *) "_class", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 Py_INCREF(Py_None
); resultobj
= Py_None
;
6520 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6523 wxString
*arg2
= 0 ;
6525 bool temp2
= False
;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6529 (char *) "self",(char *) "location", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 arg2
= wxString_in_helper(obj1
);
6537 if (arg2
== NULL
) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6564 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6567 wxFileSystem
*arg2
= 0 ;
6568 wxString
*arg3
= 0 ;
6570 bool temp3
= False
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6575 (char *) "self",(char *) "fs",(char *) "location", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6585 PyErr_SetString(PyExc_TypeError
,"null reference");
6589 arg3
= wxString_in_helper(obj2
);
6590 if (arg3
== NULL
) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= wxPyMake_wxObject(result
);
6617 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6620 wxString
*arg2
= 0 ;
6621 int arg3
= (int) 0 ;
6623 bool temp2
= False
;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 PyObject
* obj2
= 0 ;
6628 (char *) "self",(char *) "spec",(char *) "flags", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 arg2
= wxString_in_helper(obj1
);
6636 if (arg2
== NULL
) SWIG_fail
;
6640 arg3
= (int) SWIG_AsInt(obj2
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6671 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (arg1
)->FindNext();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6703 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6706 wxString
*arg2
= 0 ;
6708 bool temp2
= False
;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "location", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6719 arg2
= wxString_in_helper(obj1
);
6720 if (arg2
== NULL
) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6751 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6754 wxString
*arg2
= 0 ;
6756 bool temp2
= False
;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "location", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg2
= wxString_in_helper(obj1
);
6768 if (arg2
== NULL
) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6799 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6802 wxString
*arg2
= 0 ;
6804 bool temp2
= False
;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6808 (char *) "self",(char *) "location", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 arg2
= wxString_in_helper(obj1
);
6816 if (arg2
== NULL
) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6847 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6850 wxString
*arg2
= 0 ;
6852 bool temp2
= False
;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "location", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= wxString_in_helper(obj1
);
6864 if (arg2
== NULL
) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6895 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6898 wxString
*arg2
= 0 ;
6900 bool temp2
= False
;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "location", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6911 arg2
= wxString_in_helper(obj1
);
6912 if (arg2
== NULL
) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6943 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6946 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6948 return Py_BuildValue((char *)"");
6950 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxFileSystem
*result
;
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (wxFileSystem
*)new wxFileSystem();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= wxPyMake_wxObject(result
);
6974 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 Py_INCREF(Py_None
); resultobj
= Py_None
;
6999 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7002 wxString
*arg2
= 0 ;
7003 bool arg3
= (bool) False
;
7004 bool temp2
= False
;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 PyObject
* obj2
= 0 ;
7009 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 arg2
= wxString_in_helper(obj1
);
7017 if (arg2
== NULL
) SWIG_fail
;
7021 arg3
= (bool) SWIG_AsBool(obj2
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7052 (char *) "self", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (arg1
)->GetPath();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7078 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7081 wxString
*arg2
= 0 ;
7083 bool temp2
= False
;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "location", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7094 arg2
= wxString_in_helper(obj1
);
7095 if (arg2
== NULL
) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= wxPyMake_wxObject(result
);
7122 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7125 wxString
*arg2
= 0 ;
7126 int arg3
= (int) 0 ;
7128 bool temp2
= False
;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7133 (char *) "self",(char *) "spec",(char *) "flags", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 arg2
= wxString_in_helper(obj1
);
7141 if (arg2
== NULL
) SWIG_fail
;
7145 arg3
= (int) SWIG_AsInt(obj2
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7176 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "self", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (arg1
)->FindNext();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7208 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "handler", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 wxFileSystem::AddHandler(arg1
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 wxFileSystem::CleanUpHandlers();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxString
*arg1
= 0 ;
7258 bool temp1
= False
;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "filename", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7266 arg1
= wxString_in_helper(obj0
);
7267 if (arg1
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7298 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7301 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7303 return Py_BuildValue((char *)"");
7305 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxString
*arg1
= 0 ;
7309 bool temp1
= False
;
7310 PyObject
* obj0
= 0 ;
7312 (char *) "url", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7317 arg1
= wxString_in_helper(obj0
);
7318 if (arg1
== NULL
) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7349 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxInternetFSHandler
*result
;
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7371 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7374 wxString
*arg2
= 0 ;
7376 bool temp2
= False
;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7380 (char *) "self",(char *) "location", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 arg2
= wxString_in_helper(obj1
);
7388 if (arg2
== NULL
) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7415 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7418 wxFileSystem
*arg2
= 0 ;
7419 wxString
*arg3
= 0 ;
7421 bool temp3
= False
;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7424 PyObject
* obj2
= 0 ;
7426 (char *) "self",(char *) "fs",(char *) "location", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7436 PyErr_SetString(PyExc_TypeError
,"null reference");
7440 arg3
= wxString_in_helper(obj2
);
7441 if (arg3
== NULL
) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= wxPyMake_wxObject(result
);
7468 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7471 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7473 return Py_BuildValue((char *)"");
7475 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxZipFSHandler
*result
;
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7497 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7500 wxString
*arg2
= 0 ;
7502 bool temp2
= False
;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7506 (char *) "self",(char *) "location", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 arg2
= wxString_in_helper(obj1
);
7514 if (arg2
== NULL
) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7541 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7544 wxFileSystem
*arg2
= 0 ;
7545 wxString
*arg3
= 0 ;
7547 bool temp3
= False
;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7550 PyObject
* obj2
= 0 ;
7552 (char *) "self",(char *) "fs",(char *) "location", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7562 PyErr_SetString(PyExc_TypeError
,"null reference");
7566 arg3
= wxString_in_helper(obj2
);
7567 if (arg3
== NULL
) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= wxPyMake_wxObject(result
);
7594 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7597 wxString
*arg2
= 0 ;
7598 int arg3
= (int) 0 ;
7600 bool temp2
= False
;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7603 PyObject
* obj2
= 0 ;
7605 (char *) "self",(char *) "spec",(char *) "flags", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7612 arg2
= wxString_in_helper(obj1
);
7613 if (arg2
== NULL
) SWIG_fail
;
7617 arg3
= (int) SWIG_AsInt(obj2
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7648 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (arg1
)->FindNext();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7680 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7683 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7685 return Py_BuildValue((char *)"");
7687 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxString
*arg1
= 0 ;
7692 bool temp1
= False
;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7695 PyObject
* obj2
= 0 ;
7697 (char *) "filename",(char *) "image",(char *) "type", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7702 arg1
= wxString_in_helper(obj0
);
7703 if (arg1
== NULL
) SWIG_fail
;
7706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7710 PyErr_SetString(PyExc_TypeError
,"null reference");
7713 arg3
= (long) SWIG_AsLong(obj2
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 Py_INCREF(Py_None
); resultobj
= Py_None
;
7737 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxString
*arg1
= 0 ;
7740 wxBitmap
*arg2
= 0 ;
7742 bool temp1
= False
;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 PyObject
* obj2
= 0 ;
7747 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7752 arg1
= wxString_in_helper(obj0
);
7753 if (arg1
== NULL
) SWIG_fail
;
7756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7760 PyErr_SetString(PyExc_TypeError
,"null reference");
7763 arg3
= (long) SWIG_AsLong(obj2
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxString
*arg1
= 0 ;
7790 PyObject
*arg2
= (PyObject
*) 0 ;
7791 bool temp1
= False
;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "filename",(char *) "data", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7800 arg1
= wxString_in_helper(obj0
);
7801 if (arg1
== NULL
) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7827 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxMemoryFSHandler
*result
;
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7849 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxString
*arg1
= 0 ;
7852 bool temp1
= False
;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "filename", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7860 arg1
= wxString_in_helper(obj0
);
7861 if (arg1
== NULL
) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7886 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7889 wxString
*arg2
= 0 ;
7891 bool temp2
= False
;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7895 (char *) "self",(char *) "location", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 arg2
= wxString_in_helper(obj1
);
7903 if (arg2
== NULL
) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7933 wxFileSystem
*arg2
= 0 ;
7934 wxString
*arg3
= 0 ;
7936 bool temp3
= False
;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7939 PyObject
* obj2
= 0 ;
7941 (char *) "self",(char *) "fs",(char *) "location", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7951 PyErr_SetString(PyExc_TypeError
,"null reference");
7955 arg3
= wxString_in_helper(obj2
);
7956 if (arg3
== NULL
) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= wxPyMake_wxObject(result
);
7983 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7986 wxString
*arg2
= 0 ;
7987 int arg3
= (int) 0 ;
7989 bool temp2
= False
;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7992 PyObject
* obj2
= 0 ;
7994 (char *) "self",(char *) "spec",(char *) "flags", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 arg2
= wxString_in_helper(obj1
);
8002 if (arg2
== NULL
) SWIG_fail
;
8006 arg3
= (int) SWIG_AsInt(obj2
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8037 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (arg1
)->FindNext();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8069 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8074 return Py_BuildValue((char *)"");
8076 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (arg1
)->GetName();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8108 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (arg1
)->GetExtension();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8140 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8144 PyObject
* obj0
= 0 ;
8146 (char *) "self", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (long)(arg1
)->GetType();
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_FromLong((long)result
);
8166 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8172 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (arg1
)->GetMimeType();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8198 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8201 wxString
*arg2
= 0 ;
8203 bool temp2
= False
;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "name", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8214 arg2
= wxString_in_helper(obj1
);
8215 if (arg2
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8242 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8245 wxString
*arg2
= 0 ;
8246 bool temp2
= False
;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "name", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 arg2
= wxString_in_helper(obj1
);
8258 if (arg2
== NULL
) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->SetName((wxString
const &)*arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8286 wxString
*arg2
= 0 ;
8287 bool temp2
= False
;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8291 (char *) "self",(char *) "extension", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 arg2
= wxString_in_helper(obj1
);
8299 if (arg2
== NULL
) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->SetExtension((wxString
const &)*arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8331 (char *) "self",(char *) "type", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 arg2
= (long) SWIG_AsLong(obj1
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 (arg1
)->SetType(arg2
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 bool temp2
= False
;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "mimetype", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 arg2
= wxString_in_helper(obj1
);
8369 if (arg2
== NULL
) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8394 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8397 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8399 return Py_BuildValue((char *)"");
8401 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxImageHistogram
*result
;
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxImageHistogram
*)new wxImageHistogram();
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8423 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 unsigned char arg1
;
8426 unsigned char arg2
;
8427 unsigned char arg3
;
8428 unsigned long result
;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8431 PyObject
* obj2
= 0 ;
8433 (char *) "r",(char *) "g",(char *) "b", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8437 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8439 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8441 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8457 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8460 unsigned char *arg2
= (unsigned char *) 0 ;
8461 unsigned char *arg3
= (unsigned char *) 0 ;
8462 unsigned char *arg4
= (unsigned char *) 0 ;
8463 unsigned char arg5
= (unsigned char) 1 ;
8464 unsigned char arg6
= (unsigned char) 0 ;
8465 unsigned char arg7
= (unsigned char) 0 ;
8467 unsigned char temp2
;
8468 unsigned char temp3
;
8469 unsigned char temp4
;
8470 PyObject
* obj0
= 0 ;
8471 PyObject
* obj1
= 0 ;
8472 PyObject
* obj2
= 0 ;
8473 PyObject
* obj3
= 0 ;
8475 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8507 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8508 resultobj
= t_output_helper(resultobj
,o
);
8511 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8512 resultobj
= t_output_helper(resultobj
,o
);
8515 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8516 resultobj
= t_output_helper(resultobj
,o
);
8524 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8527 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8529 return Py_BuildValue((char *)"");
8531 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxString
*arg1
= 0 ;
8534 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8535 int arg3
= (int) -1 ;
8537 bool temp1
= False
;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8542 (char *) "name",(char *) "type",(char *) "index", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8547 arg1
= wxString_in_helper(obj0
);
8548 if (arg1
== NULL
) SWIG_fail
;
8552 arg2
= (long) SWIG_AsLong(obj1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 arg3
= (int) SWIG_AsInt(obj2
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8581 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxImage
*arg1
= (wxImage
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8606 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxString
*arg1
= 0 ;
8609 wxString
*arg2
= 0 ;
8610 int arg3
= (int) -1 ;
8612 bool temp1
= False
;
8613 bool temp2
= False
;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8618 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8623 arg1
= wxString_in_helper(obj0
);
8624 if (arg1
== NULL
) SWIG_fail
;
8628 arg2
= wxString_in_helper(obj1
);
8629 if (arg2
== NULL
) SWIG_fail
;
8633 arg3
= (int) SWIG_AsInt(obj2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8666 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxInputStream
*arg1
= 0 ;
8669 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8670 int arg3
= (int) -1 ;
8672 wxPyInputStream
*temp1
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8678 (char *) "stream",(char *) "type",(char *) "index", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8683 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8684 arg1
= temp1
->m_wxis
;
8687 PyErr_Clear(); // clear the failure of the wxPyConvert above
8688 arg1
= wxPyCBInputStream_create(obj0
, False
);
8690 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8697 arg2
= (long) SWIG_AsLong(obj1
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 arg3
= (int) SWIG_AsInt(obj2
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8726 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxInputStream
*arg1
= 0 ;
8729 wxString
*arg2
= 0 ;
8730 int arg3
= (int) -1 ;
8732 wxPyInputStream
*temp1
;
8734 bool temp2
= False
;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8739 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8745 arg1
= temp1
->m_wxis
;
8748 PyErr_Clear(); // clear the failure of the wxPyConvert above
8749 arg1
= wxPyCBInputStream_create(obj0
, False
);
8751 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8758 arg2
= wxString_in_helper(obj1
);
8759 if (arg2
== NULL
) SWIG_fail
;
8763 arg3
= (int) SWIG_AsInt(obj2
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8796 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 int arg1
= (int) 0 ;
8799 int arg2
= (int) 0 ;
8800 bool arg3
= (bool) True
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "width",(char *) "height",(char *) "clear", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 arg1
= (int) SWIG_AsInt(obj0
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 arg2
= (int) SWIG_AsInt(obj1
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 arg3
= (bool) SWIG_AsBool(obj2
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8836 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxBitmap
*arg1
= 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "bitmap", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8850 PyErr_SetString(PyExc_TypeError
,"null reference");
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8867 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8871 unsigned char *arg3
= (unsigned char *) 0 ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "width",(char *) "height",(char *) "data", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 arg1
= (int) SWIG_AsInt(obj0
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8885 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8901 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
;
8903 wxImage
*arg1
= (wxImage
*) 0 ;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8908 PyObject
* obj2
= 0 ;
8910 (char *) "self",(char *) "width",(char *) "height", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8916 arg2
= (int) SWIG_AsInt(obj1
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8918 arg3
= (int) SWIG_AsInt(obj2
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->Create(arg2
,arg3
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxImage
*arg1
= (wxImage
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 Py_INCREF(Py_None
); resultobj
= Py_None
;
8959 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxImage
*arg1
= (wxImage
*) 0 ;
8964 SwigValueWrapper
< wxImage
> result
;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8969 (char *) "self",(char *) "width",(char *) "height", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 arg2
= (int) SWIG_AsInt(obj1
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8977 arg3
= (int) SWIG_AsInt(obj2
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (arg1
)->Scale(arg2
,arg3
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8987 wxImage
* resultptr
;
8988 resultptr
= new wxImage((wxImage
&) result
);
8989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8997 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxImage
*arg1
= (wxImage
*) 0 ;
9002 SwigValueWrapper
< wxImage
> result
;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9005 PyObject
* obj2
= 0 ;
9007 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 arg2
= (int) SWIG_AsInt(obj1
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9015 arg3
= (int) SWIG_AsInt(obj2
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 wxImage
* resultptr
;
9026 resultptr
= new wxImage((wxImage
&) result
);
9027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9035 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxImage
*arg1
= (wxImage
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "self",(char *) "width",(char *) "height", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 arg2
= (int) SWIG_AsInt(obj1
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9053 arg3
= (int) SWIG_AsInt(obj2
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9059 result
= (wxImage
*) &_result_ref
;
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9072 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxImage
*arg1
= (wxImage
*) 0 ;
9077 unsigned char arg4
;
9078 unsigned char arg5
;
9079 unsigned char arg6
;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 PyObject
* obj2
= 0 ;
9083 PyObject
* obj3
= 0 ;
9084 PyObject
* obj4
= 0 ;
9085 PyObject
* obj5
= 0 ;
9087 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (int) SWIG_AsInt(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9095 arg3
= (int) SWIG_AsInt(obj2
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9097 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9099 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9101 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9117 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxImage
*arg1
= (wxImage
*) 0 ;
9122 unsigned char result
;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 PyObject
* obj2
= 0 ;
9127 (char *) "self",(char *) "x",(char *) "y", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 arg2
= (int) SWIG_AsInt(obj1
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9135 arg3
= (int) SWIG_AsInt(obj2
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9151 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxImage
*arg1
= (wxImage
*) 0 ;
9156 unsigned char result
;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 PyObject
* obj2
= 0 ;
9161 (char *) "self",(char *) "x",(char *) "y", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 arg2
= (int) SWIG_AsInt(obj1
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9169 arg3
= (int) SWIG_AsInt(obj2
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9185 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxImage
*arg1
= (wxImage
*) 0 ;
9190 unsigned char result
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "self",(char *) "x",(char *) "y", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 arg2
= (int) SWIG_AsInt(obj1
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9203 arg3
= (int) SWIG_AsInt(obj2
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9219 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxImage
*arg1
= (wxImage
*) 0 ;
9224 unsigned char arg4
;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9228 PyObject
* obj3
= 0 ;
9230 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= (int) SWIG_AsInt(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 arg3
= (int) SWIG_AsInt(obj2
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9240 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 Py_INCREF(Py_None
); resultobj
= Py_None
;
9256 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxImage
*arg1
= (wxImage
*) 0 ;
9261 unsigned char result
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9266 (char *) "self",(char *) "x",(char *) "y", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (int) SWIG_AsInt(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9274 arg3
= (int) SWIG_AsInt(obj2
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9290 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxImage
*arg1
= (wxImage
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9296 (char *) "self", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)(arg1
)->HasAlpha();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9318 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxImage
*arg1
= (wxImage
*) 0 ;
9321 byte
*arg2
= (byte
*) 0 ;
9322 byte
*arg3
= (byte
*) 0 ;
9323 byte
*arg4
= (byte
*) 0 ;
9324 byte arg5
= (byte
) 0 ;
9325 byte arg6
= (byte
) 0 ;
9326 byte arg7
= (byte
) 0 ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9334 PyObject
* obj3
= 0 ;
9336 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9368 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9369 resultobj
= t_output_helper(resultobj
,o
);
9372 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9373 resultobj
= t_output_helper(resultobj
,o
);
9376 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9377 resultobj
= t_output_helper(resultobj
,o
);
9385 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxImage
*arg1
= (wxImage
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9395 PyObject
* obj2
= 0 ;
9396 PyObject
* obj3
= 0 ;
9397 PyObject
* obj4
= 0 ;
9399 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9409 PyErr_SetString(PyExc_TypeError
,"null reference");
9412 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9414 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9416 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxString
*arg1
= 0 ;
9438 bool temp1
= False
;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "name", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9446 arg1
= wxString_in_helper(obj0
);
9447 if (arg1
== NULL
) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9474 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxString
*arg1
= 0 ;
9477 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9479 bool temp1
= False
;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9483 (char *) "name",(char *) "type", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 arg1
= wxString_in_helper(obj0
);
9489 if (arg1
== NULL
) SWIG_fail
;
9493 arg2
= (long) SWIG_AsLong(obj1
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_FromInt((int)result
);
9518 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxImage
*arg1
= (wxImage
*) 0 ;
9521 wxString
*arg2
= 0 ;
9522 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9523 int arg4
= (int) -1 ;
9525 bool temp2
= False
;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 PyObject
* obj2
= 0 ;
9529 PyObject
* obj3
= 0 ;
9531 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 arg2
= wxString_in_helper(obj1
);
9539 if (arg2
== NULL
) SWIG_fail
;
9543 arg3
= (long) SWIG_AsLong(obj2
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 arg4
= (int) SWIG_AsInt(obj3
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9574 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxImage
*arg1
= (wxImage
*) 0 ;
9577 wxString
*arg2
= 0 ;
9578 wxString
*arg3
= 0 ;
9579 int arg4
= (int) -1 ;
9581 bool temp2
= False
;
9582 bool temp3
= False
;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 PyObject
* obj2
= 0 ;
9586 PyObject
* obj3
= 0 ;
9588 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 arg2
= wxString_in_helper(obj1
);
9596 if (arg2
== NULL
) SWIG_fail
;
9600 arg3
= wxString_in_helper(obj2
);
9601 if (arg3
== NULL
) SWIG_fail
;
9605 arg4
= (int) SWIG_AsInt(obj3
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxImage
*arg1
= (wxImage
*) 0 ;
9643 wxString
*arg2
= 0 ;
9646 bool temp2
= False
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj2
= 0 ;
9651 (char *) "self",(char *) "name",(char *) "type", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9662 arg3
= (int) SWIG_AsInt(obj2
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxImage
*arg1
= (wxImage
*) 0 ;
9691 wxString
*arg2
= 0 ;
9692 wxString
*arg3
= 0 ;
9694 bool temp2
= False
;
9695 bool temp3
= False
;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 PyObject
* obj2
= 0 ;
9700 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 arg2
= wxString_in_helper(obj1
);
9708 if (arg2
== NULL
) SWIG_fail
;
9712 arg3
= wxString_in_helper(obj2
);
9713 if (arg3
== NULL
) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxInputStream
*arg1
= 0 ;
9752 wxPyInputStream
*temp1
;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "stream", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9761 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9762 arg1
= temp1
->m_wxis
;
9765 PyErr_Clear(); // clear the failure of the wxPyConvert above
9766 arg1
= wxPyCBInputStream_create(obj0
, False
);
9768 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (bool)wxImage::CanRead(*arg1
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9798 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxImage
*arg1
= (wxImage
*) 0 ;
9801 wxInputStream
*arg2
= 0 ;
9802 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9803 int arg4
= (int) -1 ;
9805 wxPyInputStream
*temp2
;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 PyObject
* obj3
= 0 ;
9812 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9820 arg2
= temp2
->m_wxis
;
9823 PyErr_Clear(); // clear the failure of the wxPyConvert above
9824 arg2
= wxPyCBInputStream_create(obj1
, False
);
9826 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9833 arg3
= (long) SWIG_AsLong(obj2
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 arg4
= (int) SWIG_AsInt(obj3
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxImage
*arg1
= (wxImage
*) 0 ;
9867 wxInputStream
*arg2
= 0 ;
9868 wxString
*arg3
= 0 ;
9869 int arg4
= (int) -1 ;
9871 wxPyInputStream
*temp2
;
9873 bool temp3
= False
;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj2
= 0 ;
9877 PyObject
* obj3
= 0 ;
9879 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9887 arg2
= temp2
->m_wxis
;
9890 PyErr_Clear(); // clear the failure of the wxPyConvert above
9891 arg2
= wxPyCBInputStream_create(obj1
, False
);
9893 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9900 arg3
= wxString_in_helper(obj2
);
9901 if (arg3
== NULL
) SWIG_fail
;
9905 arg4
= (int) SWIG_AsInt(obj3
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9940 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxImage
*arg1
= (wxImage
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (bool)(arg1
)->Ok();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9968 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxImage
*arg1
= (wxImage
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "self", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (int)(arg1
)->GetWidth();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_FromInt((int)result
);
9994 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxImage
*arg1
= (wxImage
*) 0 ;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "self", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (int)(arg1
)->GetHeight();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_FromInt((int)result
);
10020 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxImage
*arg1
= (wxImage
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= wxImage_GetSize(arg1
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10040 wxSize
* resultptr
;
10041 resultptr
= new wxSize((wxSize
&) result
);
10042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10050 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxImage
*arg1
= (wxImage
*) 0 ;
10054 SwigValueWrapper
< wxImage
> result
;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "rect", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 wxImage
* resultptr
;
10078 resultptr
= new wxImage((wxImage
&) result
);
10079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10087 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxImage
*arg1
= (wxImage
*) 0 ;
10090 SwigValueWrapper
< wxImage
> result
;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (arg1
)->Copy();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10107 wxImage
* resultptr
;
10108 resultptr
= new wxImage((wxImage
&) result
);
10109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10117 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxImage
*arg1
= (wxImage
*) 0 ;
10120 wxImage
*arg2
= 0 ;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 PyObject
* obj2
= 0 ;
10126 PyObject
* obj3
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10137 if (arg2
== NULL
) {
10138 PyErr_SetString(PyExc_TypeError
,"null reference");
10141 arg3
= (int) SWIG_AsInt(obj2
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10143 arg4
= (int) SWIG_AsInt(obj3
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxImage
*arg1
= (wxImage
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (PyObject
*)wxImage_GetData(arg1
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
;
10185 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxImage
*arg1
= (wxImage
*) 0 ;
10188 PyObject
*arg2
= (PyObject
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self",(char *) "data", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxImage_SetData(arg1
,arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxImage
*arg1
= (wxImage
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
;
10239 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxImage
*arg1
= (wxImage
*) 0 ;
10242 PyObject
*arg2
= (PyObject
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "data", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 wxImage_SetDataBuffer(arg1
,arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxImage
*arg1
= (wxImage
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= result
;
10293 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxImage
*arg1
= (wxImage
*) 0 ;
10296 PyObject
*arg2
= (PyObject
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self",(char *) "data", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 wxImage_SetAlphaData(arg1
,arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxImage
*arg1
= (wxImage
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= result
;
10347 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxImage
*arg1
= (wxImage
*) 0 ;
10350 PyObject
*arg2
= (PyObject
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "data", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 wxImage_SetAlphaBuffer(arg1
,arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxImage
*arg1
= (wxImage
*) 0 ;
10378 unsigned char arg2
;
10379 unsigned char arg3
;
10380 unsigned char arg4
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 PyObject
* obj3
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10394 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10396 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxImage
*arg1
= (wxImage
*) 0 ;
10415 unsigned char result
;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (unsigned char)(arg1
)->GetMaskRed();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10438 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxImage
*arg1
= (wxImage
*) 0 ;
10441 unsigned char result
;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (unsigned char)(arg1
)->GetMaskGreen();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10464 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxImage
*arg1
= (wxImage
*) 0 ;
10467 unsigned char result
;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (unsigned char)(arg1
)->GetMaskBlue();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10490 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxImage
*arg1
= (wxImage
*) 0 ;
10493 bool arg2
= (bool) True
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "mask", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 arg2
= (bool) SWIG_AsBool(obj1
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 (arg1
)->SetMask(arg2
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 Py_INCREF(Py_None
); resultobj
= Py_None
;
10521 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxImage
*arg1
= (wxImage
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (bool)(arg1
)->HasMask();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10549 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxImage
*arg1
= (wxImage
*) 0 ;
10553 wxPoint
*arg3
= 0 ;
10554 bool arg4
= (bool) True
;
10555 wxPoint
*arg5
= (wxPoint
*) NULL
;
10556 SwigValueWrapper
< wxImage
> result
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 PyObject
* obj3
= 0 ;
10562 PyObject
* obj4
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 arg2
= (double) SWIG_AsDouble(obj1
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10577 arg4
= (bool) SWIG_AsBool(obj3
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 wxImage
* resultptr
;
10593 resultptr
= new wxImage((wxImage
&) result
);
10594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10602 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxImage
*arg1
= (wxImage
*) 0 ;
10605 bool arg2
= (bool) True
;
10606 SwigValueWrapper
< wxImage
> result
;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "clockwise", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 arg2
= (bool) SWIG_AsBool(obj1
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (arg1
)->Rotate90(arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 wxImage
* resultptr
;
10629 resultptr
= new wxImage((wxImage
&) result
);
10630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10638 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxImage
*arg1
= (wxImage
*) 0 ;
10641 bool arg2
= (bool) True
;
10642 SwigValueWrapper
< wxImage
> result
;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "horizontally", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 arg2
= (bool) SWIG_AsBool(obj1
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (arg1
)->Mirror(arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 wxImage
* resultptr
;
10665 resultptr
= new wxImage((wxImage
&) result
);
10666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10674 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxImage
*arg1
= (wxImage
*) 0 ;
10677 unsigned char arg2
;
10678 unsigned char arg3
;
10679 unsigned char arg4
;
10680 unsigned char arg5
;
10681 unsigned char arg6
;
10682 unsigned char arg7
;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 PyObject
* obj3
= 0 ;
10687 PyObject
* obj4
= 0 ;
10688 PyObject
* obj5
= 0 ;
10689 PyObject
* obj6
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10699 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10701 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10705 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10707 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxImage
*arg1
= (wxImage
*) 0 ;
10726 unsigned char arg2
;
10727 unsigned char arg3
;
10728 unsigned char arg4
;
10729 SwigValueWrapper
< wxImage
> result
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 PyObject
* obj2
= 0 ;
10733 PyObject
* obj3
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10743 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10745 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 wxImage
* resultptr
;
10756 resultptr
= new wxImage((wxImage
&) result
);
10757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10765 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10768 wxString
*arg2
= 0 ;
10769 wxString
*arg3
= 0 ;
10770 bool temp2
= False
;
10771 bool temp3
= False
;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 PyObject
* obj2
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "name",(char *) "value", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 arg2
= wxString_in_helper(obj1
);
10784 if (arg2
== NULL
) SWIG_fail
;
10788 arg3
= wxString_in_helper(obj2
);
10789 if (arg3
== NULL
) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxImage
*arg1
= (wxImage
*) 0 ;
10825 wxString
*arg2
= 0 ;
10827 bool temp2
= False
;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 PyObject
* obj2
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "name",(char *) "value", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 arg2
= wxString_in_helper(obj1
);
10840 if (arg2
== NULL
) SWIG_fail
;
10843 arg3
= (int) SWIG_AsInt(obj2
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10867 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxImage
*arg1
= (wxImage
*) 0 ;
10870 wxString
*arg2
= 0 ;
10872 bool temp2
= False
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "name", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 arg2
= wxString_in_helper(obj1
);
10884 if (arg2
== NULL
) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10915 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxImage
*arg1
= (wxImage
*) 0 ;
10918 wxString
*arg2
= 0 ;
10920 bool temp2
= False
;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "name", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= wxString_in_helper(obj1
);
10932 if (arg2
== NULL
) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_FromInt((int)result
);
10957 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxImage
*arg1
= (wxImage
*) 0 ;
10960 wxString
*arg2
= 0 ;
10962 bool temp2
= False
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "name", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 arg2
= wxString_in_helper(obj1
);
10974 if (arg2
== NULL
) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxImage
*arg1
= (wxImage
*) 0 ;
11004 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11005 unsigned long result
;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "stopafter", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11033 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxImage
*arg1
= (wxImage
*) 0 ;
11036 wxImageHistogram
*arg2
= 0 ;
11037 unsigned long result
;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self",(char *) "h", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11050 if (arg2
== NULL
) {
11051 PyErr_SetString(PyExc_TypeError
,"null reference");
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11068 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "handler", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxImage::AddHandler(arg1
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "handler", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxImage::InsertHandler(arg1
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxString
*arg1
= 0 ;
11122 bool temp1
= False
;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "name", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11130 arg1
= wxString_in_helper(obj0
);
11131 if (arg1
== NULL
) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11158 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11161 char *kwnames
[] = {
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= wxImage::GetImageExtWildcard();
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11186 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxImage
*arg1
= (wxImage
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= wxImage_ConvertToBitmap(arg1
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 wxBitmap
* resultptr
;
11207 resultptr
= new wxBitmap((wxBitmap
&) result
);
11208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11216 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 unsigned char arg2
;
11220 unsigned char arg3
;
11221 unsigned char arg4
;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 PyObject
* obj2
= 0 ;
11226 PyObject
* obj3
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11236 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11238 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 wxBitmap
* resultptr
;
11249 resultptr
= new wxBitmap((wxBitmap
&) result
);
11250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11258 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11261 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11263 return Py_BuildValue((char *)"");
11265 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 char *kwnames
[] = {
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 wxInitAllImageHandlers();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static int _wrap_NullImage_set(PyObject
*_val
) {
11287 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11292 static PyObject
*_wrap_NullImage_get() {
11295 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11300 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11301 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11306 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11311 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11313 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11320 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11321 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11326 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11331 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11333 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11340 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11341 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11346 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11351 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11353 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11360 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11361 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11366 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11371 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11373 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11380 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11381 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11386 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11391 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11393 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11400 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxBMPHandler
*result
;
11403 char *kwnames
[] = {
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (wxBMPHandler
*)new wxBMPHandler();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11422 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11425 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11427 return Py_BuildValue((char *)"");
11429 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxICOHandler
*result
;
11432 char *kwnames
[] = {
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (wxICOHandler
*)new wxICOHandler();
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11451 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11454 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11456 return Py_BuildValue((char *)"");
11458 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxCURHandler
*result
;
11461 char *kwnames
[] = {
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (wxCURHandler
*)new wxCURHandler();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11480 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11483 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11485 return Py_BuildValue((char *)"");
11487 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxANIHandler
*result
;
11490 char *kwnames
[] = {
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (wxANIHandler
*)new wxANIHandler();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11509 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11512 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11514 return Py_BuildValue((char *)"");
11516 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxPNGHandler
*result
;
11519 char *kwnames
[] = {
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (wxPNGHandler
*)new wxPNGHandler();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11538 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11541 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11543 return Py_BuildValue((char *)"");
11545 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxGIFHandler
*result
;
11548 char *kwnames
[] = {
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (wxGIFHandler
*)new wxGIFHandler();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11567 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11570 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11572 return Py_BuildValue((char *)"");
11574 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxPCXHandler
*result
;
11577 char *kwnames
[] = {
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxPCXHandler
*)new wxPCXHandler();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11596 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11599 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11601 return Py_BuildValue((char *)"");
11603 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxJPEGHandler
*result
;
11606 char *kwnames
[] = {
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11625 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11628 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11630 return Py_BuildValue((char *)"");
11632 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxPNMHandler
*result
;
11635 char *kwnames
[] = {
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxPNMHandler
*)new wxPNMHandler();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11654 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11657 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11659 return Py_BuildValue((char *)"");
11661 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxXPMHandler
*result
;
11664 char *kwnames
[] = {
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (wxXPMHandler
*)new wxXPMHandler();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11683 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11686 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11688 return Py_BuildValue((char *)"");
11690 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxTIFFHandler
*result
;
11693 char *kwnames
[] = {
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11712 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11717 return Py_BuildValue((char *)"");
11719 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxEvtHandler
*result
;
11722 char *kwnames
[] = {
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (wxEvtHandler
*)new wxEvtHandler();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= wxPyMake_wxObject(result
);
11743 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11746 wxEvtHandler
*result
;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= wxPyMake_wxObject(result
);
11771 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11774 wxEvtHandler
*result
;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= wxPyMake_wxObject(result
);
11799 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11802 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "self",(char *) "handler", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 (arg1
)->SetNextHandler(arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11831 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "handler", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetPreviousHandler(arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11885 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11889 PyObject
* obj0
= 0 ;
11890 PyObject
* obj1
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self",(char *) "enabled", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11898 arg2
= (bool) SWIG_AsBool(obj1
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 (arg1
)->SetEvtHandlerEnabled(arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11914 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11917 wxEvent
*arg2
= 0 ;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self",(char *) "event", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11931 if (arg2
== NULL
) {
11932 PyErr_SetString(PyExc_TypeError
,"null reference");
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11951 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11954 wxEvent
*arg2
= 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "event", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11967 if (arg2
== NULL
) {
11968 PyErr_SetString(PyExc_TypeError
,"null reference");
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->AddPendingEvent(*arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 (arg1
)->ProcessPendingEvents();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 Py_INCREF(Py_None
); resultobj
= Py_None
;
12010 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12016 PyObject
*arg5
= (PyObject
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 PyObject
* obj2
= 0 ;
12020 PyObject
* obj3
= 0 ;
12021 PyObject
* obj4
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12029 arg2
= (int) SWIG_AsInt(obj1
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12031 arg3
= (int) SWIG_AsInt(obj2
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12033 arg4
= (int) SWIG_AsInt(obj3
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 Py_INCREF(Py_None
); resultobj
= Py_None
;
12050 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12054 int arg3
= (int) -1 ;
12055 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 PyObject
* obj2
= 0 ;
12060 PyObject
* obj3
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12068 arg2
= (int) SWIG_AsInt(obj1
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 arg3
= (int) SWIG_AsInt(obj2
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12097 PyObject
*arg2
= (PyObject
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "_self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 wxEvtHandler__setOORInfo(arg1
,arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12125 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12127 return Py_BuildValue((char *)"");
12129 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxEventType result
;
12132 char *kwnames
[] = {
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (wxEventType
)wxNewEventType();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_FromInt((int)result
);
12151 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxEvent
*arg1
= (wxEvent
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxEvent
*arg1
= (wxEvent
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self",(char *) "typ", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 (arg1
)->SetEventType(arg2
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxEvent
*arg1
= (wxEvent
*) 0 ;
12208 wxEventType result
;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_FromInt((int)result
);
12231 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxEvent
*arg1
= (wxEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= wxPyMake_wxObject(result
);
12259 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxEvent
*arg1
= (wxEvent
*) 0 ;
12262 wxObject
*arg2
= (wxObject
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "obj", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 (arg1
)->SetEventObject(arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 Py_INCREF(Py_None
); resultobj
= Py_None
;
12288 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxEvent
*arg1
= (wxEvent
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_FromLong((long)result
);
12314 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxEvent
*arg1
= (wxEvent
*) 0 ;
12317 long arg2
= (long) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "ts", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 arg2
= (long) SWIG_AsLong(obj1
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetTimestamp(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxEvent
*arg1
= (wxEvent
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)((wxEvent
const *)arg1
)->GetId();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_FromInt((int)result
);
12371 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxEvent
*arg1
= (wxEvent
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "Id", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 arg2
= (int) SWIG_AsInt(obj1
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 (arg1
)->SetId(arg2
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxEvent
*arg1
= (wxEvent
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12428 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxEvent
*arg1
= (wxEvent
*) 0 ;
12431 bool arg2
= (bool) True
;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self",(char *) "skip", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 arg2
= (bool) SWIG_AsBool(obj1
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->Skip(arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxEvent
*arg1
= (wxEvent
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12487 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxEvent
*arg1
= (wxEvent
*) 0 ;
12491 PyObject
* obj0
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12515 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxEvent
*arg1
= (wxEvent
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (int)(arg1
)->StopPropagation();
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_FromInt((int)result
);
12541 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxEvent
*arg1
= (wxEvent
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "propagationLevel", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12554 arg2
= (int) SWIG_AsInt(obj1
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->ResumePropagation(arg2
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxEvent
*arg1
= (wxEvent
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxEvent
*)(arg1
)->Clone();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12596 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12599 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12601 return Py_BuildValue((char *)"");
12603 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxEvent
*arg1
= 0 ;
12606 wxPropagationDisabler
*result
;
12607 PyObject
* obj0
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "event", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12616 if (arg1
== NULL
) {
12617 PyErr_SetString(PyExc_TypeError
,"null reference");
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12634 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12662 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12664 return Py_BuildValue((char *)"");
12666 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxEvent
*arg1
= 0 ;
12669 wxPropagateOnce
*result
;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "event", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12679 if (arg1
== NULL
) {
12680 PyErr_SetString(PyExc_TypeError
,"null reference");
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12697 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 Py_INCREF(Py_None
); resultobj
= Py_None
;
12722 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12725 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12727 return Py_BuildValue((char *)"");
12729 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12732 int arg2
= (int) 0 ;
12733 wxCommandEvent
*result
;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "commandType",(char *) "winid", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12742 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 arg2
= (int) SWIG_AsInt(obj1
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12763 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_FromInt((int)result
);
12789 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12792 wxString
*arg2
= 0 ;
12793 bool temp2
= False
;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "s", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12804 arg2
= wxString_in_helper(obj1
);
12805 if (arg2
== NULL
) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetString((wxString
const &)*arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12862 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12890 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "extraLong", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 arg2
= (long) SWIG_AsLong(obj1
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 (arg1
)->SetExtraLong(arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 Py_INCREF(Py_None
); resultobj
= Py_None
;
12947 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_FromLong((long)result
);
12973 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "i", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12986 arg2
= (int) SWIG_AsInt(obj1
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 (arg1
)->SetInt(arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 Py_INCREF(Py_None
); resultobj
= Py_None
;
13002 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 char *kwnames
[] = {
13008 (char *) "self", NULL
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_FromLong((long)result
);
13028 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13032 PyObject
* obj0
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13054 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13057 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13059 return Py_BuildValue((char *)"");
13061 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13064 int arg2
= (int) 0 ;
13065 wxNotifyEvent
*result
;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "commandType",(char *) "winid", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13074 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 arg2
= (int) SWIG_AsInt(obj1
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13083 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13095 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 Py_INCREF(Py_None
); resultobj
= Py_None
;
13145 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)(arg1
)->IsAllowed();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13173 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13176 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13178 return Py_BuildValue((char *)"");
13180 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13183 int arg2
= (int) 0 ;
13184 int arg3
= (int) 0 ;
13185 int arg4
= (int) 0 ;
13186 wxScrollEvent
*result
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 PyObject
* obj2
= 0 ;
13190 PyObject
* obj3
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13197 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg2
= (int) SWIG_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 arg3
= (int) SWIG_AsInt(obj2
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 arg4
= (int) SWIG_AsInt(obj3
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13226 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_FromInt((int)result
);
13252 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_FromInt((int)result
);
13278 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self",(char *) "orient", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13291 arg2
= (int) SWIG_AsInt(obj1
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 (arg1
)->SetOrientation(arg2
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 Py_INCREF(Py_None
); resultobj
= Py_None
;
13307 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self",(char *) "pos", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 arg2
= (int) SWIG_AsInt(obj1
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->SetPosition(arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13339 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13341 return Py_BuildValue((char *)"");
13343 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13346 int arg2
= (int) 0 ;
13347 int arg3
= (int) 0 ;
13348 wxScrollWinEvent
*result
;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 PyObject
* obj2
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13358 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 arg2
= (int) SWIG_AsInt(obj1
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 arg3
= (int) SWIG_AsInt(obj2
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13383 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_FromInt((int)result
);
13409 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_FromInt((int)result
);
13435 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "orient", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg2
= (int) SWIG_AsInt(obj1
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 (arg1
)->SetOrientation(arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "pos", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 arg2
= (int) SWIG_AsInt(obj1
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SetPosition(arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13496 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13498 return Py_BuildValue((char *)"");
13500 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13503 wxMouseEvent
*result
;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "mouseType", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13511 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= wxPyMake_wxObject(result
);
13530 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13561 int arg2
= (int) wxMOUSE_BTN_ANY
;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "but", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 arg2
= (int) SWIG_AsInt(obj1
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13592 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13595 int arg2
= (int) wxMOUSE_BTN_ANY
;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "but", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg2
= (int) SWIG_AsInt(obj1
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13626 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13629 int arg2
= (int) wxMOUSE_BTN_ANY
;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self",(char *) "but", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13641 arg2
= (int) SWIG_AsInt(obj1
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13660 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "but", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 arg2
= (int) SWIG_AsInt(obj1
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "but", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 arg2
= (int) SWIG_AsInt(obj1
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13724 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_FromInt((int)result
);
13750 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13778 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13834 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13862 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13890 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13918 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13946 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14002 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14030 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14058 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14086 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14114 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (bool)(arg1
)->LeftIsDown();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14142 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (bool)(arg1
)->MiddleIsDown();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14170 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (bool)(arg1
)->RightIsDown();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14198 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14226 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14282 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14310 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14314 PyObject
* obj0
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (arg1
)->GetPosition();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 wxPoint
* resultptr
;
14331 resultptr
= new wxPoint((wxPoint
&) result
);
14332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14340 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14343 long *arg2
= (long *) 0 ;
14344 long *arg3
= (long *) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 (arg1
)->GetPosition(arg2
,arg3
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14367 resultobj
= t_output_helper(resultobj
,o
);
14370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14371 resultobj
= t_output_helper(resultobj
,o
);
14379 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "dc", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14396 if (arg2
== NULL
) {
14397 PyErr_SetString(PyExc_TypeError
,"null reference");
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxPoint
* resultptr
;
14409 resultptr
= new wxPoint((wxPoint
&) result
);
14410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14418 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_FromInt((int)result
);
14444 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_FromInt((int)result
);
14470 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_FromInt((int)result
);
14496 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_FromInt((int)result
);
14522 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_FromInt((int)result
);
14548 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14576 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self",(char *) "m_x", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 arg2
= (int) SWIG_AsInt(obj1
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14591 if (arg1
) (arg1
)->m_x
= arg2
;
14593 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 result
= (int) ((arg1
)->m_x
);
14614 resultobj
= SWIG_FromInt((int)result
);
14621 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "m_y", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 arg2
= (int) SWIG_AsInt(obj1
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14636 if (arg1
) (arg1
)->m_y
= arg2
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 result
= (int) ((arg1
)->m_y
);
14659 resultobj
= SWIG_FromInt((int)result
);
14666 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "m_leftDown", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 arg2
= (bool) SWIG_AsBool(obj1
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14681 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14683 Py_INCREF(Py_None
); resultobj
= Py_None
;
14690 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 result
= (bool) ((arg1
)->m_leftDown
);
14705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14713 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "m_middleDown", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 arg2
= (bool) SWIG_AsBool(obj1
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14728 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 result
= (bool) ((arg1
)->m_middleDown
);
14752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14760 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "m_rightDown", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 arg2
= (bool) SWIG_AsBool(obj1
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14775 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 result
= (bool) ((arg1
)->m_rightDown
);
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "m_controlDown", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (bool) SWIG_AsBool(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14822 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14824 Py_INCREF(Py_None
); resultobj
= Py_None
;
14831 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 result
= (bool) ((arg1
)->m_controlDown
);
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "m_shiftDown", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= (bool) SWIG_AsBool(obj1
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14869 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14890 result
= (bool) ((arg1
)->m_shiftDown
);
14893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14901 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "m_altDown", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 arg2
= (bool) SWIG_AsBool(obj1
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14916 if (arg1
) (arg1
)->m_altDown
= arg2
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 result
= (bool) ((arg1
)->m_altDown
);
14940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14948 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "m_metaDown", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 arg2
= (bool) SWIG_AsBool(obj1
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14963 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14965 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 result
= (bool) ((arg1
)->m_metaDown
);
14987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14995 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "m_wheelRotation", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 arg2
= (int) SWIG_AsInt(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15010 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15012 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 result
= (int) ((arg1
)->m_wheelRotation
);
15033 resultobj
= SWIG_FromInt((int)result
);
15040 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self",(char *) "m_wheelDelta", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 arg2
= (int) SWIG_AsInt(obj1
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15055 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15057 Py_INCREF(Py_None
); resultobj
= Py_None
;
15064 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 result
= (int) ((arg1
)->m_wheelDelta
);
15078 resultobj
= SWIG_FromInt((int)result
);
15085 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "m_linesPerAction", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 arg2
= (int) SWIG_AsInt(obj1
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15100 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15121 result
= (int) ((arg1
)->m_linesPerAction
);
15123 resultobj
= SWIG_FromInt((int)result
);
15130 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15133 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15135 return Py_BuildValue((char *)"");
15137 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 int arg1
= (int) 0 ;
15140 int arg2
= (int) 0 ;
15141 wxSetCursorEvent
*result
;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "x",(char *) "y", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15150 arg1
= (int) SWIG_AsInt(obj0
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 arg2
= (int) SWIG_AsInt(obj1
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15171 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_FromInt((int)result
);
15197 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_FromInt((int)result
);
15223 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15226 wxCursor
*arg2
= 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "cursor", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15239 if (arg2
== NULL
) {
15240 PyErr_SetString(PyExc_TypeError
,"null reference");
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15273 result
= (wxCursor
*) &_result_ref
;
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15280 wxCursor
* resultptr
= new wxCursor(*result
);
15281 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15289 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15317 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15320 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15322 return Py_BuildValue((char *)"");
15324 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15327 wxKeyEvent
*result
;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "keyType", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15335 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15352 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15408 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15436 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15492 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_FromInt((int)result
);
15518 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_FromInt((int)result
);
15544 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 unsigned int result
;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15570 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15573 unsigned int result
;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15596 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (arg1
)->GetPosition();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 wxPoint
* resultptr
;
15617 resultptr
= new wxPoint((wxPoint
&) result
);
15618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15626 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15629 long *arg2
= (long *) 0 ;
15630 long *arg3
= (long *) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->GetPosition(arg2
,arg3
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15653 resultobj
= t_output_helper(resultobj
,o
);
15656 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15657 resultobj
= t_output_helper(resultobj
,o
);
15665 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= SWIG_FromInt((int)result
);
15691 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_FromInt((int)result
);
15717 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "m_x", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 arg2
= (int) SWIG_AsInt(obj1
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15732 if (arg1
) (arg1
)->m_x
= arg2
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15753 result
= (int) ((arg1
)->m_x
);
15755 resultobj
= SWIG_FromInt((int)result
);
15762 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self",(char *) "m_y", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 arg2
= (int) SWIG_AsInt(obj1
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15777 if (arg1
) (arg1
)->m_y
= arg2
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15786 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 result
= (int) ((arg1
)->m_y
);
15800 resultobj
= SWIG_FromInt((int)result
);
15807 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self",(char *) "m_keyCode", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 arg2
= (long) SWIG_AsLong(obj1
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15822 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15824 Py_INCREF(Py_None
); resultobj
= Py_None
;
15831 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15843 result
= (long) ((arg1
)->m_keyCode
);
15845 resultobj
= SWIG_FromLong((long)result
);
15852 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self",(char *) "m_controlDown", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 arg2
= (bool) SWIG_AsBool(obj1
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15867 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15869 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 result
= (bool) ((arg1
)->m_controlDown
);
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "m_shiftDown", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 arg2
= (bool) SWIG_AsBool(obj1
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15914 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15916 Py_INCREF(Py_None
); resultobj
= Py_None
;
15923 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 result
= (bool) ((arg1
)->m_shiftDown
);
15938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15946 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "m_altDown", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 arg2
= (bool) SWIG_AsBool(obj1
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15961 if (arg1
) (arg1
)->m_altDown
= arg2
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15982 result
= (bool) ((arg1
)->m_altDown
);
15985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15993 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "m_metaDown", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 arg2
= (bool) SWIG_AsBool(obj1
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16008 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 result
= (bool) ((arg1
)->m_metaDown
);
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "m_scanCode", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 arg2
= (bool) SWIG_AsBool(obj1
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16055 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16064 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 result
= (bool) ((arg1
)->m_scanCode
);
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16090 unsigned int arg2
;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self",(char *) "m_rawCode", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16102 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16104 Py_INCREF(Py_None
); resultobj
= Py_None
;
16111 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16114 unsigned int result
;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 result
= (unsigned int) ((arg1
)->m_rawCode
);
16125 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16132 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16135 unsigned int arg2
;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "m_rawFlags", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16145 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16147 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16149 Py_INCREF(Py_None
); resultobj
= Py_None
;
16156 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16159 unsigned int result
;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16170 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16177 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16180 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16182 return Py_BuildValue((char *)"");
16184 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16187 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16188 int arg2
= (int) 0 ;
16189 wxSizeEvent
*result
;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "sz",(char *) "winid", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16205 arg2
= (int) SWIG_AsInt(obj1
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16222 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16242 wxSize
* resultptr
;
16243 resultptr
= new wxSize((wxSize
&) result
);
16244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16252 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 wxRect
* resultptr
;
16273 resultptr
= new wxRect((wxRect
&) result
);
16274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16282 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self",(char *) "rect", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16297 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->SetRect(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "size", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16328 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 wxSizeEvent_SetSize(arg1
,arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16347 wxSize
*arg2
= (wxSize
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "m_size", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 if (arg1
) (arg1
)->m_size
= *arg2
;
16361 Py_INCREF(Py_None
); resultobj
= Py_None
;
16368 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 result
= (wxSize
*)& ((arg1
)->m_size
);
16382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16389 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16392 wxRect
*arg2
= (wxRect
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self",(char *) "m_rect", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 if (arg1
) (arg1
)->m_rect
= *arg2
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 result
= (wxRect
*)& ((arg1
)->m_rect
);
16427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16434 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16437 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16439 return Py_BuildValue((char *)"");
16441 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16444 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16445 int arg2
= (int) 0 ;
16446 wxMoveEvent
*result
;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "pos",(char *) "winid", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16462 arg2
= (int) SWIG_AsInt(obj1
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16479 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 wxPoint
* resultptr
;
16500 resultptr
= new wxPoint((wxPoint
&) result
);
16501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16509 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16529 wxRect
* resultptr
;
16530 resultptr
= new wxRect((wxRect
&) result
);
16531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16539 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "rect", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16553 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16554 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 (arg1
)->SetRect(arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16570 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "pos", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16584 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16585 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 wxMoveEvent_SetPosition(arg1
,arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16604 wxPoint
*arg2
= (wxPoint
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "m_pos", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 if (arg1
) (arg1
)->m_pos
= *arg2
;
16618 Py_INCREF(Py_None
); resultobj
= Py_None
;
16625 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16646 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16649 wxRect
*arg2
= (wxRect
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "m_rect", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 if (arg1
) (arg1
)->m_rect
= *arg2
;
16663 Py_INCREF(Py_None
); resultobj
= Py_None
;
16670 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16682 result
= (wxRect
*)& ((arg1
)->m_rect
);
16684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16691 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16694 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16696 return Py_BuildValue((char *)"");
16698 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 int arg1
= (int) 0 ;
16701 wxPaintEvent
*result
;
16702 PyObject
* obj0
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "Id", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16709 arg1
= (int) SWIG_AsInt(obj0
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16726 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16731 return Py_BuildValue((char *)"");
16733 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 int arg1
= (int) 0 ;
16736 wxNcPaintEvent
*result
;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "winid", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16744 arg1
= (int) SWIG_AsInt(obj0
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16761 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16764 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16766 return Py_BuildValue((char *)"");
16768 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 int arg1
= (int) 0 ;
16771 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16772 wxEraseEvent
*result
;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "Id",(char *) "dc", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16781 arg1
= (int) SWIG_AsInt(obj0
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16802 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= wxPyMake_wxObject(result
);
16830 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16833 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16835 return Py_BuildValue((char *)"");
16837 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16840 int arg2
= (int) 0 ;
16841 wxFocusEvent
*result
;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "type",(char *) "winid", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 arg2
= (int) SWIG_AsInt(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16871 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= wxPyMake_wxObject(result
);
16899 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16902 wxWindow
*arg2
= (wxWindow
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self",(char *) "win", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 (arg1
)->SetWindow(arg2
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 Py_INCREF(Py_None
); resultobj
= Py_None
;
16928 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16931 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16933 return Py_BuildValue((char *)"");
16935 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxWindow
*arg1
= (wxWindow
*) NULL
;
16938 wxChildFocusEvent
*result
;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "win", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16963 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= wxPyMake_wxObject(result
);
16991 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16994 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16996 return Py_BuildValue((char *)"");
16998 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17001 bool arg2
= (bool) True
;
17002 int arg3
= (int) 0 ;
17003 wxActivateEvent
*result
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 PyObject
* obj2
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "type",(char *) "active",(char *) "Id", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17013 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 arg2
= (bool) SWIG_AsBool(obj1
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 arg3
= (int) SWIG_AsInt(obj2
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17038 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17066 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17069 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17071 return Py_BuildValue((char *)"");
17073 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 int arg1
= (int) 0 ;
17076 wxInitDialogEvent
*result
;
17077 PyObject
* obj0
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "Id", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17084 arg1
= (int) SWIG_AsInt(obj0
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17101 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17104 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17106 return Py_BuildValue((char *)"");
17108 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17111 int arg2
= (int) 0 ;
17112 wxMenu
*arg3
= (wxMenu
*) NULL
;
17113 wxMenuEvent
*result
;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 PyObject
* obj2
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "type",(char *) "winid",(char *) "menu", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17123 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 arg2
= (int) SWIG_AsInt(obj1
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17148 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_FromInt((int)result
);
17174 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17202 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= wxPyMake_wxObject(result
);
17230 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17233 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17235 return Py_BuildValue((char *)"");
17237 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17240 int arg2
= (int) 0 ;
17241 wxCloseEvent
*result
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "type",(char *) "winid", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17250 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 arg2
= (int) SWIG_AsInt(obj1
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17271 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "logOff", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 arg2
= (bool) SWIG_AsBool(obj1
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 (arg1
)->SetLoggingOff(arg2
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 Py_INCREF(Py_None
); resultobj
= Py_None
;
17300 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "self", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17328 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17331 bool arg2
= (bool) True
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "veto", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 arg2
= (bool) SWIG_AsBool(obj1
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->Veto(arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self",(char *) "canVeto", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 arg2
= (bool) SWIG_AsBool(obj1
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetCanVeto(arg2
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17416 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17444 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17447 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17449 return Py_BuildValue((char *)"");
17451 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 int arg1
= (int) 0 ;
17454 bool arg2
= (bool) False
;
17455 wxShowEvent
*result
;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "winid",(char *) "show", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17464 arg1
= (int) SWIG_AsInt(obj0
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 arg2
= (bool) SWIG_AsBool(obj1
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17485 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "show", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 arg2
= (bool) SWIG_AsBool(obj1
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 (arg1
)->SetShow(arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 Py_INCREF(Py_None
); resultobj
= Py_None
;
17514 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17542 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17545 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17547 return Py_BuildValue((char *)"");
17549 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 int arg1
= (int) 0 ;
17552 bool arg2
= (bool) True
;
17553 wxIconizeEvent
*result
;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "id",(char *) "iconized", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17562 arg1
= (int) SWIG_AsInt(obj0
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 arg2
= (bool) SWIG_AsBool(obj1
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17583 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (bool)(arg1
)->Iconized();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17611 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17616 return Py_BuildValue((char *)"");
17618 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 int arg1
= (int) 0 ;
17621 wxMaximizeEvent
*result
;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "id", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17629 arg1
= (int) SWIG_AsInt(obj0
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17646 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17649 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17651 return Py_BuildValue((char *)"");
17653 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= (arg1
)->GetPosition();
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 wxPoint
* resultptr
;
17674 resultptr
= new wxPoint((wxPoint
&) result
);
17675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17683 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17687 PyObject
* obj0
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (int)(arg1
)->GetNumberOfFiles();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_FromInt((int)result
);
17709 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= result
;
17735 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17738 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17740 return Py_BuildValue((char *)"");
17742 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 int arg1
= (int) 0 ;
17745 wxUpdateUIEvent
*result
;
17746 PyObject
* obj0
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "commandId", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17753 arg1
= (int) SWIG_AsInt(obj0
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17770 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17798 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17826 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17858 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17914 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17942 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self",(char *) "check", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 arg2
= (bool) SWIG_AsBool(obj1
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->Check(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17971 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "enable", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 arg2
= (bool) SWIG_AsBool(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->Enable(arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 Py_INCREF(Py_None
); resultobj
= Py_None
;
18000 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18003 wxString
*arg2
= 0 ;
18004 bool temp2
= False
;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "text", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 arg2
= wxString_in_helper(obj1
);
18016 if (arg2
== NULL
) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetText((wxString
const &)*arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "updateInterval", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18050 arg1
= (long) SWIG_AsLong(obj0
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18066 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18069 char *kwnames
[] = {
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_FromLong((long)result
);
18088 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxWindow
*arg1
= (wxWindow
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "win", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18116 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 char *kwnames
[] = {
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 wxUpdateUIEvent::ResetUpdateTime();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "mode", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18146 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 Py_INCREF(Py_None
); resultobj
= Py_None
;
18162 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18165 char *kwnames
[] = {
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (int)wxUpdateUIEvent::GetMode();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_FromInt((int)result
);
18184 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18187 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18189 return Py_BuildValue((char *)"");
18191 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxSysColourChangedEvent
*result
;
18194 char *kwnames
[] = {
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18213 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18218 return Py_BuildValue((char *)"");
18220 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 int arg1
= (int) 0 ;
18223 wxWindow
*arg2
= (wxWindow
*) NULL
;
18224 wxMouseCaptureChangedEvent
*result
;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "winid",(char *) "gainedCapture", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 arg1
= (int) SWIG_AsInt(obj0
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18254 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= wxPyMake_wxObject(result
);
18282 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18285 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18287 return Py_BuildValue((char *)"");
18289 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxDisplayChangedEvent
*result
;
18292 char *kwnames
[] = {
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18311 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18314 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18316 return Py_BuildValue((char *)"");
18318 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 int arg1
= (int) 0 ;
18321 wxPaletteChangedEvent
*result
;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "id", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18329 arg1
= (int) SWIG_AsInt(obj0
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18346 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18349 wxWindow
*arg2
= (wxWindow
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self",(char *) "win", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->SetChangedWindow(arg2
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= wxPyMake_wxObject(result
);
18403 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18406 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18408 return Py_BuildValue((char *)"");
18410 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 int arg1
= (int) 0 ;
18413 wxQueryNewPaletteEvent
*result
;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "winid", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18421 arg1
= (int) SWIG_AsInt(obj0
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18438 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "realized", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= (bool) SWIG_AsBool(obj1
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetPaletteRealized(arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18495 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18498 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18500 return Py_BuildValue((char *)"");
18502 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxNavigationKeyEvent
*result
;
18505 char *kwnames
[] = {
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18524 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18552 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "bForward", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18565 arg2
= (bool) SWIG_AsBool(obj1
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->SetDirection(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18581 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18609 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "bIs", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 arg2
= (bool) SWIG_AsBool(obj1
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->SetWindowChange(arg2
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 Py_INCREF(Py_None
); resultobj
= Py_None
;
18638 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= wxPyMake_wxObject(result
);
18666 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18669 wxWindow
*arg2
= (wxWindow
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self",(char *) "win", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->SetCurrentFocus(arg2
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 Py_INCREF(Py_None
); resultobj
= Py_None
;
18695 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18698 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18700 return Py_BuildValue((char *)"");
18702 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxWindow
*arg1
= (wxWindow
*) NULL
;
18705 wxWindowCreateEvent
*result
;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "win", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18730 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= wxPyMake_wxObject(result
);
18758 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18761 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18763 return Py_BuildValue((char *)"");
18765 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxWindow
*arg1
= (wxWindow
*) NULL
;
18768 wxWindowDestroyEvent
*result
;
18769 PyObject
* obj0
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "win", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18793 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= wxPyMake_wxObject(result
);
18821 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18824 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18826 return Py_BuildValue((char *)"");
18828 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18831 int arg2
= (int) 0 ;
18832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18834 wxContextMenuEvent
*result
;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 PyObject
* obj2
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "type",(char *) "winid",(char *) "pt", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18845 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18849 arg2
= (int) SWIG_AsInt(obj1
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18872 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18888 result
= (wxPoint
*) &_result_ref
;
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18901 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18904 wxPoint
*arg2
= 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "pos", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18936 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18938 return Py_BuildValue((char *)"");
18940 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxIdleEvent
*result
;
18943 char *kwnames
[] = {
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (wxIdleEvent
*)new wxIdleEvent();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18962 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18965 bool arg2
= (bool) True
;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self",(char *) "needMore", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 arg2
= (bool) SWIG_AsBool(obj1
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->RequestMore(arg2
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19021 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19024 PyObject
* obj0
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "mode", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19030 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19049 char *kwnames
[] = {
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (int)wxIdleEvent::GetMode();
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_FromInt((int)result
);
19068 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxWindow
*arg1
= (wxWindow
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "win", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (bool)wxIdleEvent::CanSend(arg1
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19099 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19101 return Py_BuildValue((char *)"");
19103 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 int arg1
= (int) 0 ;
19106 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "winid",(char *) "commandType", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 arg1
= (int) SWIG_AsInt(obj0
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19137 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19165 PyObject
*arg2
= (PyObject
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self",(char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->SetSelf(arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (PyObject
*)(arg1
)->GetSelf();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= result
;
19216 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19219 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19221 return Py_BuildValue((char *)"");
19223 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19226 int arg2
= (int) 0 ;
19227 wxPyCommandEvent
*result
;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "commandType",(char *) "id", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19240 arg2
= (int) SWIG_AsInt(obj1
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19257 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19285 PyObject
*arg2
= (PyObject
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "self", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->SetSelf(arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 Py_INCREF(Py_None
); resultobj
= Py_None
;
19310 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (PyObject
*)(arg1
)->GetSelf();
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= result
;
19336 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19339 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19341 return Py_BuildValue((char *)"");
19343 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19346 char *kwnames
[] = {
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 result
= (wxPyApp
*)new_wxPyApp();
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= wxPyMake_wxObject(result
);
19367 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19369 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19395 PyObject
*arg2
= (PyObject
*) 0 ;
19396 PyObject
*arg3
= (PyObject
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "self",(char *) "_class", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19455 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19458 wxString
*arg2
= 0 ;
19459 bool temp2
= False
;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "name", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 arg2
= wxString_in_helper(obj1
);
19471 if (arg2
== NULL
) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->SetAppName((wxString
const &)*arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19496 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19528 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19531 wxString
*arg2
= 0 ;
19532 bool temp2
= False
;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self",(char *) "name", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 arg2
= wxString_in_helper(obj1
);
19544 if (arg2
== NULL
) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->SetClassName((wxString
const &)*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19585 result
= (wxString
*) &_result_ref
;
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19604 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19607 wxString
*arg2
= 0 ;
19608 bool temp2
= False
;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "name", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 arg2
= wxString_in_helper(obj1
);
19620 if (arg2
== NULL
) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 Py_INCREF(Py_None
); resultobj
= Py_None
;
19645 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19648 wxAppTraits
*result
;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19671 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->ProcessPendingEvents();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19696 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19699 bool arg2
= (bool) False
;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "onlyIfNeeded", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19711 arg2
= (bool) SWIG_AsBool(obj1
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (bool)(arg1
)->Yield(arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19730 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 (arg1
)->WakeUpIdle();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 Py_INCREF(Py_None
); resultobj
= Py_None
;
19755 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (int)(arg1
)->MainLoop();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_FromInt((int)result
);
19781 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 Py_INCREF(Py_None
); resultobj
= Py_None
;
19806 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->ExitMainLoop();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 result
= (bool)(arg1
)->Pending();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19859 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (bool)(arg1
)->Dispatch();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)(arg1
)->ProcessIdle();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19918 wxWindow
*arg2
= (wxWindow
*) 0 ;
19919 wxIdleEvent
*arg3
= 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 PyObject
* obj2
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "win",(char *) "event", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19936 if (arg3
== NULL
) {
19937 PyErr_SetString(PyExc_TypeError
,"null reference");
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19956 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19984 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19987 wxWindow
*arg2
= (wxWindow
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "win", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 (arg1
)->SetTopWindow(arg2
);
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 Py_INCREF(Py_None
); resultobj
= Py_None
;
20013 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= wxPyMake_wxObject(result
);
20041 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self",(char *) "flag", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20054 arg2
= (bool) SWIG_AsBool(obj1
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 (arg1
)->SetExitOnFrameDelete(arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 Py_INCREF(Py_None
); resultobj
= Py_None
;
20070 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20098 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self",(char *) "flag", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 arg2
= (bool) SWIG_AsBool(obj1
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 (arg1
)->SetUseBestVisual(arg2
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20155 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self",(char *) "mode", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 arg2
= (int) SWIG_AsInt(obj1
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 (arg1
)->SetPrintMode(arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 Py_INCREF(Py_None
); resultobj
= Py_None
;
20184 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_FromInt((int)result
);
20210 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self",(char *) "mode", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20223 arg2
= (int) SWIG_AsInt(obj1
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->SetAssertMode(arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (int)(arg1
)->GetAssertMode();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_FromInt((int)result
);
20265 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20268 char *kwnames
[] = {
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20292 char *kwnames
[] = {
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_FromLong((long)result
);
20311 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20314 char *kwnames
[] = {
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= SWIG_FromLong((long)result
);
20333 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20336 char *kwnames
[] = {
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (long)wxPyApp::GetMacExitMenuItemId();
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_FromLong((long)result
);
20355 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20358 char *kwnames
[] = {
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= wxPyApp::GetMacHelpMenuTitleName();
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20383 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "val", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20392 arg1
= (bool) SWIG_AsBool(obj0
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 Py_INCREF(Py_None
); resultobj
= Py_None
;
20408 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20411 PyObject
* obj0
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "val", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20417 arg1
= (long) SWIG_AsLong(obj0
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 wxPyApp::SetMacAboutMenuItemId(arg1
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "val", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20442 arg1
= (long) SWIG_AsLong(obj0
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20461 PyObject
* obj0
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "val", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20467 arg1
= (long) SWIG_AsLong(obj0
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 wxPyApp::SetMacExitMenuItemId(arg1
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 Py_INCREF(Py_None
); resultobj
= Py_None
;
20483 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxString
*arg1
= 0 ;
20486 bool temp1
= False
;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "val", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20494 arg1
= wxString_in_helper(obj0
);
20495 if (arg1
== NULL
) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->_BootstrapApp();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20548 char *kwnames
[] = {
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (int)wxPyApp::GetComCtl32Version();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_FromInt((int)result
);
20567 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20570 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20572 return Py_BuildValue((char *)"");
20574 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 char *kwnames
[] = {
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 Py_INCREF(Py_None
); resultobj
= Py_None
;
20595 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20598 char *kwnames
[] = {
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (bool)wxYield();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20622 char *kwnames
[] = {
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (bool)wxYieldIfNeeded();
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20643 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxWindow
*arg1
= (wxWindow
*) NULL
;
20646 bool arg2
= (bool) False
;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char *kwnames
[] = {
20651 (char *) "win",(char *) "onlyIfNeeded", NULL
20654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 arg2
= (bool) SWIG_AsBool(obj1
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (bool)wxSafeYield(arg1
,arg2
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20679 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20681 char *kwnames
[] = {
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 Py_INCREF(Py_None
); resultobj
= Py_None
;
20700 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20703 wxEvent
*arg2
= 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "dest",(char *) "event", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20716 if (arg2
== NULL
) {
20717 PyErr_SetString(PyExc_TypeError
,"null reference");
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxPostEvent(arg1
,*arg2
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 char *kwnames
[] = {
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20758 char *kwnames
[] = {
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (wxPyApp
*)wxGetApp();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= wxPyMake_wxObject(result
);
20779 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 int arg1
= (int) 0 ;
20782 int arg2
= (int) 0 ;
20783 int arg3
= (int) 0 ;
20784 wxAcceleratorEntry
*result
;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 PyObject
* obj2
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20794 arg1
= (int) SWIG_AsInt(obj0
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 arg2
= (int) SWIG_AsInt(obj1
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 arg3
= (int) SWIG_AsInt(obj2
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20819 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 PyObject
* obj2
= 0 ;
20853 PyObject
* obj3
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 arg2
= (int) SWIG_AsInt(obj1
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20863 arg3
= (int) SWIG_AsInt(obj2
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20865 arg4
= (int) SWIG_AsInt(obj3
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 (arg1
)->Set(arg2
,arg3
,arg4
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (int)(arg1
)->GetFlags();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_FromInt((int)result
);
20907 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (int)(arg1
)->GetKeyCode();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_FromInt((int)result
);
20933 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (int)(arg1
)->GetCommand();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_FromInt((int)result
);
20959 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20962 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20964 return Py_BuildValue((char *)"");
20966 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20969 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20970 wxAcceleratorTable
*result
;
20971 PyObject
* obj0
= 0 ;
20972 char *kwnames
[] = {
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20978 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20979 if (arg2
) arg1
= PyList_Size(obj0
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21002 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 Py_INCREF(Py_None
); resultobj
= Py_None
;
21027 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21055 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21058 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21060 return Py_BuildValue((char *)"");
21062 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21063 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21068 static PyObject
*_wrap_NullAcceleratorTable_get() {
21071 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21076 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxString
*arg1
= 0 ;
21079 wxAcceleratorEntry
*result
;
21080 bool temp1
= False
;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "label", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21088 arg1
= wxString_in_helper(obj0
);
21089 if (arg1
== NULL
) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21114 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21115 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21120 static PyObject
*_wrap_PanelNameStr_get() {
21125 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21127 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21134 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxVisualAttributes
*result
;
21137 char *kwnames
[] = {
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21156 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "self", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 delete_wxVisualAttributes(arg1
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 Py_INCREF(Py_None
); resultobj
= Py_None
;
21181 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21184 wxFont
*arg2
= (wxFont
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "font", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 if (arg1
) (arg1
)->font
= *arg2
;
21198 Py_INCREF(Py_None
); resultobj
= Py_None
;
21205 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21209 PyObject
* obj0
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 result
= (wxFont
*)& ((arg1
)->font
);
21219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21226 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21229 wxColour
*arg2
= (wxColour
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 PyObject
* obj1
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self",(char *) "colFg", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21241 if (arg1
) (arg1
)->colFg
= *arg2
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 result
= (wxColour
*)& ((arg1
)->colFg
);
21264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21271 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21274 wxColour
*arg2
= (wxColour
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "colBg", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 if (arg1
) (arg1
)->colBg
= *arg2
;
21288 Py_INCREF(Py_None
); resultobj
= Py_None
;
21295 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 result
= (wxColour
*)& ((arg1
)->colBg
);
21309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21316 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21319 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21321 return Py_BuildValue((char *)"");
21323 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxWindow
*arg1
= (wxWindow
*) 0 ;
21326 int arg2
= (int) (int)-1 ;
21327 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21328 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21329 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21330 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21331 long arg5
= (long) 0 ;
21332 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21333 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21337 bool temp6
= False
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 PyObject
* obj3
= 0 ;
21342 PyObject
* obj4
= 0 ;
21343 PyObject
* obj5
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 arg2
= (int const) SWIG_AsInt(obj1
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21368 arg5
= (long) SWIG_AsLong(obj4
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21373 arg6
= wxString_in_helper(obj5
);
21374 if (arg6
== NULL
) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= wxPyMake_wxObject(result
);
21402 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21405 char *kwnames
[] = {
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (wxWindow
*)new wxWindow();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= wxPyMake_wxObject(result
);
21426 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxWindow
*arg1
= (wxWindow
*) 0 ;
21429 wxWindow
*arg2
= (wxWindow
*) 0 ;
21430 int arg3
= (int) (int)-1 ;
21431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21435 long arg6
= (long) 0 ;
21436 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21441 bool temp7
= False
;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 PyObject
* obj2
= 0 ;
21445 PyObject
* obj3
= 0 ;
21446 PyObject
* obj4
= 0 ;
21447 PyObject
* obj5
= 0 ;
21448 PyObject
* obj6
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 arg3
= (int const) SWIG_AsInt(obj2
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21475 arg6
= (long) SWIG_AsLong(obj5
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21480 arg7
= wxString_in_helper(obj6
);
21481 if (arg7
== NULL
) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxWindow
*arg1
= (wxWindow
*) 0 ;
21512 bool arg2
= (bool) False
;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "force", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 arg2
= (bool) SWIG_AsBool(obj1
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->Close(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21543 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxWindow
*arg1
= (wxWindow
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->Destroy();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (bool)(arg1
)->DestroyChildren();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21599 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxWindow
*arg1
= (wxWindow
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxWindow
*arg1
= (wxWindow
*) 0 ;
21630 wxString
*arg2
= 0 ;
21631 bool temp2
= False
;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "title", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 arg2
= wxString_in_helper(obj1
);
21643 if (arg2
== NULL
) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 (arg1
)->SetTitle((wxString
const &)*arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 Py_INCREF(Py_None
); resultobj
= Py_None
;
21668 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxWindow
*arg1
= (wxWindow
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= ((wxWindow
const *)arg1
)->GetTitle();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21700 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxWindow
*arg1
= (wxWindow
*) 0 ;
21703 wxString
*arg2
= 0 ;
21704 bool temp2
= False
;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "label", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 arg2
= wxString_in_helper(obj1
);
21716 if (arg2
== NULL
) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetLabel((wxString
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxWindow
*arg1
= (wxWindow
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= ((wxWindow
const *)arg1
)->GetLabel();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21773 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxWindow
*arg1
= (wxWindow
*) 0 ;
21776 wxString
*arg2
= 0 ;
21777 bool temp2
= False
;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "name", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 arg2
= wxString_in_helper(obj1
);
21789 if (arg2
== NULL
) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetName((wxString
const &)*arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxWindow
*arg1
= (wxWindow
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= ((wxWindow
const *)arg1
)->GetName();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21846 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxWindow
*arg1
= (wxWindow
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "variant", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxWindow
*arg1
= (wxWindow
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_FromInt((int)result
);
21901 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxWindow
*arg1
= (wxWindow
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "winid", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 arg2
= (int) SWIG_AsInt(obj1
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetId(arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxWindow
*arg1
= (wxWindow
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (int)((wxWindow
const *)arg1
)->GetId();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_FromInt((int)result
);
21956 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21959 char *kwnames
[] = {
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (int)wxWindow::NewControlId();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_FromInt((int)result
);
21978 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "winid", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21988 arg1
= (int) SWIG_AsInt(obj0
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (int)wxWindow::NextControlId(arg1
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_FromInt((int)result
);
22004 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22008 PyObject
* obj0
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "winid", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22014 arg1
= (int) SWIG_AsInt(obj0
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (int)wxWindow::PrevControlId(arg1
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_FromInt((int)result
);
22030 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxWindow
*arg1
= (wxWindow
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "size", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetSize((wxSize
const &)*arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22062 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxWindow
*arg1
= (wxWindow
*) 0 ;
22069 int arg6
= (int) wxSIZE_AUTO
;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 PyObject
* obj2
= 0 ;
22073 PyObject
* obj3
= 0 ;
22074 PyObject
* obj4
= 0 ;
22075 PyObject
* obj5
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 arg2
= (int) SWIG_AsInt(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22085 arg3
= (int) SWIG_AsInt(obj2
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22087 arg4
= (int) SWIG_AsInt(obj3
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22089 arg5
= (int) SWIG_AsInt(obj4
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 arg6
= (int) SWIG_AsInt(obj5
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxWindow
*arg1
= (wxWindow
*) 0 ;
22113 int arg3
= (int) wxSIZE_AUTO
;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 PyObject
* obj2
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22130 arg3
= (int) SWIG_AsInt(obj2
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxWindow
*arg1
= (wxWindow
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self",(char *) "width",(char *) "height", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 arg2
= (int) SWIG_AsInt(obj1
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22164 arg3
= (int) SWIG_AsInt(obj2
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->SetSize(arg2
,arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 Py_INCREF(Py_None
); resultobj
= Py_None
;
22180 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxWindow
*arg1
= (wxWindow
*) 0 ;
22183 wxPoint
*arg2
= 0 ;
22184 int arg3
= (int) wxSIZE_USE_EXISTING
;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 PyObject
* obj2
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "pt",(char *) "flags", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22201 arg3
= (int) SWIG_AsInt(obj2
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22218 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 int arg4
= (int) wxSIZE_USE_EXISTING
;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 PyObject
* obj2
= 0 ;
22227 PyObject
* obj3
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 arg2
= (int) SWIG_AsInt(obj1
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22237 arg3
= (int) SWIG_AsInt(obj2
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 arg4
= (int) SWIG_AsInt(obj3
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->Move(arg2
,arg3
,arg4
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 Py_INCREF(Py_None
); resultobj
= Py_None
;
22282 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxWindow
*arg1
= (wxWindow
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 Py_INCREF(Py_None
); resultobj
= Py_None
;
22307 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxWindow
*arg1
= (wxWindow
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "size", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 Py_INCREF(Py_None
); resultobj
= Py_None
;
22339 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxWindow
*arg1
= (wxWindow
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self",(char *) "width",(char *) "height", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 arg2
= (int) SWIG_AsInt(obj1
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22356 arg3
= (int) SWIG_AsInt(obj2
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->SetClientSize(arg2
,arg3
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 Py_INCREF(Py_None
); resultobj
= Py_None
;
22372 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxWindow
*arg1
= (wxWindow
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "rect", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxWindow
*arg1
= (wxWindow
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (arg1
)->GetPosition();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 wxPoint
* resultptr
;
22425 resultptr
= new wxPoint((wxPoint
&) result
);
22426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22434 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxWindow
*arg1
= (wxWindow
*) 0 ;
22437 int *arg2
= (int *) 0 ;
22438 int *arg3
= (int *) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->GetPosition(arg2
,arg3
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22461 resultobj
= t_output_helper(resultobj
,o
);
22464 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22465 resultobj
= t_output_helper(resultobj
,o
);
22473 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= ((wxWindow
const *)arg1
)->GetSize();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 wxSize
* resultptr
;
22494 resultptr
= new wxSize((wxSize
&) result
);
22495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22503 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxWindow
*arg1
= (wxWindow
*) 0 ;
22506 int *arg2
= (int *) 0 ;
22507 int *arg3
= (int *) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22530 resultobj
= t_output_helper(resultobj
,o
);
22533 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22534 resultobj
= t_output_helper(resultobj
,o
);
22542 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxWindow
*arg1
= (wxWindow
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= ((wxWindow
const *)arg1
)->GetRect();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 wxRect
* resultptr
;
22563 resultptr
= new wxRect((wxRect
&) result
);
22564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22572 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 wxSize
* resultptr
;
22593 resultptr
= new wxSize((wxSize
&) result
);
22594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22602 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22605 int *arg2
= (int *) 0 ;
22606 int *arg3
= (int *) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22628 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22629 resultobj
= t_output_helper(resultobj
,o
);
22632 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22633 resultobj
= t_output_helper(resultobj
,o
);
22641 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxWindow
*arg1
= (wxWindow
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 wxPoint
* resultptr
;
22662 resultptr
= new wxPoint((wxPoint
&) result
);
22663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22671 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxWindow
*arg1
= (wxWindow
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 wxRect
* resultptr
;
22692 resultptr
= new wxRect((wxRect
&) result
);
22693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22701 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxWindow
*arg1
= (wxWindow
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 wxSize
* resultptr
;
22722 resultptr
= new wxSize((wxSize
&) result
);
22723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22731 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxWindow
*arg1
= (wxWindow
*) 0 ;
22734 int *arg2
= (int *) 0 ;
22735 int *arg3
= (int *) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22758 resultobj
= t_output_helper(resultobj
,o
);
22761 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22762 resultobj
= t_output_helper(resultobj
,o
);
22770 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxWindow
*arg1
= (wxWindow
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 wxSize
* resultptr
;
22791 resultptr
= new wxSize((wxSize
&) result
);
22792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22800 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22803 int arg2
= (int) wxBOTH
;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "direction", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22814 arg2
= (int) SWIG_AsInt(obj1
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->Center(arg2
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxWindow
*arg1
= (wxWindow
*) 0 ;
22834 int arg2
= (int) wxBOTH
;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "dir", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 arg2
= (int) SWIG_AsInt(obj1
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->CenterOnScreen(arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxWindow
*arg1
= (wxWindow
*) 0 ;
22865 int arg2
= (int) wxBOTH
;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "dir", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 arg2
= (int) SWIG_AsInt(obj1
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->CenterOnParent(arg2
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxWindow
*arg1
= (wxWindow
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxWindow
*arg1
= (wxWindow
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->FitInside();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22944 PyObject
*resultobj
;
22945 wxWindow
*arg1
= (wxWindow
*) 0 ;
22948 int arg4
= (int) -1 ;
22949 int arg5
= (int) -1 ;
22950 int arg6
= (int) -1 ;
22951 int arg7
= (int) -1 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 PyObject
* obj2
= 0 ;
22955 PyObject
* obj3
= 0 ;
22956 PyObject
* obj4
= 0 ;
22957 PyObject
* obj5
= 0 ;
22958 PyObject
* obj6
= 0 ;
22960 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 arg2
= (int) SWIG_AsInt(obj1
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22965 arg3
= (int) SWIG_AsInt(obj2
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 arg4
= (int) SWIG_AsInt(obj3
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 arg5
= (int) SWIG_AsInt(obj4
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 arg6
= (int) SWIG_AsInt(obj5
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 arg7
= (int) SWIG_AsInt(obj6
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22998 PyObject
*resultobj
;
22999 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23002 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 PyObject
* obj3
= 0 ;
23013 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23051 argc
= PyObject_Length(args
);
23052 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23053 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23055 if ((argc
>= 2) && (argc
<= 4)) {
23059 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23068 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23072 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23075 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23079 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23082 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23085 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23091 if ((argc
>= 3) && (argc
<= 7)) {
23095 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23103 _v
= SWIG_CheckInt(argv
[1]);
23105 _v
= SWIG_CheckInt(argv
[2]);
23108 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23110 _v
= SWIG_CheckInt(argv
[3]);
23113 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23115 _v
= SWIG_CheckInt(argv
[4]);
23118 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23120 _v
= SWIG_CheckInt(argv
[5]);
23123 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23125 _v
= SWIG_CheckInt(argv
[6]);
23127 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23137 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23142 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23143 PyObject
*resultobj
;
23144 wxWindow
*arg1
= (wxWindow
*) 0 ;
23147 int arg4
= (int) -1 ;
23148 int arg5
= (int) -1 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 PyObject
* obj2
= 0 ;
23152 PyObject
* obj3
= 0 ;
23153 PyObject
* obj4
= 0 ;
23155 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 arg2
= (int) SWIG_AsInt(obj1
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23160 arg3
= (int) SWIG_AsInt(obj2
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 arg4
= (int) SWIG_AsInt(obj3
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 arg5
= (int) SWIG_AsInt(obj4
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23185 PyObject
*resultobj
;
23186 wxWindow
*arg1
= (wxWindow
*) 0 ;
23188 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23189 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23196 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23206 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23228 argc
= PyObject_Length(args
);
23229 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23230 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23232 if ((argc
>= 2) && (argc
<= 3)) {
23236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23245 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23249 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23252 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23255 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23260 if ((argc
>= 3) && (argc
<= 5)) {
23264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23272 _v
= SWIG_CheckInt(argv
[1]);
23274 _v
= SWIG_CheckInt(argv
[2]);
23277 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23279 _v
= SWIG_CheckInt(argv
[3]);
23282 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23284 _v
= SWIG_CheckInt(argv
[4]);
23286 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23299 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxWindow
*arg1
= (wxWindow
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_FromInt((int)result
);
23325 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxWindow
*arg1
= (wxWindow
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_FromInt((int)result
);
23351 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_FromInt((int)result
);
23377 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxWindow
*arg1
= (wxWindow
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_FromInt((int)result
);
23403 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 wxSize
* resultptr
;
23424 resultptr
= new wxSize((wxSize
&) result
);
23425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23433 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 wxSize
* resultptr
;
23454 resultptr
= new wxSize((wxSize
&) result
);
23455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23463 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxWindow
*arg1
= (wxWindow
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "size", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 Py_INCREF(Py_None
); resultobj
= Py_None
;
23495 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxWindow
*arg1
= (wxWindow
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 PyObject
* obj2
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "w",(char *) "h", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 arg2
= (int) SWIG_AsInt(obj1
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23512 arg3
= (int) SWIG_AsInt(obj2
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->SetVirtualSize(arg2
,arg3
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23528 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23548 wxSize
* resultptr
;
23549 resultptr
= new wxSize((wxSize
&) result
);
23550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23558 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxWindow
*arg1
= (wxWindow
*) 0 ;
23561 int *arg2
= (int *) 0 ;
23562 int *arg3
= (int *) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 Py_INCREF(Py_None
); resultobj
= Py_None
;
23584 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23585 resultobj
= t_output_helper(resultobj
,o
);
23588 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23589 resultobj
= t_output_helper(resultobj
,o
);
23597 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 wxSize
* resultptr
;
23618 resultptr
= new wxSize((wxSize
&) result
);
23619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23627 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxWindow
*arg1
= (wxWindow
*) 0 ;
23630 bool arg2
= (bool) True
;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "show", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 arg2
= (bool) SWIG_AsBool(obj1
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (bool)(arg1
)->Show(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23661 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxWindow
*arg1
= (wxWindow
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)(arg1
)->Hide();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23689 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxWindow
*arg1
= (wxWindow
*) 0 ;
23692 bool arg2
= (bool) True
;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "enable", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23704 arg2
= (bool) SWIG_AsBool(obj1
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (bool)(arg1
)->Enable(arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23723 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (bool)(arg1
)->Disable();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23751 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23779 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxWindow
*arg1
= (wxWindow
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "style", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 arg2
= (long) SWIG_AsLong(obj1
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 (arg1
)->SetWindowStyleFlag(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_FromLong((long)result
);
23862 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxWindow
*arg1
= (wxWindow
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self",(char *) "flag", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 arg2
= (int) SWIG_AsInt(obj1
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23894 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxWindow
*arg1
= (wxWindow
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "exStyle", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 arg2
= (long) SWIG_AsLong(obj1
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->SetExtraStyle(arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxWindow
*arg1
= (wxWindow
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= SWIG_FromLong((long)result
);
23977 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) 0 ;
23980 bool arg2
= (bool) True
;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "modal", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 arg2
= (bool) SWIG_AsBool(obj1
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 (arg1
)->MakeModal(arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 Py_INCREF(Py_None
); resultobj
= Py_None
;
24008 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxWindow
*arg1
= (wxWindow
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "enableTheme", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= (bool) SWIG_AsBool(obj1
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 (arg1
)->SetThemeEnabled(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 Py_INCREF(Py_None
); resultobj
= Py_None
;
24037 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24065 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 (arg1
)->SetFocus();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 Py_INCREF(Py_None
); resultobj
= Py_None
;
24090 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->SetFocusFromKbd();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 Py_INCREF(Py_None
); resultobj
= Py_None
;
24115 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24118 char *kwnames
[] = {
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxWindow
*)wxWindow::FindFocus();
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= wxPyMake_wxObject(result
);
24139 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24141 wxWindow
*arg1
= (wxWindow
*) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "self", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24167 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxWindow
*arg1
= (wxWindow
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxWindow
*arg1
= (wxWindow
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= wxPyMake_wxObject(result
);
24223 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxWindow
*arg1
= (wxWindow
*) 0 ;
24226 wxWindow
*arg2
= (wxWindow
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "child", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= wxPyMake_wxObject(result
);
24255 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxWindow
*arg1
= (wxWindow
*) 0 ;
24258 wxWindow
*arg2
= (wxWindow
*) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self",(char *) "win", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 (arg1
)->SetTmpDefaultItem(arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 Py_INCREF(Py_None
); resultobj
= Py_None
;
24284 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxWindow
*arg1
= (wxWindow
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= result
;
24310 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxWindow
*arg1
= (wxWindow
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= wxPyMake_wxObject(result
);
24338 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxWindow
*arg1
= (wxWindow
*) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= wxPyMake_wxObject(result
);
24366 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxWindow
*arg1
= (wxWindow
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24394 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxWindow
*arg1
= (wxWindow
*) 0 ;
24397 wxWindow
*arg2
= (wxWindow
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "newParent", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (bool)(arg1
)->Reparent(arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24426 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxWindow
*arg1
= (wxWindow
*) 0 ;
24429 wxWindow
*arg2
= (wxWindow
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "child", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 (arg1
)->AddChild(arg2
);
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24448 Py_INCREF(Py_None
); resultobj
= Py_None
;
24455 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxWindow
*arg1
= (wxWindow
*) 0 ;
24458 wxWindow
*arg2
= (wxWindow
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self",(char *) "child", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 (arg1
)->RemoveChild(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 Py_INCREF(Py_None
); resultobj
= Py_None
;
24484 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "winid", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 arg2
= (long) SWIG_AsLong(obj1
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= wxPyMake_wxObject(result
);
24516 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxWindow
*arg1
= (wxWindow
*) 0 ;
24519 wxString
*arg2
= 0 ;
24521 bool temp2
= False
;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "name", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 arg2
= wxString_in_helper(obj1
);
24533 if (arg2
== NULL
) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= wxPyMake_wxObject(result
);
24560 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxWindow
*arg1
= (wxWindow
*) 0 ;
24563 wxEvtHandler
*result
;
24564 PyObject
* obj0
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "self", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= wxPyMake_wxObject(result
);
24588 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxWindow
*arg1
= (wxWindow
*) 0 ;
24591 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "handler", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->SetEventHandler(arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 Py_INCREF(Py_None
); resultobj
= Py_None
;
24617 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxWindow
*arg1
= (wxWindow
*) 0 ;
24620 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "handler", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->PushEventHandler(arg2
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 Py_INCREF(Py_None
); resultobj
= Py_None
;
24646 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxWindow
*arg1
= (wxWindow
*) 0 ;
24649 bool arg2
= (bool) False
;
24650 wxEvtHandler
*result
;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "deleteHandler", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 arg2
= (bool) SWIG_AsBool(obj1
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= wxPyMake_wxObject(result
);
24680 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxWindow
*arg1
= (wxWindow
*) 0 ;
24683 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self",(char *) "handler", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24712 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxWindow
*arg1
= (wxWindow
*) 0 ;
24715 wxValidator
*arg2
= 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "validator", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24728 if (arg2
== NULL
) {
24729 PyErr_SetString(PyExc_TypeError
,"null reference");
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24749 wxValidator
*result
;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (wxValidator
*)(arg1
)->GetValidator();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= wxPyMake_wxObject(result
);
24774 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (bool)(arg1
)->Validate();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24802 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxWindow
*arg1
= (wxWindow
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->TransferDataToWindow();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24830 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->TransferDataFromWindow();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxWindow
*arg1
= (wxWindow
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->InitDialog();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxWindow
*arg1
= (wxWindow
*) 0 ;
24886 wxAcceleratorTable
*arg2
= 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "accel", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24899 if (arg2
== NULL
) {
24900 PyErr_SetString(PyExc_TypeError
,"null reference");
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 Py_INCREF(Py_None
); resultobj
= Py_None
;
24917 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxWindow
*arg1
= (wxWindow
*) 0 ;
24920 wxAcceleratorTable
*result
;
24921 PyObject
* obj0
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24943 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxWindow
*arg1
= (wxWindow
*) 0 ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 PyObject
* obj2
= 0 ;
24953 PyObject
* obj3
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 arg2
= (int) SWIG_AsInt(obj1
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24963 arg3
= (int) SWIG_AsInt(obj2
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24965 arg4
= (int) SWIG_AsInt(obj3
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24983 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxWindow
*arg1
= (wxWindow
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "hotkeyId", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 arg2
= (int) SWIG_AsInt(obj1
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25015 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 wxPoint
*arg2
= 0 ;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self",(char *) "pt", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 wxPoint
* resultptr
;
25043 resultptr
= new wxPoint((wxPoint
&) result
);
25044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25052 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxWindow
*arg1
= (wxWindow
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "sz", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 wxSize
* resultptr
;
25080 resultptr
= new wxSize((wxSize
&) result
);
25081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25089 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 wxPoint
*arg2
= 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self",(char *) "pt", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25116 wxPoint
* resultptr
;
25117 resultptr
= new wxPoint((wxPoint
&) result
);
25118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25126 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxWindow
*arg1
= (wxWindow
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "sz", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 wxSize
* resultptr
;
25154 resultptr
= new wxSize((wxSize
&) result
);
25155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25163 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxWindow
*arg1
= (wxWindow
*) 0 ;
25166 wxPoint
*arg2
= 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "pt", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 wxPoint
* resultptr
;
25191 resultptr
= new wxPoint((wxPoint
&) result
);
25192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25200 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "sz", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 wxSize
* resultptr
;
25228 resultptr
= new wxSize((wxSize
&) result
);
25229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25237 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "x",(char *) "y", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 arg2
= (int) SWIG_AsInt(obj1
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25254 arg3
= (int) SWIG_AsInt(obj2
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->WarpPointer(arg2
,arg3
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxWindow
*arg1
= (wxWindow
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 (arg1
)->CaptureMouse();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxWindow
*arg1
= (wxWindow
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 (arg1
)->ReleaseMouse();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 Py_INCREF(Py_None
); resultobj
= Py_None
;
25320 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25323 char *kwnames
[] = {
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (wxWindow
*)wxWindow::GetCapture();
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= wxPyMake_wxObject(result
);
25344 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxWindow
*arg1
= (wxWindow
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25372 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxWindow
*arg1
= (wxWindow
*) 0 ;
25375 bool arg2
= (bool) True
;
25376 wxRect
*arg3
= (wxRect
*) NULL
;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 PyObject
* obj2
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 arg2
= (bool) SWIG_AsBool(obj1
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxWindow
*arg1
= (wxWindow
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "rect", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxWindow
*arg1
= (wxWindow
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 (arg1
)->ClearBackground();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 Py_INCREF(Py_None
); resultobj
= Py_None
;
25491 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 Py_INCREF(Py_None
); resultobj
= Py_None
;
25516 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxWindow
*arg1
= (wxWindow
*) 0 ;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self",(char *) "dc", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25557 if (arg2
== NULL
) {
25558 PyErr_SetString(PyExc_TypeError
,"null reference");
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->PrepareDC(*arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 Py_INCREF(Py_None
); resultobj
= Py_None
;
25575 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25591 result
= (wxRegion
*) &_result_ref
;
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25604 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxWindow
*arg1
= (wxWindow
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 wxRect
* resultptr
;
25625 resultptr
= new wxRect((wxRect
&) result
);
25626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25634 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxWindow
*arg1
= (wxWindow
*) 0 ;
25639 int arg4
= (int) 1 ;
25640 int arg5
= (int) 1 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 PyObject
* obj2
= 0 ;
25645 PyObject
* obj3
= 0 ;
25646 PyObject
* obj4
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 arg2
= (int) SWIG_AsInt(obj1
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25656 arg3
= (int) SWIG_AsInt(obj2
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 arg4
= (int) SWIG_AsInt(obj3
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 arg5
= (int) SWIG_AsInt(obj4
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxWindow
*arg1
= (wxWindow
*) 0 ;
25685 wxPoint
*arg2
= 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "pt", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25717 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25723 PyObject
* obj0
= 0 ;
25724 PyObject
* obj1
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "rect", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxWindow
*arg1
= (wxWindow
*) 0 ;
25755 wxVisualAttributes result
;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 wxVisualAttributes
* resultptr
;
25773 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25782 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25785 wxVisualAttributes result
;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "variant", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25793 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 wxVisualAttributes
* resultptr
;
25805 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25814 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxWindow
*arg1
= (wxWindow
*) 0 ;
25817 wxColour
*arg2
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "colour", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25849 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxWindow
*arg1
= (wxWindow
*) 0 ;
25852 wxColour
*arg2
= 0 ;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self",(char *) "colour", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxWindow
*arg1
= (wxWindow
*) 0 ;
25884 wxColour
*arg2
= 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "colour", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25898 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25916 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxWindow
*arg1
= (wxWindow
*) 0 ;
25919 wxColour
*arg2
= 0 ;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "colour", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25948 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxWindow
*arg1
= (wxWindow
*) 0 ;
25952 PyObject
* obj0
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 wxColour
* resultptr
;
25969 resultptr
= new wxColour((wxColour
&) result
);
25970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25978 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25982 PyObject
* obj0
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "self", NULL
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 wxColour
* resultptr
;
25999 resultptr
= new wxColour((wxColour
&) result
);
26000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26008 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxWindow
*arg1
= (wxWindow
*) 0 ;
26011 wxCursor
*arg2
= 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "cursor", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26025 if (arg2
== NULL
) {
26026 PyErr_SetString(PyExc_TypeError
,"null reference");
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26045 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26061 result
= (wxCursor
*) &_result_ref
;
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 wxCursor
* resultptr
= new wxCursor(*result
);
26069 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26077 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxWindow
*arg1
= (wxWindow
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "font", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26094 if (arg2
== NULL
) {
26095 PyErr_SetString(PyExc_TypeError
,"null reference");
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26114 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxWindow
*arg1
= (wxWindow
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "font", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26130 if (arg2
== NULL
) {
26131 PyErr_SetString(PyExc_TypeError
,"null reference");
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxWindow
*arg1
= (wxWindow
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 wxFont
&_result_ref
= (arg1
)->GetFont();
26164 result
= (wxFont
*) &_result_ref
;
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 wxFont
* resultptr
= new wxFont(*result
);
26172 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26180 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxWindow
*arg1
= (wxWindow
*) 0 ;
26183 wxCaret
*arg2
= (wxCaret
*) 0 ;
26184 PyObject
* obj0
= 0 ;
26185 PyObject
* obj1
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self",(char *) "caret", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SetCaret(arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxWindow
*arg1
= (wxWindow
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26235 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxWindow
*arg1
= (wxWindow
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_FromInt((int)result
);
26261 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_FromInt((int)result
);
26287 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxWindow
*arg1
= (wxWindow
*) 0 ;
26290 wxString
*arg2
= 0 ;
26291 int *arg3
= (int *) 0 ;
26292 int *arg4
= (int *) 0 ;
26293 bool temp2
= False
;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "string", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 arg2
= wxString_in_helper(obj1
);
26309 if (arg2
== NULL
) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26321 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26322 resultobj
= t_output_helper(resultobj
,o
);
26325 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26326 resultobj
= t_output_helper(resultobj
,o
);
26342 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxWindow
*arg1
= (wxWindow
*) 0 ;
26345 wxString
*arg2
= 0 ;
26346 int *arg3
= (int *) 0 ;
26347 int *arg4
= (int *) 0 ;
26348 int *arg5
= (int *) 0 ;
26349 int *arg6
= (int *) 0 ;
26350 wxFont
*arg7
= (wxFont
*) NULL
;
26351 bool temp2
= False
;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 PyObject
* obj2
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "string",(char *) "font", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 arg2
= wxString_in_helper(obj1
);
26372 if (arg2
== NULL
) SWIG_fail
;
26376 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 Py_INCREF(Py_None
); resultobj
= Py_None
;
26388 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26389 resultobj
= t_output_helper(resultobj
,o
);
26392 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26393 resultobj
= t_output_helper(resultobj
,o
);
26396 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26397 resultobj
= t_output_helper(resultobj
,o
);
26400 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26401 resultobj
= t_output_helper(resultobj
,o
);
26417 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxWindow
*arg1
= (wxWindow
*) 0 ;
26420 int *arg2
= (int *) 0 ;
26421 int *arg3
= (int *) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 PyObject
* obj2
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self",(char *) "x",(char *) "y", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 temp2
= PyInt_AsLong(obj1
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26440 temp3
= PyInt_AsLong(obj2
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 Py_INCREF(Py_None
); resultobj
= Py_None
;
26453 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26454 resultobj
= t_output_helper(resultobj
,o
);
26457 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26458 resultobj
= t_output_helper(resultobj
,o
);
26466 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxWindow
*arg1
= (wxWindow
*) 0 ;
26469 int *arg2
= (int *) 0 ;
26470 int *arg3
= (int *) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 PyObject
* obj2
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self",(char *) "x",(char *) "y", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 temp2
= PyInt_AsLong(obj1
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26489 temp3
= PyInt_AsLong(obj2
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26502 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26503 resultobj
= t_output_helper(resultobj
,o
);
26506 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26507 resultobj
= t_output_helper(resultobj
,o
);
26515 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxWindow
*arg1
= (wxWindow
*) 0 ;
26518 wxPoint
*arg2
= 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self",(char *) "pt", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26542 wxPoint
* resultptr
;
26543 resultptr
= new wxPoint((wxPoint
&) result
);
26544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26552 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxWindow
*arg1
= (wxWindow
*) 0 ;
26555 wxPoint
*arg2
= 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 char *kwnames
[] = {
26561 (char *) "self",(char *) "pt", NULL
26564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 wxPoint
* resultptr
;
26580 resultptr
= new wxPoint((wxPoint
&) result
);
26581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26589 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxWindow
*arg1
= (wxWindow
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 PyObject
* obj2
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "x",(char *) "y", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 arg2
= (int) SWIG_AsInt(obj1
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26607 arg3
= (int) SWIG_AsInt(obj2
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_FromInt((int)result
);
26623 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxWindow
*arg1
= (wxWindow
*) 0 ;
26626 wxPoint
*arg2
= 0 ;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "self",(char *) "pt", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_FromInt((int)result
);
26656 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26657 PyObject
*resultobj
;
26658 wxWindow
*arg1
= (wxWindow
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26664 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 arg2
= (long) SWIG_AsLong(obj1
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_FromInt((int)result
);
26683 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26684 PyObject
*resultobj
;
26685 wxWindow
*arg1
= (wxWindow
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26689 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_FromInt((int)result
);
26706 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26711 argc
= PyObject_Length(args
);
26712 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26713 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26719 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26727 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26734 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26742 _v
= SWIG_CheckLong(argv
[1]);
26744 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26749 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26754 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxWindow
*arg1
= (wxWindow
*) 0 ;
26757 long arg2
= (long) wxUPDATE_UI_NONE
;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self",(char *) "flags", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 arg2
= (long) SWIG_AsLong(obj1
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->UpdateWindowUI(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 wxMenu
*arg2
= (wxMenu
*) 0 ;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 PyObject
* obj2
= 0 ;
26795 PyObject
* obj3
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 arg3
= (int) SWIG_AsInt(obj2
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26807 arg4
= (int) SWIG_AsInt(obj3
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26825 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxWindow
*arg1
= (wxWindow
*) 0 ;
26828 wxMenu
*arg2
= (wxMenu
*) 0 ;
26829 wxPoint
*arg3
= 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self",(char *) "menu",(char *) "pos", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxWindow
*arg1
= (wxWindow
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (long)wxWindow_GetHandle(arg1
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_FromLong((long)result
);
26890 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26893 wxPaintEvent
*arg2
= 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self",(char *) "event", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26906 if (arg2
== NULL
) {
26907 PyErr_SetString(PyExc_TypeError
,"null reference");
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 (arg1
)->OnPaint(*arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 Py_INCREF(Py_None
); resultobj
= Py_None
;
26924 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxWindow
*arg1
= (wxWindow
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char *kwnames
[] = {
26932 (char *) "self",(char *) "orient", NULL
26935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26938 arg2
= (int) SWIG_AsInt(obj1
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26956 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 bool arg6
= (bool) True
;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 PyObject
* obj2
= 0 ;
26967 PyObject
* obj3
= 0 ;
26968 PyObject
* obj4
= 0 ;
26969 PyObject
* obj5
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26977 arg2
= (int) SWIG_AsInt(obj1
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26979 arg3
= (int) SWIG_AsInt(obj2
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26981 arg4
= (int) SWIG_AsInt(obj3
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26983 arg5
= (int) SWIG_AsInt(obj4
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 arg6
= (bool) SWIG_AsBool(obj5
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 Py_INCREF(Py_None
); resultobj
= Py_None
;
27003 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 bool arg4
= (bool) True
;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 PyObject
* obj2
= 0 ;
27012 PyObject
* obj3
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 arg2
= (int) SWIG_AsInt(obj1
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27022 arg3
= (int) SWIG_AsInt(obj2
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 arg4
= (bool) SWIG_AsBool(obj3
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 Py_INCREF(Py_None
); resultobj
= Py_None
;
27042 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
;
27044 wxWindow
*arg1
= (wxWindow
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self",(char *) "orientation", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 arg2
= (int) SWIG_AsInt(obj1
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= SWIG_FromInt((int)result
);
27072 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self",(char *) "orientation", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27086 arg2
= (int) SWIG_AsInt(obj1
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_FromInt((int)result
);
27102 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxWindow
*arg1
= (wxWindow
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "orientation", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 arg2
= (int) SWIG_AsInt(obj1
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_FromInt((int)result
);
27132 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxWindow
*arg1
= (wxWindow
*) 0 ;
27137 wxRect
*arg4
= (wxRect
*) NULL
;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 PyObject
* obj2
= 0 ;
27141 PyObject
* obj3
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27149 arg2
= (int) SWIG_AsInt(obj1
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27151 arg3
= (int) SWIG_AsInt(obj2
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 Py_INCREF(Py_None
); resultobj
= Py_None
;
27171 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxWindow
*arg1
= (wxWindow
*) 0 ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "lines", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 arg2
= (int) SWIG_AsInt(obj1
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (bool)(arg1
)->ScrollLines(arg2
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27203 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
;
27205 wxWindow
*arg1
= (wxWindow
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 PyObject
* obj1
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self",(char *) "pages", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 arg2
= (int) SWIG_AsInt(obj1
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (bool)(arg1
)->ScrollPages(arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27235 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxWindow
*arg1
= (wxWindow
*) 0 ;
27239 PyObject
* obj0
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (bool)(arg1
)->LineUp();
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27263 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxWindow
*arg1
= (wxWindow
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (bool)(arg1
)->LineDown();
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27291 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxWindow
*arg1
= (wxWindow
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (bool)(arg1
)->PageUp();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27319 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxWindow
*arg1
= (wxWindow
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (bool)(arg1
)->PageDown();
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27347 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxWindow
*arg1
= (wxWindow
*) 0 ;
27350 wxString
*arg2
= 0 ;
27351 bool temp2
= False
;
27352 PyObject
* obj0
= 0 ;
27353 PyObject
* obj1
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "text", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27362 arg2
= wxString_in_helper(obj1
);
27363 if (arg2
== NULL
) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxWindow
*arg1
= (wxWindow
*) 0 ;
27391 wxString
*arg2
= 0 ;
27392 bool temp2
= False
;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "text", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27403 arg2
= wxString_in_helper(obj1
);
27404 if (arg2
== NULL
) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 Py_INCREF(Py_None
); resultobj
= Py_None
;
27429 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxWindow
*arg1
= (wxWindow
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27461 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 wxString
*arg2
= 0 ;
27465 bool temp2
= False
;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "tip", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 arg2
= wxString_in_helper(obj1
);
27477 if (arg2
== NULL
) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 Py_INCREF(Py_None
); resultobj
= Py_None
;
27502 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxWindow
*arg1
= (wxWindow
*) 0 ;
27505 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "tip", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 (arg1
)->SetToolTip(arg2
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 Py_INCREF(Py_None
); resultobj
= Py_None
;
27531 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxWindow
*arg1
= (wxWindow
*) 0 ;
27535 PyObject
* obj0
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= wxPyMake_wxObject(result
);
27559 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxWindow
*arg1
= (wxWindow
*) 0 ;
27562 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27563 PyObject
* obj0
= 0 ;
27564 PyObject
* obj1
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self",(char *) "dropTarget", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27573 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 (arg1
)->SetDropTarget(arg2
);
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 Py_INCREF(Py_None
); resultobj
= Py_None
;
27588 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxWindow
*arg1
= (wxWindow
*) 0 ;
27591 wxPyDropTarget
*result
;
27592 PyObject
* obj0
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27614 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxWindow
*arg1
= (wxWindow
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "accept", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 arg2
= (bool) SWIG_AsBool(obj1
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->DragAcceptFiles(arg2
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27643 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxWindow
*arg1
= (wxWindow
*) 0 ;
27646 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self",(char *) "constraints", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 (arg1
)->SetConstraints(arg2
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 Py_INCREF(Py_None
); resultobj
= Py_None
;
27672 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxWindow
*arg1
= (wxWindow
*) 0 ;
27675 wxLayoutConstraints
*result
;
27676 PyObject
* obj0
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27698 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "autoLayout", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 arg2
= (bool) SWIG_AsBool(obj1
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 (arg1
)->SetAutoLayout(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 Py_INCREF(Py_None
); resultobj
= Py_None
;
27727 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27755 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxWindow
*arg1
= (wxWindow
*) 0 ;
27759 PyObject
* obj0
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= (bool)(arg1
)->Layout();
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27783 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 wxSizer
*arg2
= (wxSizer
*) 0 ;
27787 bool arg3
= (bool) True
;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 PyObject
* obj2
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27801 arg3
= (bool) SWIG_AsBool(obj2
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->SetSizer(arg2
,arg3
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 wxSizer
*arg2
= (wxSizer
*) 0 ;
27822 bool arg3
= (bool) True
;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 PyObject
* obj2
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27836 arg3
= (bool) SWIG_AsBool(obj2
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 Py_INCREF(Py_None
); resultobj
= Py_None
;
27853 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxWindow
*arg1
= (wxWindow
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= wxPyMake_wxSizer(result
);
27881 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxWindow
*arg1
= (wxWindow
*) 0 ;
27884 wxSizer
*arg2
= (wxSizer
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self",(char *) "sizer", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 (arg1
)->SetContainingSizer(arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 Py_INCREF(Py_None
); resultobj
= Py_None
;
27910 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxWindow
*arg1
= (wxWindow
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= wxPyMake_wxSizer(result
);
27938 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->InheritAttributes();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxWindow
*arg1
= (wxWindow
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27991 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27994 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27996 return Py_BuildValue((char *)"");
27998 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28001 wxWindow
*arg2
= (wxWindow
*) NULL
;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "id",(char *) "parent", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28010 arg1
= (long) SWIG_AsLong(obj0
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= wxPyMake_wxObject(result
);
28032 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxString
*arg1
= 0 ;
28035 wxWindow
*arg2
= (wxWindow
*) NULL
;
28037 bool temp1
= False
;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "name",(char *) "parent", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28046 arg1
= wxString_in_helper(obj0
);
28047 if (arg1
== NULL
) SWIG_fail
;
28051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= wxPyMake_wxObject(result
);
28078 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxString
*arg1
= 0 ;
28081 wxWindow
*arg2
= (wxWindow
*) NULL
;
28083 bool temp1
= False
;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "label",(char *) "parent", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28092 arg1
= wxString_in_helper(obj0
);
28093 if (arg1
== NULL
) SWIG_fail
;
28097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= wxPyMake_wxObject(result
);
28124 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28127 unsigned long arg2
;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "parent",(char *) "_hWnd", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28138 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= wxPyMake_wxObject(result
);
28156 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxValidator
*result
;
28159 char *kwnames
[] = {
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (wxValidator
*)new wxValidator();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= wxPyMake_wxObject(result
);
28180 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxValidator
*arg1
= (wxValidator
*) 0 ;
28183 wxValidator
*result
;
28184 PyObject
* obj0
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (wxValidator
*)(arg1
)->Clone();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= wxPyMake_wxObject(result
);
28208 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxValidator
*arg1
= (wxValidator
*) 0 ;
28211 wxWindow
*arg2
= (wxWindow
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "parent", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (bool)(arg1
)->Validate(arg2
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28240 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
;
28242 wxValidator
*arg1
= (wxValidator
*) 0 ;
28244 PyObject
* obj0
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (bool)(arg1
)->TransferToWindow();
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28268 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxValidator
*arg1
= (wxValidator
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (bool)(arg1
)->TransferFromWindow();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28296 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxValidator
*arg1
= (wxValidator
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (wxWindow
*)(arg1
)->GetWindow();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= wxPyMake_wxObject(result
);
28324 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxValidator
*arg1
= (wxValidator
*) 0 ;
28327 wxWindow
*arg2
= (wxWindow
*) 0 ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 char *kwnames
[] = {
28331 (char *) "self",(char *) "window", NULL
28334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 (arg1
)->SetWindow(arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 Py_INCREF(Py_None
); resultobj
= Py_None
;
28353 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28356 char *kwnames
[] = {
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (bool)wxValidator::IsSilent();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28377 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 int arg1
= (int) True
;
28380 PyObject
* obj0
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "doIt", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28387 arg1
= (int) SWIG_AsInt(obj0
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 wxValidator::SetBellOnError(arg1
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 Py_INCREF(Py_None
); resultobj
= Py_None
;
28404 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28407 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28409 return Py_BuildValue((char *)"");
28411 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxPyValidator
*result
;
28414 char *kwnames
[] = {
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= (wxPyValidator
*)new wxPyValidator();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28433 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28436 PyObject
*arg2
= (PyObject
*) 0 ;
28437 PyObject
*arg3
= (PyObject
*) 0 ;
28438 int arg4
= (int) True
;
28439 PyObject
* obj0
= 0 ;
28440 PyObject
* obj1
= 0 ;
28441 PyObject
* obj2
= 0 ;
28442 PyObject
* obj3
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 arg4
= (int) SWIG_AsInt(obj3
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 Py_INCREF(Py_None
); resultobj
= Py_None
;
28470 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28473 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28475 return Py_BuildValue((char *)"");
28477 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28478 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28483 static PyObject
*_wrap_DefaultValidator_get() {
28486 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28491 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28494 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28495 long arg2
= (long) 0 ;
28497 bool temp1
= False
;
28498 PyObject
* obj0
= 0 ;
28499 PyObject
* obj1
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "title",(char *) "style", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 arg1
= wxString_in_helper(obj0
);
28508 if (arg1
== NULL
) SWIG_fail
;
28513 arg2
= (long) SWIG_AsLong(obj1
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= wxPyMake_wxObject(result
);
28540 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxMenu
*arg1
= (wxMenu
*) 0 ;
28544 wxString
*arg3
= 0 ;
28545 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28546 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28547 int arg5
= (int) wxITEM_NORMAL
;
28548 wxMenuItem
*result
;
28549 bool temp3
= False
;
28550 bool temp4
= False
;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 PyObject
* obj2
= 0 ;
28554 PyObject
* obj3
= 0 ;
28555 PyObject
* obj4
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28563 arg2
= (int) SWIG_AsInt(obj1
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 arg3
= wxString_in_helper(obj2
);
28567 if (arg3
== NULL
) SWIG_fail
;
28572 arg4
= wxString_in_helper(obj3
);
28573 if (arg4
== NULL
) SWIG_fail
;
28578 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= wxPyMake_wxObject(result
);
28613 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
;
28615 wxMenu
*arg1
= (wxMenu
*) 0 ;
28616 wxMenuItem
*result
;
28617 PyObject
* obj0
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= wxPyMake_wxObject(result
);
28641 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxMenu
*arg1
= (wxMenu
*) 0 ;
28645 wxString
*arg3
= 0 ;
28646 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28647 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28648 wxMenuItem
*result
;
28649 bool temp3
= False
;
28650 bool temp4
= False
;
28651 PyObject
* obj0
= 0 ;
28652 PyObject
* obj1
= 0 ;
28653 PyObject
* obj2
= 0 ;
28654 PyObject
* obj3
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28662 arg2
= (int) SWIG_AsInt(obj1
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 arg3
= wxString_in_helper(obj2
);
28666 if (arg3
== NULL
) SWIG_fail
;
28671 arg4
= wxString_in_helper(obj3
);
28672 if (arg4
== NULL
) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= wxPyMake_wxObject(result
);
28708 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxMenu
*arg1
= (wxMenu
*) 0 ;
28712 wxString
*arg3
= 0 ;
28713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28715 wxMenuItem
*result
;
28716 bool temp3
= False
;
28717 bool temp4
= False
;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 PyObject
* obj2
= 0 ;
28721 PyObject
* obj3
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 arg2
= (int) SWIG_AsInt(obj1
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 arg3
= wxString_in_helper(obj2
);
28733 if (arg3
== NULL
) SWIG_fail
;
28738 arg4
= wxString_in_helper(obj3
);
28739 if (arg4
== NULL
) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= wxPyMake_wxObject(result
);
28775 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxMenu
*arg1
= (wxMenu
*) 0 ;
28779 wxString
*arg3
= 0 ;
28780 wxMenu
*arg4
= (wxMenu
*) 0 ;
28781 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28782 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28783 wxMenuItem
*result
;
28784 bool temp3
= False
;
28785 bool temp5
= False
;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 PyObject
* obj2
= 0 ;
28789 PyObject
* obj3
= 0 ;
28790 PyObject
* obj4
= 0 ;
28791 char *kwnames
[] = {
28792 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28798 arg2
= (int) SWIG_AsInt(obj1
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 arg3
= wxString_in_helper(obj2
);
28802 if (arg3
== NULL
) SWIG_fail
;
28805 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 arg5
= wxString_in_helper(obj4
);
28810 if (arg5
== NULL
) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= wxPyMake_wxObject(result
);
28846 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxMenu
*arg1
= (wxMenu
*) 0 ;
28849 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28850 wxMenuItem
*result
;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "self",(char *) "item", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= wxPyMake_wxObject(result
);
28878 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxMenu
*arg1
= (wxMenu
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 Py_INCREF(Py_None
); resultobj
= Py_None
;
28903 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxMenu
*arg1
= (wxMenu
*) 0 ;
28907 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28908 wxMenuItem
*result
;
28909 PyObject
* obj0
= 0 ;
28910 PyObject
* obj1
= 0 ;
28911 PyObject
* obj2
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self",(char *) "pos",(char *) "item", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= wxPyMake_wxObject(result
);
28939 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxMenu
*arg1
= (wxMenu
*) 0 ;
28944 wxString
*arg4
= 0 ;
28945 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28946 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28947 int arg6
= (int) wxITEM_NORMAL
;
28948 wxMenuItem
*result
;
28949 bool temp4
= False
;
28950 bool temp5
= False
;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 PyObject
* obj3
= 0 ;
28955 PyObject
* obj4
= 0 ;
28956 PyObject
* obj5
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28964 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28966 arg3
= (int) SWIG_AsInt(obj2
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 arg4
= wxString_in_helper(obj3
);
28970 if (arg4
== NULL
) SWIG_fail
;
28975 arg5
= wxString_in_helper(obj4
);
28976 if (arg5
== NULL
) SWIG_fail
;
28981 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= wxPyMake_wxObject(result
);
29016 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxMenu
*arg1
= (wxMenu
*) 0 ;
29020 wxMenuItem
*result
;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self",(char *) "pos", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29030 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= wxPyMake_wxObject(result
);
29048 static PyObject
*_wrap_Menu_InsertCheckItem(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_InsertCheckItem",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
)->InsertCheckItem(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_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxMenu
*arg1
= (wxMenu
*) 0 ;
29124 wxString
*arg4
= 0 ;
29125 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29126 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29127 wxMenuItem
*result
;
29128 bool temp4
= False
;
29129 bool temp5
= False
;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 PyObject
* obj2
= 0 ;
29133 PyObject
* obj3
= 0 ;
29134 PyObject
* obj4
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29142 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29144 arg3
= (int) SWIG_AsInt(obj2
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 arg4
= wxString_in_helper(obj3
);
29148 if (arg4
== NULL
) SWIG_fail
;
29153 arg5
= wxString_in_helper(obj4
);
29154 if (arg5
== NULL
) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= wxPyMake_wxObject(result
);
29190 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxMenu
*arg1
= (wxMenu
*) 0 ;
29195 wxString
*arg4
= 0 ;
29196 wxMenu
*arg5
= (wxMenu
*) 0 ;
29197 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29199 wxMenuItem
*result
;
29200 bool temp4
= False
;
29201 bool temp6
= False
;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 PyObject
* obj2
= 0 ;
29205 PyObject
* obj3
= 0 ;
29206 PyObject
* obj4
= 0 ;
29207 PyObject
* obj5
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29217 arg3
= (int) SWIG_AsInt(obj2
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 arg4
= wxString_in_helper(obj3
);
29221 if (arg4
== NULL
) SWIG_fail
;
29224 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29228 arg6
= wxString_in_helper(obj5
);
29229 if (arg6
== NULL
) SWIG_fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= wxPyMake_wxObject(result
);
29265 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxMenu
*arg1
= (wxMenu
*) 0 ;
29268 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29269 wxMenuItem
*result
;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self",(char *) "item", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= wxPyMake_wxObject(result
);
29297 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxMenu
*arg1
= (wxMenu
*) 0 ;
29301 wxString
*arg3
= 0 ;
29302 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29303 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29304 int arg5
= (int) wxITEM_NORMAL
;
29305 wxMenuItem
*result
;
29306 bool temp3
= False
;
29307 bool temp4
= False
;
29308 PyObject
* obj0
= 0 ;
29309 PyObject
* obj1
= 0 ;
29310 PyObject
* obj2
= 0 ;
29311 PyObject
* obj3
= 0 ;
29312 PyObject
* obj4
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29320 arg2
= (int) SWIG_AsInt(obj1
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 arg3
= wxString_in_helper(obj2
);
29324 if (arg3
== NULL
) SWIG_fail
;
29329 arg4
= wxString_in_helper(obj3
);
29330 if (arg4
== NULL
) SWIG_fail
;
29335 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= wxPyMake_wxObject(result
);
29370 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxMenu
*arg1
= (wxMenu
*) 0 ;
29373 wxMenuItem
*result
;
29374 PyObject
* obj0
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self", NULL
29379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= wxPyMake_wxObject(result
);
29398 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxMenu
*arg1
= (wxMenu
*) 0 ;
29402 wxString
*arg3
= 0 ;
29403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29405 wxMenuItem
*result
;
29406 bool temp3
= False
;
29407 bool temp4
= False
;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 PyObject
* obj2
= 0 ;
29411 PyObject
* obj3
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29419 arg2
= (int) SWIG_AsInt(obj1
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 arg3
= wxString_in_helper(obj2
);
29423 if (arg3
== NULL
) SWIG_fail
;
29428 arg4
= wxString_in_helper(obj3
);
29429 if (arg4
== NULL
) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= wxPyMake_wxObject(result
);
29465 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxMenu
*arg1
= (wxMenu
*) 0 ;
29469 wxString
*arg3
= 0 ;
29470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29472 wxMenuItem
*result
;
29473 bool temp3
= False
;
29474 bool temp4
= False
;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 PyObject
* obj3
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29486 arg2
= (int) SWIG_AsInt(obj1
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 arg3
= wxString_in_helper(obj2
);
29490 if (arg3
== NULL
) SWIG_fail
;
29495 arg4
= wxString_in_helper(obj3
);
29496 if (arg4
== NULL
) SWIG_fail
;
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= wxPyMake_wxObject(result
);
29532 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxMenu
*arg1
= (wxMenu
*) 0 ;
29536 wxString
*arg3
= 0 ;
29537 wxMenu
*arg4
= (wxMenu
*) 0 ;
29538 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29539 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29540 wxMenuItem
*result
;
29541 bool temp3
= False
;
29542 bool temp5
= False
;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 PyObject
* obj2
= 0 ;
29546 PyObject
* obj3
= 0 ;
29547 PyObject
* obj4
= 0 ;
29548 char *kwnames
[] = {
29549 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29555 arg2
= (int) SWIG_AsInt(obj1
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 arg3
= wxString_in_helper(obj2
);
29559 if (arg3
== NULL
) SWIG_fail
;
29562 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 arg5
= wxString_in_helper(obj4
);
29567 if (arg5
== NULL
) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= wxPyMake_wxObject(result
);
29603 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxMenu
*arg1
= (wxMenu
*) 0 ;
29607 wxMenuItem
*result
;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 char *kwnames
[] = {
29611 (char *) "self",(char *) "id", NULL
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29617 arg2
= (int) SWIG_AsInt(obj1
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= wxPyMake_wxObject(result
);
29635 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxMenu
*arg1
= (wxMenu
*) 0 ;
29638 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29639 wxMenuItem
*result
;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "item", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= wxPyMake_wxObject(result
);
29667 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxMenu
*arg1
= (wxMenu
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "id", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29681 arg2
= (int) SWIG_AsInt(obj1
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (bool)(arg1
)->Delete(arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29699 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxMenu
*arg1
= (wxMenu
*) 0 ;
29702 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "item", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (bool)(arg1
)->Delete(arg2
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29731 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 PyObject
* obj0
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 wxMenu_Destroy(arg1
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 Py_INCREF(Py_None
); resultobj
= Py_None
;
29756 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxMenu
*arg1
= (wxMenu
*) 0 ;
29761 PyObject
* obj0
= 0 ;
29762 PyObject
* obj1
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self",(char *) "id", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29770 arg2
= (int) SWIG_AsInt(obj1
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)(arg1
)->Destroy(arg2
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29788 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxMenu
*arg1
= (wxMenu
*) 0 ;
29791 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self",(char *) "item", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= (bool)(arg1
)->Destroy(arg2
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29820 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
;
29822 wxMenu
*arg1
= (wxMenu
*) 0 ;
29824 PyObject
* obj0
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "self", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29846 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxMenu
*arg1
= (wxMenu
*) 0 ;
29850 PyObject
* obj0
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= result
;
29872 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxMenu
*arg1
= (wxMenu
*) 0 ;
29875 wxString
*arg2
= 0 ;
29877 bool temp2
= False
;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self",(char *) "item", NULL
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 arg2
= wxString_in_helper(obj1
);
29889 if (arg2
== NULL
) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= SWIG_FromInt((int)result
);
29914 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxMenu
*arg1
= (wxMenu
*) 0 ;
29918 wxMenuItem
*result
;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "id", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29928 arg2
= (int) SWIG_AsInt(obj1
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= wxPyMake_wxObject(result
);
29946 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
;
29948 wxMenu
*arg1
= (wxMenu
*) 0 ;
29950 wxMenuItem
*result
;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "position", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29960 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= wxPyMake_wxObject(result
);
29978 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxMenu
*arg1
= (wxMenu
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 PyObject
* obj2
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self",(char *) "id",(char *) "enable", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29993 arg2
= (int) SWIG_AsInt(obj1
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29995 arg3
= (bool) SWIG_AsBool(obj2
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 (arg1
)->Enable(arg2
,arg3
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 Py_INCREF(Py_None
); resultobj
= Py_None
;
30011 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
;
30013 wxMenu
*arg1
= (wxMenu
*) 0 ;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 char *kwnames
[] = {
30019 (char *) "self",(char *) "id", NULL
30022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30025 arg2
= (int) SWIG_AsInt(obj1
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxMenu
*arg1
= (wxMenu
*) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 PyObject
* obj2
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "id",(char *) "check", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30058 arg2
= (int) SWIG_AsInt(obj1
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30060 arg3
= (bool) SWIG_AsBool(obj2
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 (arg1
)->Check(arg2
,arg3
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 Py_INCREF(Py_None
); resultobj
= Py_None
;
30076 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
;
30078 wxMenu
*arg1
= (wxMenu
*) 0 ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 char *kwnames
[] = {
30084 (char *) "self",(char *) "id", NULL
30087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30090 arg2
= (int) SWIG_AsInt(obj1
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxMenu
*arg1
= (wxMenu
*) 0 ;
30112 wxString
*arg3
= 0 ;
30113 bool temp3
= False
;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "id",(char *) "label", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 arg2
= (int) SWIG_AsInt(obj1
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 arg3
= wxString_in_helper(obj2
);
30128 if (arg3
== NULL
) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 Py_INCREF(Py_None
); resultobj
= Py_None
;
30153 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 wxMenu
*arg1
= (wxMenu
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "id", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 arg2
= (int) SWIG_AsInt(obj1
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30189 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30190 PyObject
*resultobj
;
30191 wxMenu
*arg1
= (wxMenu
*) 0 ;
30193 wxString
*arg3
= 0 ;
30194 bool temp3
= False
;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 PyObject
* obj2
= 0 ;
30198 char *kwnames
[] = {
30199 (char *) "self",(char *) "id",(char *) "helpString", NULL
30202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30205 arg2
= (int) SWIG_AsInt(obj1
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 arg3
= wxString_in_helper(obj2
);
30209 if (arg3
== NULL
) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 Py_INCREF(Py_None
); resultobj
= Py_None
;
30234 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxMenu
*arg1
= (wxMenu
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "id", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30248 arg2
= (int) SWIG_AsInt(obj1
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30270 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxMenu
*arg1
= (wxMenu
*) 0 ;
30273 wxString
*arg2
= 0 ;
30274 bool temp2
= False
;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "title", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 arg2
= wxString_in_helper(obj1
);
30286 if (arg2
== NULL
) SWIG_fail
;
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 (arg1
)->SetTitle((wxString
const &)*arg2
);
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 Py_INCREF(Py_None
); resultobj
= Py_None
;
30311 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxMenu
*arg1
= (wxMenu
*) 0 ;
30315 PyObject
* obj0
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "self", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= ((wxMenu
const *)arg1
)->GetTitle();
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30343 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenu
*arg1
= (wxMenu
*) 0 ;
30346 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 char *kwnames
[] = {
30350 (char *) "self",(char *) "handler", NULL
30353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 (arg1
)->SetEventHandler(arg2
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 Py_INCREF(Py_None
); resultobj
= Py_None
;
30372 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
;
30374 wxMenu
*arg1
= (wxMenu
*) 0 ;
30375 wxEvtHandler
*result
;
30376 PyObject
* obj0
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= wxPyMake_wxObject(result
);
30400 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxMenu
*arg1
= (wxMenu
*) 0 ;
30403 wxWindow
*arg2
= (wxWindow
*) 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "win", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 (arg1
)->SetInvokingWindow(arg2
);
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 Py_INCREF(Py_None
); resultobj
= Py_None
;
30429 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
;
30431 wxMenu
*arg1
= (wxMenu
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 char *kwnames
[] = {
30435 (char *) "self", NULL
30438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= wxPyMake_wxObject(result
);
30457 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxMenu
*arg1
= (wxMenu
*) 0 ;
30461 PyObject
* obj0
= 0 ;
30462 char *kwnames
[] = {
30463 (char *) "self", NULL
30466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_FromLong((long)result
);
30483 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxMenu
*arg1
= (wxMenu
*) 0 ;
30486 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "source", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 (arg1
)->UpdateUI(arg2
);
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 Py_INCREF(Py_None
); resultobj
= Py_None
;
30514 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxMenu
*arg1
= (wxMenu
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= wxPyMake_wxObject(result
);
30542 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxMenu
*arg1
= (wxMenu
*) 0 ;
30545 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 char *kwnames
[] = {
30549 (char *) "self",(char *) "menubar", NULL
30552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30559 (arg1
)->Attach(arg2
);
30561 wxPyEndAllowThreads(__tstate
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30564 Py_INCREF(Py_None
); resultobj
= Py_None
;
30571 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
;
30573 wxMenu
*arg1
= (wxMenu
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "self", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 Py_INCREF(Py_None
); resultobj
= Py_None
;
30596 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
;
30598 wxMenu
*arg1
= (wxMenu
*) 0 ;
30600 PyObject
* obj0
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "self", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30625 PyObject
*resultobj
;
30626 wxMenu
*arg1
= (wxMenu
*) 0 ;
30627 wxMenu
*arg2
= (wxMenu
*) 0 ;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 char *kwnames
[] = {
30631 (char *) "self",(char *) "parent", NULL
30634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->SetParent(arg2
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxMenu
*arg1
= (wxMenu
*) 0 ;
30657 PyObject
* obj0
= 0 ;
30658 char *kwnames
[] = {
30659 (char *) "self", NULL
30662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30673 resultobj
= wxPyMake_wxObject(result
);
30681 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30684 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30686 return Py_BuildValue((char *)"");
30688 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
;
30690 long arg1
= (long) 0 ;
30692 PyObject
* obj0
= 0 ;
30693 char *kwnames
[] = {
30694 (char *) "style", NULL
30697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30699 arg1
= (long) SWIG_AsLong(obj0
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= wxPyMake_wxObject(result
);
30718 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30721 wxMenu
*arg2
= (wxMenu
*) 0 ;
30722 wxString
*arg3
= 0 ;
30724 bool temp3
= False
;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self",(char *) "menu",(char *) "title", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 arg3
= wxString_in_helper(obj2
);
30739 if (arg3
== NULL
) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30766 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30770 wxMenu
*arg3
= (wxMenu
*) 0 ;
30771 wxString
*arg4
= 0 ;
30773 bool temp4
= False
;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 PyObject
* obj3
= 0 ;
30778 char *kwnames
[] = {
30779 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30785 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30787 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30790 arg4
= wxString_in_helper(obj3
);
30791 if (arg4
== NULL
) SWIG_fail
;
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30818 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30822 PyObject
* obj0
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30844 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
;
30846 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "pos", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30858 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= wxPyMake_wxObject(result
);
30876 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30880 wxMenu
*arg3
= (wxMenu
*) 0 ;
30881 wxString
*arg4
= 0 ;
30883 bool temp4
= False
;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 PyObject
* obj2
= 0 ;
30887 PyObject
* obj3
= 0 ;
30888 char *kwnames
[] = {
30889 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30900 arg4
= wxString_in_helper(obj3
);
30901 if (arg4
== NULL
) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= wxPyMake_wxObject(result
);
30928 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
;
30930 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self",(char *) "pos", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30942 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= wxPyMake_wxObject(result
);
30960 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 PyObject
* obj2
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self",(char *) "pos",(char *) "enable", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30975 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30977 arg3
= (bool) SWIG_AsBool(obj2
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 (arg1
)->EnableTop(arg2
,arg3
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 Py_INCREF(Py_None
); resultobj
= Py_None
;
30993 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30998 PyObject
* obj0
= 0 ;
30999 PyObject
* obj1
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "self",(char *) "pos", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31007 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31025 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31029 wxString
*arg3
= 0 ;
31030 bool temp3
= False
;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 PyObject
* obj2
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self",(char *) "pos",(char *) "label", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 arg3
= wxString_in_helper(obj2
);
31045 if (arg3
== NULL
) SWIG_fail
;
31049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31050 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 Py_INCREF(Py_None
); resultobj
= Py_None
;
31070 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
;
31072 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self",(char *) "pos", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31084 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31106 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
;
31108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31109 wxString
*arg2
= 0 ;
31110 wxString
*arg3
= 0 ;
31112 bool temp2
= False
;
31113 bool temp3
= False
;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 PyObject
* obj2
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self",(char *) "menu",(char *) "item", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31125 arg2
= wxString_in_helper(obj1
);
31126 if (arg2
== NULL
) SWIG_fail
;
31130 arg3
= wxString_in_helper(obj2
);
31131 if (arg3
== NULL
) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_FromInt((int)result
);
31164 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31168 wxMenuItem
*result
;
31169 PyObject
* obj0
= 0 ;
31170 PyObject
* obj1
= 0 ;
31171 char *kwnames
[] = {
31172 (char *) "self",(char *) "id", NULL
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31178 arg2
= (int) SWIG_AsInt(obj1
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= wxPyMake_wxObject(result
);
31196 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31199 wxString
*arg2
= 0 ;
31201 bool temp2
= False
;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "title", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31212 arg2
= wxString_in_helper(obj1
);
31213 if (arg2
== NULL
) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_FromInt((int)result
);
31238 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
;
31240 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 PyObject
* obj2
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "id",(char *) "enable", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31253 arg2
= (int) SWIG_AsInt(obj1
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31255 arg3
= (bool) SWIG_AsBool(obj2
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->Enable(arg2
,arg3
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 Py_INCREF(Py_None
); resultobj
= Py_None
;
31271 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 PyObject
* obj2
= 0 ;
31279 char *kwnames
[] = {
31280 (char *) "self",(char *) "id",(char *) "check", NULL
31283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31286 arg2
= (int) SWIG_AsInt(obj1
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31288 arg3
= (bool) SWIG_AsBool(obj2
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 (arg1
)->Check(arg2
,arg3
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 Py_INCREF(Py_None
); resultobj
= Py_None
;
31304 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "id", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31318 arg2
= (int) SWIG_AsInt(obj1
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31336 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
;
31338 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31341 PyObject
* obj0
= 0 ;
31342 PyObject
* obj1
= 0 ;
31343 char *kwnames
[] = {
31344 (char *) "self",(char *) "id", NULL
31347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31350 arg2
= (int) SWIG_AsInt(obj1
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31368 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
;
31370 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31372 wxString
*arg3
= 0 ;
31373 bool temp3
= False
;
31374 PyObject
* obj0
= 0 ;
31375 PyObject
* obj1
= 0 ;
31376 PyObject
* obj2
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self",(char *) "id",(char *) "label", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31384 arg2
= (int) SWIG_AsInt(obj1
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 arg3
= wxString_in_helper(obj2
);
31388 if (arg3
== NULL
) SWIG_fail
;
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 Py_INCREF(Py_None
); resultobj
= Py_None
;
31413 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31418 PyObject
* obj0
= 0 ;
31419 PyObject
* obj1
= 0 ;
31420 char *kwnames
[] = {
31421 (char *) "self",(char *) "id", NULL
31424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31427 arg2
= (int) SWIG_AsInt(obj1
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31449 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31453 wxString
*arg3
= 0 ;
31454 bool temp3
= False
;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 PyObject
* obj2
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self",(char *) "id",(char *) "helpString", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31465 arg2
= (int) SWIG_AsInt(obj1
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 arg3
= wxString_in_helper(obj2
);
31469 if (arg3
== NULL
) SWIG_fail
;
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 Py_INCREF(Py_None
); resultobj
= Py_None
;
31494 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
;
31496 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 char *kwnames
[] = {
31502 (char *) "self",(char *) "id", NULL
31505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31508 arg2
= (int) SWIG_AsInt(obj1
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31530 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31534 PyObject
* obj0
= 0 ;
31535 char *kwnames
[] = {
31536 (char *) "self", NULL
31539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= wxPyMake_wxObject(result
);
31558 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31586 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
;
31588 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31589 wxFrame
*arg2
= (wxFrame
*) 0 ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self",(char *) "frame", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 (arg1
)->Attach(arg2
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 Py_INCREF(Py_None
); resultobj
= Py_None
;
31615 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
;
31617 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31618 PyObject
* obj0
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 Py_INCREF(Py_None
); resultobj
= Py_None
;
31640 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31643 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31645 return Py_BuildValue((char *)"");
31647 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
;
31649 wxMenu
*arg1
= (wxMenu
*) NULL
;
31650 int arg2
= (int) wxID_ANY
;
31651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31655 int arg5
= (int) wxITEM_NORMAL
;
31656 wxMenu
*arg6
= (wxMenu
*) NULL
;
31657 wxMenuItem
*result
;
31658 bool temp3
= False
;
31659 bool temp4
= False
;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 PyObject
* obj2
= 0 ;
31663 PyObject
* obj3
= 0 ;
31664 PyObject
* obj4
= 0 ;
31665 PyObject
* obj5
= 0 ;
31666 char *kwnames
[] = {
31667 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31676 arg2
= (int) SWIG_AsInt(obj1
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31681 arg3
= wxString_in_helper(obj2
);
31682 if (arg3
== NULL
) SWIG_fail
;
31688 arg4
= wxString_in_helper(obj3
);
31689 if (arg4
== NULL
) SWIG_fail
;
31694 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31698 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= wxPyMake_wxObject(result
);
31733 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31737 PyObject
* obj0
= 0 ;
31738 char *kwnames
[] = {
31739 (char *) "self", NULL
31742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= wxPyMake_wxObject(result
);
31761 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
;
31763 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31764 wxMenu
*arg2
= (wxMenu
*) 0 ;
31765 PyObject
* obj0
= 0 ;
31766 PyObject
* obj1
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self",(char *) "menu", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 (arg1
)->SetMenu(arg2
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 Py_INCREF(Py_None
); resultobj
= Py_None
;
31790 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self",(char *) "id", NULL
31800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31803 arg2
= (int) SWIG_AsInt(obj1
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->SetId(arg2
);
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31819 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_FromInt((int)result
);
31845 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
;
31847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 char *kwnames
[] = {
31851 (char *) "self", NULL
31854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31873 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
;
31875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31876 wxString
*arg2
= 0 ;
31877 bool temp2
= False
;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 char *kwnames
[] = {
31881 (char *) "self",(char *) "str", NULL
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31888 arg2
= wxString_in_helper(obj1
);
31889 if (arg2
== NULL
) SWIG_fail
;
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 (arg1
)->SetText((wxString
const &)*arg2
);
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 Py_INCREF(Py_None
); resultobj
= Py_None
;
31914 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "self", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31928 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
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());
31946 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31962 result
= (wxString
*) &_result_ref
;
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31981 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxString
*arg1
= 0 ;
31985 bool temp1
= False
;
31986 PyObject
* obj0
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "text", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31993 arg1
= wxString_in_helper(obj0
);
31994 if (arg1
== NULL
) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32025 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
;
32027 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32029 PyObject
* obj0
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32041 wxPyEndAllowThreads(__tstate
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32044 resultobj
= SWIG_FromInt((int)result
);
32051 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32052 PyObject
*resultobj
;
32053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32055 PyObject
* obj0
= 0 ;
32056 PyObject
* obj1
= 0 ;
32057 char *kwnames
[] = {
32058 (char *) "self",(char *) "kind", NULL
32061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32064 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 (arg1
)->SetKind((wxItemKind
)arg2
);
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 Py_INCREF(Py_None
); resultobj
= Py_None
;
32080 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
;
32082 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 char *kwnames
[] = {
32087 (char *) "self",(char *) "checkable", NULL
32090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32093 arg2
= (bool) SWIG_AsBool(obj1
);
32094 if (PyErr_Occurred()) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 (arg1
)->SetCheckable(arg2
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 Py_INCREF(Py_None
); resultobj
= Py_None
;
32109 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32110 PyObject
*resultobj
;
32111 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32113 PyObject
* obj0
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32137 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32138 PyObject
*resultobj
;
32139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 char *kwnames
[] = {
32143 (char *) "self", NULL
32146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32165 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
;
32167 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32168 wxMenu
*arg2
= (wxMenu
*) 0 ;
32169 PyObject
* obj0
= 0 ;
32170 PyObject
* obj1
= 0 ;
32171 char *kwnames
[] = {
32172 (char *) "self",(char *) "menu", NULL
32175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 (arg1
)->SetSubMenu(arg2
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 Py_INCREF(Py_None
); resultobj
= Py_None
;
32194 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
;
32196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32198 PyObject
* obj0
= 0 ;
32199 char *kwnames
[] = {
32200 (char *) "self", NULL
32203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32210 wxPyEndAllowThreads(__tstate
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= wxPyMake_wxObject(result
);
32222 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32225 bool arg2
= (bool) True
;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self",(char *) "enable", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32236 arg2
= (bool) SWIG_AsBool(obj1
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 (arg1
)->Enable(arg2
);
32243 wxPyEndAllowThreads(__tstate
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32246 Py_INCREF(Py_None
); resultobj
= Py_None
;
32253 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32254 PyObject
*resultobj
;
32255 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32257 PyObject
* obj0
= 0 ;
32258 char *kwnames
[] = {
32259 (char *) "self", NULL
32262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32281 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32284 bool arg2
= (bool) True
;
32285 PyObject
* obj0
= 0 ;
32286 PyObject
* obj1
= 0 ;
32287 char *kwnames
[] = {
32288 (char *) "self",(char *) "check", NULL
32291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32295 arg2
= (bool) SWIG_AsBool(obj1
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->Check(arg2
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 Py_INCREF(Py_None
); resultobj
= Py_None
;
32312 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
;
32314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32340 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32343 PyObject
* obj0
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 Py_INCREF(Py_None
); resultobj
= Py_None
;
32365 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
;
32367 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32368 wxString
*arg2
= 0 ;
32369 bool temp2
= False
;
32370 PyObject
* obj0
= 0 ;
32371 PyObject
* obj1
= 0 ;
32372 char *kwnames
[] = {
32373 (char *) "self",(char *) "str", NULL
32376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32380 arg2
= wxString_in_helper(obj1
);
32381 if (arg2
== NULL
) SWIG_fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->SetHelp((wxString
const &)*arg2
);
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 Py_INCREF(Py_None
); resultobj
= Py_None
;
32406 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
;
32408 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self", NULL
32415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32422 result
= (wxString
*) &_result_ref
;
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32430 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32432 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32441 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32444 wxAcceleratorEntry
*result
;
32445 PyObject
* obj0
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "self", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32467 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32468 PyObject
*resultobj
;
32469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32470 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32471 PyObject
* obj0
= 0 ;
32472 PyObject
* obj1
= 0 ;
32473 char *kwnames
[] = {
32474 (char *) "self",(char *) "accel", NULL
32477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 (arg1
)->SetAccel(arg2
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 Py_INCREF(Py_None
); resultobj
= Py_None
;
32496 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
;
32498 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 char *kwnames
[] = {
32503 (char *) "self",(char *) "font", NULL
32506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32512 if (arg2
== NULL
) {
32513 PyErr_SetString(PyExc_TypeError
,"null reference");
32517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32518 (arg1
)->SetFont((wxFont
const &)*arg2
);
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 Py_INCREF(Py_None
); resultobj
= Py_None
;
32530 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
;
32532 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self", NULL
32539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= (arg1
)->GetFont();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32550 wxFont
* resultptr
;
32551 resultptr
= new wxFont((wxFont
&) result
);
32552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32560 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
;
32562 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32563 wxColour
*arg2
= 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self",(char *) "colText", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32580 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 Py_INCREF(Py_None
); resultobj
= Py_None
;
32592 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32596 PyObject
* obj0
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 result
= (arg1
)->GetTextColour();
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32612 wxColour
* resultptr
;
32613 resultptr
= new wxColour((wxColour
&) result
);
32614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32622 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
;
32624 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32625 wxColour
*arg2
= 0 ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 char *kwnames
[] = {
32630 (char *) "self",(char *) "colBack", NULL
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32647 Py_INCREF(Py_None
); resultobj
= Py_None
;
32654 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
;
32656 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32658 PyObject
* obj0
= 0 ;
32659 char *kwnames
[] = {
32660 (char *) "self", NULL
32663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 result
= (arg1
)->GetBackgroundColour();
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32674 wxColour
* resultptr
;
32675 resultptr
= new wxColour((wxColour
&) result
);
32676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32684 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32687 wxBitmap
*arg2
= 0 ;
32688 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32689 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32690 PyObject
* obj0
= 0 ;
32691 PyObject
* obj1
= 0 ;
32692 PyObject
* obj2
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32703 if (arg2
== NULL
) {
32704 PyErr_SetString(PyExc_TypeError
,"null reference");
32708 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32711 if (arg3
== NULL
) {
32712 PyErr_SetString(PyExc_TypeError
,"null reference");
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 Py_INCREF(Py_None
); resultobj
= Py_None
;
32730 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
;
32732 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32733 wxBitmap
*arg2
= 0 ;
32734 PyObject
* obj0
= 0 ;
32735 PyObject
* obj1
= 0 ;
32736 char *kwnames
[] = {
32737 (char *) "self",(char *) "bmpDisabled", NULL
32740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32746 if (arg2
== NULL
) {
32747 PyErr_SetString(PyExc_TypeError
,"null reference");
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 Py_INCREF(Py_None
); resultobj
= Py_None
;
32764 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32765 PyObject
*resultobj
;
32766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32768 PyObject
* obj0
= 0 ;
32769 char *kwnames
[] = {
32770 (char *) "self", NULL
32773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32780 result
= (wxBitmap
*) &_result_ref
;
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 wxBitmap
* resultptr
= new wxBitmap(*result
);
32788 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32796 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
;
32798 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self",(char *) "nWidth", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32809 arg2
= (int) SWIG_AsInt(obj1
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 (arg1
)->SetMarginWidth(arg2
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 Py_INCREF(Py_None
); resultobj
= Py_None
;
32825 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32829 PyObject
* obj0
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (int)(arg1
)->GetMarginWidth();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_FromInt((int)result
);
32851 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
;
32854 char *kwnames
[] = {
32858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_FromInt((int)result
);
32873 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32877 PyObject
* obj0
= 0 ;
32878 char *kwnames
[] = {
32879 (char *) "self", NULL
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (bool)(arg1
)->IsOwnerDrawn();
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32901 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
;
32903 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32904 bool arg2
= (bool) True
;
32905 PyObject
* obj0
= 0 ;
32906 PyObject
* obj1
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self",(char *) "ownerDrawn", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32915 arg2
= (bool) SWIG_AsBool(obj1
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 (arg1
)->SetOwnerDrawn(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 Py_INCREF(Py_None
); resultobj
= Py_None
;
32932 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
;
32934 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32935 PyObject
* obj0
= 0 ;
32936 char *kwnames
[] = {
32937 (char *) "self", NULL
32940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 (arg1
)->ResetOwnerDrawn();
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 Py_INCREF(Py_None
); resultobj
= Py_None
;
32957 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32960 wxBitmap
*arg2
= 0 ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "self",(char *) "bitmap", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32973 if (arg2
== NULL
) {
32974 PyErr_SetString(PyExc_TypeError
,"null reference");
32978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32981 wxPyEndAllowThreads(__tstate
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32984 Py_INCREF(Py_None
); resultobj
= Py_None
;
32991 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32992 PyObject
*resultobj
;
32993 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32995 PyObject
* obj0
= 0 ;
32996 char *kwnames
[] = {
32997 (char *) "self", NULL
33000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33007 result
= (wxBitmap
*) &_result_ref
;
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33014 wxBitmap
* resultptr
= new wxBitmap(*result
);
33015 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33023 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33026 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33028 return Py_BuildValue((char *)"");
33030 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33031 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33036 static PyObject
*_wrap_ControlNameStr_get() {
33041 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33043 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33050 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33051 PyObject
*resultobj
;
33052 wxWindow
*arg1
= (wxWindow
*) 0 ;
33054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33058 long arg5
= (long) 0 ;
33059 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33060 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33061 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33062 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33066 bool temp7
= False
;
33067 PyObject
* obj0
= 0 ;
33068 PyObject
* obj1
= 0 ;
33069 PyObject
* obj2
= 0 ;
33070 PyObject
* obj3
= 0 ;
33071 PyObject
* obj4
= 0 ;
33072 PyObject
* obj5
= 0 ;
33073 PyObject
* obj6
= 0 ;
33074 char *kwnames
[] = {
33075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33081 arg2
= (int) SWIG_AsInt(obj1
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33092 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33096 arg5
= (long) SWIG_AsLong(obj4
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33100 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33103 if (arg6
== NULL
) {
33104 PyErr_SetString(PyExc_TypeError
,"null reference");
33110 arg7
= wxString_in_helper(obj6
);
33111 if (arg7
== NULL
) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33119 wxPyEndAllowThreads(__tstate
);
33120 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= wxPyMake_wxObject(result
);
33139 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
;
33142 char *kwnames
[] = {
33146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33149 result
= (wxControl
*)new wxControl();
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= wxPyMake_wxObject(result
);
33163 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33164 PyObject
*resultobj
;
33165 wxControl
*arg1
= (wxControl
*) 0 ;
33166 wxWindow
*arg2
= (wxWindow
*) 0 ;
33168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33172 long arg6
= (long) 0 ;
33173 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33174 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33175 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33176 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33180 bool temp8
= False
;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 PyObject
* obj2
= 0 ;
33184 PyObject
* obj3
= 0 ;
33185 PyObject
* obj4
= 0 ;
33186 PyObject
* obj5
= 0 ;
33187 PyObject
* obj6
= 0 ;
33188 PyObject
* obj7
= 0 ;
33189 char *kwnames
[] = {
33190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33198 arg3
= (int) SWIG_AsInt(obj2
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33213 arg6
= (long) SWIG_AsLong(obj5
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33217 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33220 if (arg7
== NULL
) {
33221 PyErr_SetString(PyExc_TypeError
,"null reference");
33227 arg8
= wxString_in_helper(obj7
);
33228 if (arg8
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33256 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
;
33258 wxControl
*arg1
= (wxControl
*) 0 ;
33259 wxCommandEvent
*arg2
= 0 ;
33260 PyObject
* obj0
= 0 ;
33261 PyObject
* obj1
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self",(char *) "event", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33272 if (arg2
== NULL
) {
33273 PyErr_SetString(PyExc_TypeError
,"null reference");
33277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33278 (arg1
)->Command(*arg2
);
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33283 Py_INCREF(Py_None
); resultobj
= Py_None
;
33290 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33291 PyObject
*resultobj
;
33292 wxControl
*arg1
= (wxControl
*) 0 ;
33294 PyObject
* obj0
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= (arg1
)->GetLabel();
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33322 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33323 PyObject
*resultobj
;
33324 wxControl
*arg1
= (wxControl
*) 0 ;
33325 wxString
*arg2
= 0 ;
33326 bool temp2
= False
;
33327 PyObject
* obj0
= 0 ;
33328 PyObject
* obj1
= 0 ;
33329 char *kwnames
[] = {
33330 (char *) "self",(char *) "label", NULL
33333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33337 arg2
= wxString_in_helper(obj1
);
33338 if (arg2
== NULL
) SWIG_fail
;
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 (arg1
)->SetLabel((wxString
const &)*arg2
);
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33348 Py_INCREF(Py_None
); resultobj
= Py_None
;
33363 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33364 PyObject
*resultobj
;
33365 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33366 wxVisualAttributes result
;
33367 PyObject
* obj0
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "variant", NULL
33372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33374 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33381 wxPyEndAllowThreads(__tstate
);
33382 if (PyErr_Occurred()) SWIG_fail
;
33385 wxVisualAttributes
* resultptr
;
33386 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33395 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33398 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33400 return Py_BuildValue((char *)"");
33402 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
;
33404 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33405 wxString
*arg2
= 0 ;
33406 PyObject
*arg3
= (PyObject
*) NULL
;
33408 bool temp2
= False
;
33409 PyObject
* obj0
= 0 ;
33410 PyObject
* obj1
= 0 ;
33411 PyObject
* obj2
= 0 ;
33412 char *kwnames
[] = {
33413 (char *) "self",(char *) "item",(char *) "clientData", NULL
33416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33420 arg2
= wxString_in_helper(obj1
);
33421 if (arg2
== NULL
) SWIG_fail
;
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= SWIG_FromInt((int)result
);
33449 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33450 PyObject
*resultobj
;
33451 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33452 wxArrayString
*arg2
= 0 ;
33453 bool temp2
= False
;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 char *kwnames
[] = {
33457 (char *) "self",(char *) "strings", NULL
33460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33464 if (! PySequence_Check(obj1
)) {
33465 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33468 arg2
= new wxArrayString
;
33470 int i
, len
=PySequence_Length(obj1
);
33471 for (i
=0; i
<len
; i
++) {
33472 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33474 PyObject
* str
= PyObject_Unicode(item
);
33476 PyObject
* str
= PyObject_Str(item
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33479 arg2
->Add(Py2wxString(str
));
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 (arg1
)->Append((wxArrayString
const &)*arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 Py_INCREF(Py_None
); resultobj
= Py_None
;
33493 if (temp2
) delete arg2
;
33498 if (temp2
) delete arg2
;
33504 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33505 PyObject
*resultobj
;
33506 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33507 wxString
*arg2
= 0 ;
33509 PyObject
*arg4
= (PyObject
*) NULL
;
33511 bool temp2
= False
;
33512 PyObject
* obj0
= 0 ;
33513 PyObject
* obj1
= 0 ;
33514 PyObject
* obj2
= 0 ;
33515 PyObject
* obj3
= 0 ;
33516 char *kwnames
[] = {
33517 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33524 arg2
= wxString_in_helper(obj1
);
33525 if (arg2
== NULL
) SWIG_fail
;
33528 arg3
= (int) SWIG_AsInt(obj2
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= SWIG_FromInt((int)result
);
33555 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
;
33557 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33558 PyObject
* obj0
= 0 ;
33559 char *kwnames
[] = {
33560 (char *) "self", NULL
33563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 Py_INCREF(Py_None
); resultobj
= Py_None
;
33580 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
;
33582 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self",(char *) "n", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33593 arg2
= (int) SWIG_AsInt(obj1
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 (arg1
)->Delete(arg2
);
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33602 Py_INCREF(Py_None
); resultobj
= Py_None
;
33609 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
;
33611 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33623 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33625 wxPyEndAllowThreads(__tstate
);
33626 if (PyErr_Occurred()) SWIG_fail
;
33628 resultobj
= SWIG_FromInt((int)result
);
33635 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33636 PyObject
*resultobj
;
33637 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33639 PyObject
* obj0
= 0 ;
33640 char *kwnames
[] = {
33641 (char *) "self", NULL
33644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33649 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33663 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
;
33665 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33668 PyObject
* obj0
= 0 ;
33669 PyObject
* obj1
= 0 ;
33670 char *kwnames
[] = {
33671 (char *) "self",(char *) "n", NULL
33674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33677 arg2
= (int) SWIG_AsInt(obj1
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33699 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33702 wxArrayString result
;
33703 PyObject
* obj0
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= wxArrayString2PyList_helper(result
);
33727 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33731 wxString
*arg3
= 0 ;
33732 bool temp3
= False
;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 PyObject
* obj2
= 0 ;
33736 char *kwnames
[] = {
33737 (char *) "self",(char *) "n",(char *) "s", NULL
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33743 arg2
= (int) SWIG_AsInt(obj1
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 arg3
= wxString_in_helper(obj2
);
33747 if (arg3
== NULL
) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33757 Py_INCREF(Py_None
); resultobj
= Py_None
;
33772 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
;
33774 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33775 wxString
*arg2
= 0 ;
33777 bool temp2
= False
;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 char *kwnames
[] = {
33781 (char *) "self",(char *) "s", NULL
33784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33788 arg2
= wxString_in_helper(obj1
);
33789 if (arg2
== NULL
) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= SWIG_FromInt((int)result
);
33814 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33815 PyObject
*resultobj
;
33816 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33818 PyObject
* obj0
= 0 ;
33819 PyObject
* obj1
= 0 ;
33820 char *kwnames
[] = {
33821 (char *) "self",(char *) "n", NULL
33824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33827 arg2
= (int) SWIG_AsInt(obj1
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 (arg1
)->Select(arg2
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 Py_INCREF(Py_None
); resultobj
= Py_None
;
33843 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
;
33845 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33847 PyObject
* obj0
= 0 ;
33848 char *kwnames
[] = {
33849 (char *) "self", NULL
33852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33862 resultobj
= SWIG_FromInt((int)result
);
33869 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33870 PyObject
*resultobj
;
33871 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33873 PyObject
* obj0
= 0 ;
33874 char *kwnames
[] = {
33875 (char *) "self", NULL
33878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33885 wxPyEndAllowThreads(__tstate
);
33886 if (PyErr_Occurred()) SWIG_fail
;
33890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33901 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
;
33903 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33906 PyObject
* obj0
= 0 ;
33907 PyObject
* obj1
= 0 ;
33908 char *kwnames
[] = {
33909 (char *) "self",(char *) "n", NULL
33912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33915 arg2
= (int) SWIG_AsInt(obj1
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33921 wxPyEndAllowThreads(__tstate
);
33922 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= result
;
33931 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33932 PyObject
*resultobj
;
33933 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33935 PyObject
*arg3
= (PyObject
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 char *kwnames
[] = {
33940 (char *) "self",(char *) "n",(char *) "clientData", NULL
33943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33946 arg2
= (int) SWIG_AsInt(obj1
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33953 wxPyEndAllowThreads(__tstate
);
33954 if (PyErr_Occurred()) SWIG_fail
;
33956 Py_INCREF(Py_None
); resultobj
= Py_None
;
33963 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33966 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33968 return Py_BuildValue((char *)"");
33970 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33973 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33975 return Py_BuildValue((char *)"");
33977 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
;
33979 wxSizerItem
*result
;
33980 char *kwnames
[] = {
33984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33987 result
= (wxSizerItem
*)new wxSizerItem();
33989 wxPyEndAllowThreads(__tstate
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33999 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34000 PyObject
*resultobj
;
34006 wxObject
*arg6
= (wxObject
*) 0 ;
34007 wxSizerItem
*result
;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 PyObject
* obj2
= 0 ;
34011 PyObject
* obj3
= 0 ;
34012 PyObject
* obj4
= 0 ;
34013 PyObject
* obj5
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34019 arg1
= (int) SWIG_AsInt(obj0
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34021 arg2
= (int) SWIG_AsInt(obj1
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34023 arg3
= (int) SWIG_AsInt(obj2
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34025 arg4
= (int) SWIG_AsInt(obj3
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34027 arg5
= (int) SWIG_AsInt(obj4
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34029 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34045 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
;
34047 wxWindow
*arg1
= (wxWindow
*) 0 ;
34051 wxObject
*arg5
= (wxObject
*) 0 ;
34052 wxSizerItem
*result
;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 PyObject
* obj2
= 0 ;
34056 PyObject
* obj3
= 0 ;
34057 PyObject
* obj4
= 0 ;
34058 char *kwnames
[] = {
34059 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34065 arg2
= (int) SWIG_AsInt(obj1
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34067 arg3
= (int) SWIG_AsInt(obj2
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34069 arg4
= (int) SWIG_AsInt(obj3
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34071 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34087 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
;
34089 wxSizer
*arg1
= (wxSizer
*) 0 ;
34093 wxObject
*arg5
= (wxObject
*) 0 ;
34094 wxSizerItem
*result
;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 PyObject
* obj2
= 0 ;
34098 PyObject
* obj3
= 0 ;
34099 PyObject
* obj4
= 0 ;
34100 char *kwnames
[] = {
34101 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34107 arg2
= (int) SWIG_AsInt(obj1
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34109 arg3
= (int) SWIG_AsInt(obj2
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34111 arg4
= (int) SWIG_AsInt(obj3
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34113 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34117 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34129 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
;
34131 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34132 PyObject
* obj0
= 0 ;
34133 char *kwnames
[] = {
34134 (char *) "self", NULL
34137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34142 (arg1
)->DeleteWindows();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 Py_INCREF(Py_None
); resultobj
= Py_None
;
34154 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
;
34156 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34157 PyObject
* obj0
= 0 ;
34158 char *kwnames
[] = {
34159 (char *) "self", NULL
34162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 (arg1
)->DetachSizer();
34169 wxPyEndAllowThreads(__tstate
);
34170 if (PyErr_Occurred()) SWIG_fail
;
34172 Py_INCREF(Py_None
); resultobj
= Py_None
;
34179 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
;
34181 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34183 PyObject
* obj0
= 0 ;
34184 char *kwnames
[] = {
34185 (char *) "self", NULL
34188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= (arg1
)->GetSize();
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34199 wxSize
* resultptr
;
34200 resultptr
= new wxSize((wxSize
&) result
);
34201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34209 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34211 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34213 PyObject
* obj0
= 0 ;
34214 char *kwnames
[] = {
34215 (char *) "self", NULL
34218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (arg1
)->CalcMin();
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34229 wxSize
* resultptr
;
34230 resultptr
= new wxSize((wxSize
&) result
);
34231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34239 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34240 PyObject
*resultobj
;
34241 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 PyObject
* obj2
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "pos",(char *) "size", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34256 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34257 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34259 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34260 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 (arg1
)->SetDimension(arg2
,arg3
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 Py_INCREF(Py_None
); resultobj
= Py_None
;
34276 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
;
34278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34280 PyObject
* obj0
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "self", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 result
= (arg1
)->GetMinSize();
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34296 wxSize
* resultptr
;
34297 resultptr
= new wxSize((wxSize
&) result
);
34298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34306 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
;
34308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 PyObject
* obj2
= 0 ;
34314 char *kwnames
[] = {
34315 (char *) "self",(char *) "x",(char *) "y", NULL
34318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34321 arg2
= (int) SWIG_AsInt(obj1
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34323 arg3
= (int) SWIG_AsInt(obj2
);
34324 if (PyErr_Occurred()) SWIG_fail
;
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 (arg1
)->SetInitSize(arg2
,arg3
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 Py_INCREF(Py_None
); resultobj
= Py_None
;
34339 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
;
34341 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34344 PyObject
* obj0
= 0 ;
34345 PyObject
* obj1
= 0 ;
34346 PyObject
* obj2
= 0 ;
34347 char *kwnames
[] = {
34348 (char *) "self",(char *) "width",(char *) "height", NULL
34351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34354 arg2
= (int) SWIG_AsInt(obj1
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34356 arg3
= (int) SWIG_AsInt(obj2
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 (arg1
)->SetRatio(arg2
,arg3
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 Py_INCREF(Py_None
); resultobj
= Py_None
;
34372 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char *kwnames
[] = {
34380 (char *) "self",(char *) "size", NULL
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34386 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34387 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->SetRatio(arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 Py_INCREF(Py_None
); resultobj
= Py_None
;
34403 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 char *kwnames
[] = {
34410 (char *) "self",(char *) "ratio", NULL
34413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34416 arg2
= (float) SWIG_AsFloat(obj1
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34420 (arg1
)->SetRatio(arg2
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 Py_INCREF(Py_None
); resultobj
= Py_None
;
34432 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
;
34434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34436 PyObject
* obj0
= 0 ;
34437 char *kwnames
[] = {
34438 (char *) "self", NULL
34441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34446 result
= (float)(arg1
)->GetRatio();
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34451 resultobj
= SWIG_FromFloat((float)result
);
34458 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
;
34460 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34462 PyObject
* obj0
= 0 ;
34463 char *kwnames
[] = {
34464 (char *) "self", NULL
34467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= (bool)(arg1
)->IsWindow();
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34486 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
;
34488 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34490 PyObject
* obj0
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 result
= (bool)(arg1
)->IsSizer();
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34514 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
;
34516 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34518 PyObject
* obj0
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 result
= (bool)(arg1
)->IsSpacer();
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34542 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
;
34544 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "proportion", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34555 arg2
= (int) SWIG_AsInt(obj1
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 (arg1
)->SetProportion(arg2
);
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34564 Py_INCREF(Py_None
); resultobj
= Py_None
;
34571 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
;
34573 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34575 PyObject
* obj0
= 0 ;
34576 char *kwnames
[] = {
34577 (char *) "self", NULL
34580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34585 result
= (int)(arg1
)->GetProportion();
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34590 resultobj
= SWIG_FromInt((int)result
);
34597 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
;
34599 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34601 PyObject
* obj0
= 0 ;
34602 PyObject
* obj1
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self",(char *) "flag", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34610 arg2
= (int) SWIG_AsInt(obj1
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 (arg1
)->SetFlag(arg2
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 Py_INCREF(Py_None
); resultobj
= Py_None
;
34626 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34630 PyObject
* obj0
= 0 ;
34631 char *kwnames
[] = {
34632 (char *) "self", NULL
34635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (int)(arg1
)->GetFlag();
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 resultobj
= SWIG_FromInt((int)result
);
34652 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
;
34654 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "self",(char *) "border", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34665 arg2
= (int) SWIG_AsInt(obj1
);
34666 if (PyErr_Occurred()) SWIG_fail
;
34668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34669 (arg1
)->SetBorder(arg2
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 Py_INCREF(Py_None
); resultobj
= Py_None
;
34681 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
;
34683 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34685 PyObject
* obj0
= 0 ;
34686 char *kwnames
[] = {
34687 (char *) "self", NULL
34690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 result
= (int)(arg1
)->GetBorder();
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34700 resultobj
= SWIG_FromInt((int)result
);
34707 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
;
34709 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34711 PyObject
* obj0
= 0 ;
34712 char *kwnames
[] = {
34713 (char *) "self", NULL
34716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 result
= (wxWindow
*)(arg1
)->GetWindow();
34723 wxPyEndAllowThreads(__tstate
);
34724 if (PyErr_Occurred()) SWIG_fail
;
34727 resultobj
= wxPyMake_wxObject(result
);
34735 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
;
34737 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34738 wxWindow
*arg2
= (wxWindow
*) 0 ;
34739 PyObject
* obj0
= 0 ;
34740 PyObject
* obj1
= 0 ;
34741 char *kwnames
[] = {
34742 (char *) "self",(char *) "window", NULL
34745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 (arg1
)->SetWindow(arg2
);
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 Py_INCREF(Py_None
); resultobj
= Py_None
;
34764 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34768 PyObject
* obj0
= 0 ;
34769 char *kwnames
[] = {
34770 (char *) "self", NULL
34773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 result
= (wxSizer
*)(arg1
)->GetSizer();
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34784 resultobj
= wxPyMake_wxSizer(result
);
34792 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34795 wxSizer
*arg2
= (wxSizer
*) 0 ;
34796 PyObject
* obj0
= 0 ;
34797 PyObject
* obj1
= 0 ;
34798 char *kwnames
[] = {
34799 (char *) "self",(char *) "sizer", NULL
34802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 (arg1
)->SetSizer(arg2
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 Py_INCREF(Py_None
); resultobj
= Py_None
;
34821 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
;
34823 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34825 PyObject
* obj0
= 0 ;
34826 char *kwnames
[] = {
34827 (char *) "self", NULL
34830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34837 result
= (wxSize
*) &_result_ref
;
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34850 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
;
34852 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34855 PyObject
* obj0
= 0 ;
34856 PyObject
* obj1
= 0 ;
34857 char *kwnames
[] = {
34858 (char *) "self",(char *) "size", NULL
34861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34870 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34872 wxPyEndAllowThreads(__tstate
);
34873 if (PyErr_Occurred()) SWIG_fail
;
34875 Py_INCREF(Py_None
); resultobj
= Py_None
;
34882 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34883 PyObject
*resultobj
;
34884 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 char *kwnames
[] = {
34889 (char *) "self",(char *) "show", NULL
34892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34895 arg2
= (bool) SWIG_AsBool(obj1
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 (arg1
)->Show(arg2
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 Py_INCREF(Py_None
); resultobj
= Py_None
;
34911 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
;
34913 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 result
= (bool)(arg1
)->IsShown();
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34939 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
;
34941 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34943 PyObject
* obj0
= 0 ;
34944 char *kwnames
[] = {
34945 (char *) "self", NULL
34948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 result
= (arg1
)->GetPosition();
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34959 wxPoint
* resultptr
;
34960 resultptr
= new wxPoint((wxPoint
&) result
);
34961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34969 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
;
34971 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 char *kwnames
[] = {
34975 (char *) "self", NULL
34978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34985 wxPyEndAllowThreads(__tstate
);
34986 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= result
;
34995 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34998 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35000 return Py_BuildValue((char *)"");
35002 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
;
35004 wxSizer
*arg1
= (wxSizer
*) 0 ;
35005 PyObject
*arg2
= (PyObject
*) 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "self",(char *) "_self", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 wxSizer__setOORInfo(arg1
,arg2
);
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 Py_INCREF(Py_None
); resultobj
= Py_None
;
35030 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
;
35032 wxSizer
*arg1
= (wxSizer
*) 0 ;
35033 PyObject
*arg2
= (PyObject
*) 0 ;
35034 int arg3
= (int) 0 ;
35035 int arg4
= (int) 0 ;
35036 int arg5
= (int) 0 ;
35037 PyObject
*arg6
= (PyObject
*) NULL
;
35038 PyObject
* obj0
= 0 ;
35039 PyObject
* obj1
= 0 ;
35040 PyObject
* obj2
= 0 ;
35041 PyObject
* obj3
= 0 ;
35042 PyObject
* obj4
= 0 ;
35043 PyObject
* obj5
= 0 ;
35044 char *kwnames
[] = {
35045 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35053 arg3
= (int) SWIG_AsInt(obj2
);
35054 if (PyErr_Occurred()) SWIG_fail
;
35057 arg4
= (int) SWIG_AsInt(obj3
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35061 arg5
= (int) SWIG_AsInt(obj4
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35074 Py_INCREF(Py_None
); resultobj
= Py_None
;
35081 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35082 PyObject
*resultobj
;
35083 wxSizer
*arg1
= (wxSizer
*) 0 ;
35085 PyObject
*arg3
= (PyObject
*) 0 ;
35086 int arg4
= (int) 0 ;
35087 int arg5
= (int) 0 ;
35088 int arg6
= (int) 0 ;
35089 PyObject
*arg7
= (PyObject
*) NULL
;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 PyObject
* obj3
= 0 ;
35094 PyObject
* obj4
= 0 ;
35095 PyObject
* obj5
= 0 ;
35096 PyObject
* obj6
= 0 ;
35097 char *kwnames
[] = {
35098 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35104 arg2
= (int) SWIG_AsInt(obj1
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35108 arg4
= (int) SWIG_AsInt(obj3
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35112 arg5
= (int) SWIG_AsInt(obj4
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35116 arg6
= (int) SWIG_AsInt(obj5
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35124 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 Py_INCREF(Py_None
); resultobj
= Py_None
;
35136 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
;
35138 wxSizer
*arg1
= (wxSizer
*) 0 ;
35139 PyObject
*arg2
= (PyObject
*) 0 ;
35140 int arg3
= (int) 0 ;
35141 int arg4
= (int) 0 ;
35142 int arg5
= (int) 0 ;
35143 PyObject
*arg6
= (PyObject
*) NULL
;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 PyObject
* obj2
= 0 ;
35147 PyObject
* obj3
= 0 ;
35148 PyObject
* obj4
= 0 ;
35149 PyObject
* obj5
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35159 arg3
= (int) SWIG_AsInt(obj2
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35163 arg4
= (int) SWIG_AsInt(obj3
);
35164 if (PyErr_Occurred()) SWIG_fail
;
35167 arg5
= (int) SWIG_AsInt(obj4
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 Py_INCREF(Py_None
); resultobj
= Py_None
;
35187 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
;
35189 wxSizer
*arg1
= (wxSizer
*) 0 ;
35190 PyObject
*arg2
= (PyObject
*) 0 ;
35192 PyObject
* obj0
= 0 ;
35193 PyObject
* obj1
= 0 ;
35194 char *kwnames
[] = {
35195 (char *) "self",(char *) "item", NULL
35198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35218 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxSizer
*arg1
= (wxSizer
*) 0 ;
35221 PyObject
*arg2
= (PyObject
*) 0 ;
35224 PyObject
* obj0
= 0 ;
35225 PyObject
* obj1
= 0 ;
35226 PyObject
* obj2
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self",(char *) "item",(char *) "size", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35237 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 Py_INCREF(Py_None
); resultobj
= Py_None
;
35253 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxSizer
*arg1
= (wxSizer
*) 0 ;
35256 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35257 PyObject
* obj0
= 0 ;
35258 PyObject
* obj1
= 0 ;
35259 char *kwnames
[] = {
35260 (char *) "self",(char *) "item", NULL
35263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 Py_INCREF(Py_None
); resultobj
= Py_None
;
35282 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
;
35284 wxSizer
*arg1
= (wxSizer
*) 0 ;
35286 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self",(char *) "index",(char *) "item", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35297 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35299 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35303 (arg1
)->Insert(arg2
,arg3
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 Py_INCREF(Py_None
); resultobj
= Py_None
;
35315 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
;
35317 wxSizer
*arg1
= (wxSizer
*) 0 ;
35318 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35319 PyObject
* obj0
= 0 ;
35320 PyObject
* obj1
= 0 ;
35321 char *kwnames
[] = {
35322 (char *) "self",(char *) "item", NULL
35325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 (arg1
)->Prepend(arg2
);
35334 wxPyEndAllowThreads(__tstate
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35337 Py_INCREF(Py_None
); resultobj
= Py_None
;
35344 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
;
35346 wxSizer
*arg1
= (wxSizer
*) 0 ;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 PyObject
* obj2
= 0 ;
35354 PyObject
* obj3
= 0 ;
35355 PyObject
* obj4
= 0 ;
35356 char *kwnames
[] = {
35357 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35363 arg2
= (int) SWIG_AsInt(obj1
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35365 arg3
= (int) SWIG_AsInt(obj2
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35367 arg4
= (int) SWIG_AsInt(obj3
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35369 arg5
= (int) SWIG_AsInt(obj4
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35373 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 Py_INCREF(Py_None
); resultobj
= Py_None
;
35385 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
;
35387 wxSizer
*arg1
= (wxSizer
*) 0 ;
35390 PyObject
* obj0
= 0 ;
35391 PyObject
* obj1
= 0 ;
35392 char *kwnames
[] = {
35393 (char *) "self",(char *) "size", NULL
35396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 Py_INCREF(Py_None
); resultobj
= Py_None
;
35417 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
;
35419 wxSizer
*arg1
= (wxSizer
*) 0 ;
35421 PyObject
* obj0
= 0 ;
35422 char *kwnames
[] = {
35423 (char *) "self", NULL
35426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 result
= (arg1
)->GetSize();
35433 wxPyEndAllowThreads(__tstate
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35437 wxSize
* resultptr
;
35438 resultptr
= new wxSize((wxSize
&) result
);
35439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35447 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxSizer
*arg1
= (wxSizer
*) 0 ;
35451 PyObject
* obj0
= 0 ;
35452 char *kwnames
[] = {
35453 (char *) "self", NULL
35456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 result
= (arg1
)->GetPosition();
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35467 wxPoint
* resultptr
;
35468 resultptr
= new wxPoint((wxPoint
&) result
);
35469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35477 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
;
35479 wxSizer
*arg1
= (wxSizer
*) 0 ;
35481 PyObject
* obj0
= 0 ;
35482 char *kwnames
[] = {
35483 (char *) "self", NULL
35486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (arg1
)->GetMinSize();
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35497 wxSize
* resultptr
;
35498 resultptr
= new wxSize((wxSize
&) result
);
35499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35507 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
;
35509 wxSizer
*arg1
= (wxSizer
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->RecalcSizes();
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 Py_INCREF(Py_None
); resultobj
= Py_None
;
35532 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxSizer
*arg1
= (wxSizer
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 char *kwnames
[] = {
35538 (char *) "self", NULL
35541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 result
= (arg1
)->CalcMin();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35552 wxSize
* resultptr
;
35553 resultptr
= new wxSize((wxSize
&) result
);
35554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35562 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
;
35564 wxSizer
*arg1
= (wxSizer
*) 0 ;
35565 PyObject
* obj0
= 0 ;
35566 char *kwnames
[] = {
35567 (char *) "self", NULL
35570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 Py_INCREF(Py_None
); resultobj
= Py_None
;
35587 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxSizer
*arg1
= (wxSizer
*) 0 ;
35590 wxWindow
*arg2
= (wxWindow
*) 0 ;
35592 PyObject
* obj0
= 0 ;
35593 PyObject
* obj1
= 0 ;
35594 char *kwnames
[] = {
35595 (char *) "self",(char *) "window", NULL
35598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= (arg1
)->Fit(arg2
);
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35611 wxSize
* resultptr
;
35612 resultptr
= new wxSize((wxSize
&) result
);
35613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35621 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
;
35623 wxSizer
*arg1
= (wxSizer
*) 0 ;
35624 wxWindow
*arg2
= (wxWindow
*) 0 ;
35625 PyObject
* obj0
= 0 ;
35626 PyObject
* obj1
= 0 ;
35627 char *kwnames
[] = {
35628 (char *) "self",(char *) "window", NULL
35631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 (arg1
)->FitInside(arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 Py_INCREF(Py_None
); resultobj
= Py_None
;
35650 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxSizer
*arg1
= (wxSizer
*) 0 ;
35653 wxWindow
*arg2
= (wxWindow
*) 0 ;
35654 PyObject
* obj0
= 0 ;
35655 PyObject
* obj1
= 0 ;
35656 char *kwnames
[] = {
35657 (char *) "self",(char *) "window", NULL
35660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35667 (arg1
)->SetSizeHints(arg2
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 Py_INCREF(Py_None
); resultobj
= Py_None
;
35679 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
;
35681 wxSizer
*arg1
= (wxSizer
*) 0 ;
35682 wxWindow
*arg2
= (wxWindow
*) 0 ;
35683 PyObject
* obj0
= 0 ;
35684 PyObject
* obj1
= 0 ;
35685 char *kwnames
[] = {
35686 (char *) "self",(char *) "window", NULL
35689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 (arg1
)->SetVirtualSizeHints(arg2
);
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35701 Py_INCREF(Py_None
); resultobj
= Py_None
;
35708 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
;
35710 wxSizer
*arg1
= (wxSizer
*) 0 ;
35711 bool arg2
= (bool) False
;
35712 PyObject
* obj0
= 0 ;
35713 PyObject
* obj1
= 0 ;
35714 char *kwnames
[] = {
35715 (char *) "self",(char *) "delete_windows", NULL
35718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35722 arg2
= (bool) SWIG_AsBool(obj1
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35727 (arg1
)->Clear(arg2
);
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35732 Py_INCREF(Py_None
); resultobj
= Py_None
;
35739 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35740 PyObject
*resultobj
;
35741 wxSizer
*arg1
= (wxSizer
*) 0 ;
35742 PyObject
* obj0
= 0 ;
35743 char *kwnames
[] = {
35744 (char *) "self", NULL
35747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 (arg1
)->DeleteWindows();
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35757 Py_INCREF(Py_None
); resultobj
= Py_None
;
35764 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
;
35766 wxSizer
*arg1
= (wxSizer
*) 0 ;
35768 PyObject
* obj0
= 0 ;
35769 char *kwnames
[] = {
35770 (char *) "self", NULL
35773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35778 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= result
;
35790 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
;
35792 wxSizer
*arg1
= (wxSizer
*) 0 ;
35793 PyObject
*arg2
= (PyObject
*) 0 ;
35794 bool arg3
= (bool) True
;
35795 PyObject
* obj0
= 0 ;
35796 PyObject
* obj1
= 0 ;
35797 PyObject
* obj2
= 0 ;
35798 char *kwnames
[] = {
35799 (char *) "self",(char *) "item",(char *) "show", NULL
35802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35807 arg3
= (bool) SWIG_AsBool(obj2
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35812 wxSizer_Show(arg1
,arg2
,arg3
);
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35817 Py_INCREF(Py_None
); resultobj
= Py_None
;
35824 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35825 PyObject
*resultobj
;
35826 wxSizer
*arg1
= (wxSizer
*) 0 ;
35827 PyObject
*arg2
= (PyObject
*) 0 ;
35828 PyObject
* obj0
= 0 ;
35829 PyObject
* obj1
= 0 ;
35830 char *kwnames
[] = {
35831 (char *) "self",(char *) "item", NULL
35834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 wxSizer_Hide(arg1
,arg2
);
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35845 Py_INCREF(Py_None
); resultobj
= Py_None
;
35852 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35853 PyObject
*resultobj
;
35854 wxSizer
*arg1
= (wxSizer
*) 0 ;
35855 PyObject
*arg2
= (PyObject
*) 0 ;
35857 PyObject
* obj0
= 0 ;
35858 PyObject
* obj1
= 0 ;
35859 char *kwnames
[] = {
35860 (char *) "self",(char *) "item", NULL
35863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35883 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35884 PyObject
*resultobj
;
35885 wxSizer
*arg1
= (wxSizer
*) 0 ;
35887 PyObject
* obj0
= 0 ;
35888 PyObject
* obj1
= 0 ;
35889 char *kwnames
[] = {
35890 (char *) "self",(char *) "show", NULL
35893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35896 arg2
= (bool) SWIG_AsBool(obj1
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35900 (arg1
)->ShowItems(arg2
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 Py_INCREF(Py_None
); resultobj
= Py_None
;
35912 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35915 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35917 return Py_BuildValue((char *)"");
35919 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35920 PyObject
*resultobj
;
35922 char *kwnames
[] = {
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= (wxPySizer
*)new wxPySizer();
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35941 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
;
35943 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35944 PyObject
*arg2
= (PyObject
*) 0 ;
35945 PyObject
*arg3
= (PyObject
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 PyObject
* obj1
= 0 ;
35948 PyObject
* obj2
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self",(char *) "self",(char *) "_class", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 Py_INCREF(Py_None
); resultobj
= Py_None
;
35972 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35975 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35977 return Py_BuildValue((char *)"");
35979 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35980 PyObject
*resultobj
;
35981 int arg1
= (int) wxHORIZONTAL
;
35982 wxBoxSizer
*result
;
35983 PyObject
* obj0
= 0 ;
35984 char *kwnames
[] = {
35985 (char *) "orient", NULL
35988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35990 arg1
= (int) SWIG_AsInt(obj0
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36007 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36008 PyObject
*resultobj
;
36009 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36011 PyObject
* obj0
= 0 ;
36012 char *kwnames
[] = {
36013 (char *) "self", NULL
36016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 result
= (int)(arg1
)->GetOrientation();
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_FromInt((int)result
);
36033 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 PyObject
* obj1
= 0 ;
36039 char *kwnames
[] = {
36040 (char *) "self",(char *) "orient", NULL
36043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36046 arg2
= (int) SWIG_AsInt(obj1
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 (arg1
)->SetOrientation(arg2
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 Py_INCREF(Py_None
); resultobj
= Py_None
;
36062 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
;
36064 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36065 PyObject
* obj0
= 0 ;
36066 char *kwnames
[] = {
36067 (char *) "self", NULL
36070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 (arg1
)->RecalcSizes();
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 Py_INCREF(Py_None
); resultobj
= Py_None
;
36087 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
;
36089 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36091 PyObject
* obj0
= 0 ;
36092 char *kwnames
[] = {
36093 (char *) "self", NULL
36096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 result
= (arg1
)->CalcMin();
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36107 wxSize
* resultptr
;
36108 resultptr
= new wxSize((wxSize
&) result
);
36109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36117 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36120 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36122 return Py_BuildValue((char *)"");
36124 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
;
36126 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36127 int arg2
= (int) wxHORIZONTAL
;
36128 wxStaticBoxSizer
*result
;
36129 PyObject
* obj0
= 0 ;
36130 PyObject
* obj1
= 0 ;
36131 char *kwnames
[] = {
36132 (char *) "box",(char *) "orient", NULL
36135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36139 arg2
= (int) SWIG_AsInt(obj1
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36156 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36159 wxStaticBox
*result
;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= wxPyMake_wxObject(result
);
36184 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36187 PyObject
* obj0
= 0 ;
36188 char *kwnames
[] = {
36189 (char *) "self", NULL
36192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 (arg1
)->RecalcSizes();
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 Py_INCREF(Py_None
); resultobj
= Py_None
;
36209 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
;
36211 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36213 PyObject
* obj0
= 0 ;
36214 char *kwnames
[] = {
36215 (char *) "self", NULL
36218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 result
= (arg1
)->CalcMin();
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36229 wxSize
* resultptr
;
36230 resultptr
= new wxSize((wxSize
&) result
);
36231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36239 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36242 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36244 return Py_BuildValue((char *)"");
36246 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36247 PyObject
*resultobj
;
36248 int arg1
= (int) 1 ;
36249 int arg2
= (int) 0 ;
36250 int arg3
= (int) 0 ;
36251 int arg4
= (int) 0 ;
36252 wxGridSizer
*result
;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 PyObject
* obj2
= 0 ;
36256 PyObject
* obj3
= 0 ;
36257 char *kwnames
[] = {
36258 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36263 arg1
= (int) SWIG_AsInt(obj0
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36267 arg2
= (int) SWIG_AsInt(obj1
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36271 arg3
= (int) SWIG_AsInt(obj2
);
36272 if (PyErr_Occurred()) SWIG_fail
;
36275 arg4
= (int) SWIG_AsInt(obj3
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36292 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36295 PyObject
* obj0
= 0 ;
36296 char *kwnames
[] = {
36297 (char *) "self", NULL
36300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36305 (arg1
)->RecalcSizes();
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36310 Py_INCREF(Py_None
); resultobj
= Py_None
;
36317 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
;
36319 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36321 PyObject
* obj0
= 0 ;
36322 char *kwnames
[] = {
36323 (char *) "self", NULL
36326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 result
= (arg1
)->CalcMin();
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36337 wxSize
* resultptr
;
36338 resultptr
= new wxSize((wxSize
&) result
);
36339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36347 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36351 PyObject
* obj0
= 0 ;
36352 PyObject
* obj1
= 0 ;
36353 char *kwnames
[] = {
36354 (char *) "self",(char *) "cols", NULL
36357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36360 arg2
= (int) SWIG_AsInt(obj1
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 (arg1
)->SetCols(arg2
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 Py_INCREF(Py_None
); resultobj
= Py_None
;
36376 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
;
36378 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36380 PyObject
* obj0
= 0 ;
36381 PyObject
* obj1
= 0 ;
36382 char *kwnames
[] = {
36383 (char *) "self",(char *) "rows", NULL
36386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36389 arg2
= (int) SWIG_AsInt(obj1
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 (arg1
)->SetRows(arg2
);
36395 wxPyEndAllowThreads(__tstate
);
36396 if (PyErr_Occurred()) SWIG_fail
;
36398 Py_INCREF(Py_None
); resultobj
= Py_None
;
36405 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char *kwnames
[] = {
36412 (char *) "self",(char *) "gap", NULL
36415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36418 arg2
= (int) SWIG_AsInt(obj1
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 (arg1
)->SetVGap(arg2
);
36424 wxPyEndAllowThreads(__tstate
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36427 Py_INCREF(Py_None
); resultobj
= Py_None
;
36434 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36435 PyObject
*resultobj
;
36436 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 char *kwnames
[] = {
36441 (char *) "self",(char *) "gap", NULL
36444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36447 arg2
= (int) SWIG_AsInt(obj1
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 (arg1
)->SetHGap(arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 Py_INCREF(Py_None
); resultobj
= Py_None
;
36463 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
;
36465 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36467 PyObject
* obj0
= 0 ;
36468 char *kwnames
[] = {
36469 (char *) "self", NULL
36472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 result
= (int)(arg1
)->GetCols();
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= SWIG_FromInt((int)result
);
36489 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
;
36491 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36493 PyObject
* obj0
= 0 ;
36494 char *kwnames
[] = {
36495 (char *) "self", NULL
36498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 result
= (int)(arg1
)->GetRows();
36505 wxPyEndAllowThreads(__tstate
);
36506 if (PyErr_Occurred()) SWIG_fail
;
36508 resultobj
= SWIG_FromInt((int)result
);
36515 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
;
36517 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36519 PyObject
* obj0
= 0 ;
36520 char *kwnames
[] = {
36521 (char *) "self", NULL
36524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36529 result
= (int)(arg1
)->GetVGap();
36531 wxPyEndAllowThreads(__tstate
);
36532 if (PyErr_Occurred()) SWIG_fail
;
36534 resultobj
= SWIG_FromInt((int)result
);
36541 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
;
36543 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36545 PyObject
* obj0
= 0 ;
36546 char *kwnames
[] = {
36547 (char *) "self", NULL
36550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 result
= (int)(arg1
)->GetHGap();
36557 wxPyEndAllowThreads(__tstate
);
36558 if (PyErr_Occurred()) SWIG_fail
;
36560 resultobj
= SWIG_FromInt((int)result
);
36567 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36570 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36572 return Py_BuildValue((char *)"");
36574 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
;
36576 int arg1
= (int) 1 ;
36577 int arg2
= (int) 0 ;
36578 int arg3
= (int) 0 ;
36579 int arg4
= (int) 0 ;
36580 wxFlexGridSizer
*result
;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 PyObject
* obj2
= 0 ;
36584 PyObject
* obj3
= 0 ;
36585 char *kwnames
[] = {
36586 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36591 arg1
= (int) SWIG_AsInt(obj0
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36595 arg2
= (int) SWIG_AsInt(obj1
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36599 arg3
= (int) SWIG_AsInt(obj2
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36603 arg4
= (int) SWIG_AsInt(obj3
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36620 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36622 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36623 PyObject
* obj0
= 0 ;
36624 char *kwnames
[] = {
36625 (char *) "self", NULL
36628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36633 (arg1
)->RecalcSizes();
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 Py_INCREF(Py_None
); resultobj
= Py_None
;
36645 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36646 PyObject
*resultobj
;
36647 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36649 PyObject
* obj0
= 0 ;
36650 char *kwnames
[] = {
36651 (char *) "self", NULL
36654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= (arg1
)->CalcMin();
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36665 wxSize
* resultptr
;
36666 resultptr
= new wxSize((wxSize
&) result
);
36667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36675 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36676 PyObject
*resultobj
;
36677 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36679 int arg3
= (int) 0 ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 PyObject
* obj2
= 0 ;
36683 char *kwnames
[] = {
36684 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36690 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36693 arg3
= (int) SWIG_AsInt(obj2
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36698 (arg1
)->AddGrowableRow(arg2
,arg3
);
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 Py_INCREF(Py_None
); resultobj
= Py_None
;
36710 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
;
36712 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36714 PyObject
* obj0
= 0 ;
36715 PyObject
* obj1
= 0 ;
36716 char *kwnames
[] = {
36717 (char *) "self",(char *) "idx", NULL
36720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36723 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36727 (arg1
)->RemoveGrowableRow(arg2
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 Py_INCREF(Py_None
); resultobj
= Py_None
;
36739 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
;
36741 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36743 int arg3
= (int) 0 ;
36744 PyObject
* obj0
= 0 ;
36745 PyObject
* obj1
= 0 ;
36746 PyObject
* obj2
= 0 ;
36747 char *kwnames
[] = {
36748 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36754 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 arg3
= (int) SWIG_AsInt(obj2
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->AddGrowableCol(arg2
,arg3
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 Py_INCREF(Py_None
); resultobj
= Py_None
;
36774 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
;
36776 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36778 PyObject
* obj0
= 0 ;
36779 PyObject
* obj1
= 0 ;
36780 char *kwnames
[] = {
36781 (char *) "self",(char *) "idx", NULL
36784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36787 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 (arg1
)->RemoveGrowableCol(arg2
);
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 Py_INCREF(Py_None
); resultobj
= Py_None
;
36803 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
;
36805 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 char *kwnames
[] = {
36810 (char *) "self",(char *) "direction", NULL
36813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36816 arg2
= (int) SWIG_AsInt(obj1
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 (arg1
)->SetFlexibleDirection(arg2
);
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 Py_INCREF(Py_None
); resultobj
= Py_None
;
36832 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36833 PyObject
*resultobj
;
36834 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36836 PyObject
* obj0
= 0 ;
36837 char *kwnames
[] = {
36838 (char *) "self", NULL
36841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 result
= (int)(arg1
)->GetFlexibleDirection();
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36851 resultobj
= SWIG_FromInt((int)result
);
36858 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
;
36860 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "self",(char *) "mode", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36871 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36880 Py_INCREF(Py_None
); resultobj
= Py_None
;
36887 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
;
36889 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36891 PyObject
* obj0
= 0 ;
36892 char *kwnames
[] = {
36893 (char *) "self", NULL
36896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36903 wxPyEndAllowThreads(__tstate
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= SWIG_FromInt((int)result
);
36913 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36914 PyObject
*resultobj
;
36915 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36916 wxArrayInt
*result
;
36917 PyObject
* obj0
= 0 ;
36918 char *kwnames
[] = {
36919 (char *) "self", NULL
36922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36929 result
= (wxArrayInt
*) &_result_ref
;
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36936 resultobj
= PyList_New(0);
36938 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36939 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36940 PyList_Append(resultobj
, val
);
36950 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
;
36952 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36953 wxArrayInt
*result
;
36954 PyObject
* obj0
= 0 ;
36955 char *kwnames
[] = {
36956 (char *) "self", NULL
36959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36966 result
= (wxArrayInt
*) &_result_ref
;
36969 wxPyEndAllowThreads(__tstate
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36973 resultobj
= PyList_New(0);
36975 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36976 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36977 PyList_Append(resultobj
, val
);
36987 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36990 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36992 return Py_BuildValue((char *)"");
36994 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36995 PyObject
*resultobj
;
36996 int arg1
= (int) 0 ;
36997 int arg2
= (int) 0 ;
36998 wxGBPosition
*result
;
36999 PyObject
* obj0
= 0 ;
37000 PyObject
* obj1
= 0 ;
37001 char *kwnames
[] = {
37002 (char *) "row",(char *) "col", NULL
37005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37007 arg1
= (int) SWIG_AsInt(obj0
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37011 arg2
= (int) SWIG_AsInt(obj1
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37018 wxPyEndAllowThreads(__tstate
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37028 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37029 PyObject
*resultobj
;
37030 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37032 PyObject
* obj0
= 0 ;
37033 char *kwnames
[] = {
37034 (char *) "self", NULL
37037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37047 resultobj
= SWIG_FromInt((int)result
);
37054 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37055 PyObject
*resultobj
;
37056 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37058 PyObject
* obj0
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_FromInt((int)result
);
37080 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
;
37082 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37084 PyObject
* obj0
= 0 ;
37085 PyObject
* obj1
= 0 ;
37086 char *kwnames
[] = {
37087 (char *) "self",(char *) "row", NULL
37090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37093 arg2
= (int) SWIG_AsInt(obj1
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37097 (arg1
)->SetRow(arg2
);
37099 wxPyEndAllowThreads(__tstate
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37102 Py_INCREF(Py_None
); resultobj
= Py_None
;
37109 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37110 PyObject
*resultobj
;
37111 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37113 PyObject
* obj0
= 0 ;
37114 PyObject
* obj1
= 0 ;
37115 char *kwnames
[] = {
37116 (char *) "self",(char *) "col", NULL
37119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37122 arg2
= (int) SWIG_AsInt(obj1
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 (arg1
)->SetCol(arg2
);
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37131 Py_INCREF(Py_None
); resultobj
= Py_None
;
37138 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
;
37140 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37141 wxGBPosition
*arg2
= 0 ;
37143 wxGBPosition temp2
;
37144 PyObject
* obj0
= 0 ;
37145 PyObject
* obj1
= 0 ;
37146 char *kwnames
[] = {
37147 (char *) "self",(char *) "other", NULL
37150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37155 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37173 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37174 PyObject
*resultobj
;
37175 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37176 wxGBPosition
*arg2
= 0 ;
37178 wxGBPosition temp2
;
37179 PyObject
* obj0
= 0 ;
37180 PyObject
* obj1
= 0 ;
37181 char *kwnames
[] = {
37182 (char *) "self",(char *) "other", NULL
37185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37190 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37196 wxPyEndAllowThreads(__tstate
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37208 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37209 PyObject
*resultobj
;
37210 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37211 int arg2
= (int) 0 ;
37212 int arg3
= (int) 0 ;
37213 PyObject
* obj0
= 0 ;
37214 PyObject
* obj1
= 0 ;
37215 PyObject
* obj2
= 0 ;
37216 char *kwnames
[] = {
37217 (char *) "self",(char *) "row",(char *) "col", NULL
37220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37224 arg2
= (int) SWIG_AsInt(obj1
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37228 arg3
= (int) SWIG_AsInt(obj2
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 wxGBPosition_Set(arg1
,arg2
,arg3
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 Py_INCREF(Py_None
); resultobj
= Py_None
;
37245 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
;
37247 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37249 PyObject
* obj0
= 0 ;
37250 char *kwnames
[] = {
37251 (char *) "self", NULL
37254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= result
;
37271 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37274 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37276 return Py_BuildValue((char *)"");
37278 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37279 PyObject
*resultobj
;
37280 int arg1
= (int) 1 ;
37281 int arg2
= (int) 1 ;
37283 PyObject
* obj0
= 0 ;
37284 PyObject
* obj1
= 0 ;
37285 char *kwnames
[] = {
37286 (char *) "rowspan",(char *) "colspan", NULL
37289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37291 arg1
= (int) SWIG_AsInt(obj0
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37295 arg2
= (int) SWIG_AsInt(obj1
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37300 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37312 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37313 PyObject
*resultobj
;
37314 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37316 PyObject
* obj0
= 0 ;
37317 char *kwnames
[] = {
37318 (char *) "self", NULL
37321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37331 resultobj
= SWIG_FromInt((int)result
);
37338 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
;
37340 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37342 PyObject
* obj0
= 0 ;
37343 char *kwnames
[] = {
37344 (char *) "self", NULL
37347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37352 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37354 wxPyEndAllowThreads(__tstate
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37357 resultobj
= SWIG_FromInt((int)result
);
37364 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37365 PyObject
*resultobj
;
37366 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37368 PyObject
* obj0
= 0 ;
37369 PyObject
* obj1
= 0 ;
37370 char *kwnames
[] = {
37371 (char *) "self",(char *) "rowspan", NULL
37374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37377 arg2
= (int) SWIG_AsInt(obj1
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 (arg1
)->SetRowspan(arg2
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37386 Py_INCREF(Py_None
); resultobj
= Py_None
;
37393 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
;
37395 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "self",(char *) "colspan", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37406 arg2
= (int) SWIG_AsInt(obj1
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 (arg1
)->SetColspan(arg2
);
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37415 Py_INCREF(Py_None
); resultobj
= Py_None
;
37422 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
;
37424 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37425 wxGBSpan
*arg2
= 0 ;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37430 char *kwnames
[] = {
37431 (char *) "self",(char *) "other", NULL
37434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37439 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37443 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37445 wxPyEndAllowThreads(__tstate
);
37446 if (PyErr_Occurred()) SWIG_fail
;
37449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37457 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
;
37459 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37460 wxGBSpan
*arg2
= 0 ;
37463 PyObject
* obj0
= 0 ;
37464 PyObject
* obj1
= 0 ;
37465 char *kwnames
[] = {
37466 (char *) "self",(char *) "other", NULL
37469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37474 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37478 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37480 wxPyEndAllowThreads(__tstate
);
37481 if (PyErr_Occurred()) SWIG_fail
;
37484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37492 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37493 PyObject
*resultobj
;
37494 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37495 int arg2
= (int) 1 ;
37496 int arg3
= (int) 1 ;
37497 PyObject
* obj0
= 0 ;
37498 PyObject
* obj1
= 0 ;
37499 PyObject
* obj2
= 0 ;
37500 char *kwnames
[] = {
37501 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37508 arg2
= (int) SWIG_AsInt(obj1
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37512 arg3
= (int) SWIG_AsInt(obj2
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 wxGBSpan_Set(arg1
,arg2
,arg3
);
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37522 Py_INCREF(Py_None
); resultobj
= Py_None
;
37529 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
;
37531 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37533 PyObject
* obj0
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37543 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37545 wxPyEndAllowThreads(__tstate
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= result
;
37555 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37558 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37560 return Py_BuildValue((char *)"");
37562 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37563 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37568 static PyObject
*_wrap_DefaultSpan_get() {
37571 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37576 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37577 PyObject
*resultobj
;
37578 wxGBSizerItem
*result
;
37579 char *kwnames
[] = {
37583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37586 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37598 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37599 PyObject
*resultobj
;
37600 wxWindow
*arg1
= (wxWindow
*) 0 ;
37601 wxGBPosition
*arg2
= 0 ;
37602 wxGBSpan
*arg3
= 0 ;
37605 wxObject
*arg6
= (wxObject
*) 0 ;
37606 wxGBSizerItem
*result
;
37607 wxGBPosition temp2
;
37609 PyObject
* obj0
= 0 ;
37610 PyObject
* obj1
= 0 ;
37611 PyObject
* obj2
= 0 ;
37612 PyObject
* obj3
= 0 ;
37613 PyObject
* obj4
= 0 ;
37614 PyObject
* obj5
= 0 ;
37615 char *kwnames
[] = {
37616 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37624 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37628 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37630 arg4
= (int) SWIG_AsInt(obj3
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37632 arg5
= (int) SWIG_AsInt(obj4
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37634 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37640 wxPyEndAllowThreads(__tstate
);
37641 if (PyErr_Occurred()) SWIG_fail
;
37643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37650 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37651 PyObject
*resultobj
;
37652 wxSizer
*arg1
= (wxSizer
*) 0 ;
37653 wxGBPosition
*arg2
= 0 ;
37654 wxGBSpan
*arg3
= 0 ;
37657 wxObject
*arg6
= (wxObject
*) 0 ;
37658 wxGBSizerItem
*result
;
37659 wxGBPosition temp2
;
37661 PyObject
* obj0
= 0 ;
37662 PyObject
* obj1
= 0 ;
37663 PyObject
* obj2
= 0 ;
37664 PyObject
* obj3
= 0 ;
37665 PyObject
* obj4
= 0 ;
37666 PyObject
* obj5
= 0 ;
37667 char *kwnames
[] = {
37668 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37676 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37680 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37682 arg4
= (int) SWIG_AsInt(obj3
);
37683 if (PyErr_Occurred()) SWIG_fail
;
37684 arg5
= (int) SWIG_AsInt(obj4
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37686 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37702 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37703 PyObject
*resultobj
;
37706 wxGBPosition
*arg3
= 0 ;
37707 wxGBSpan
*arg4
= 0 ;
37710 wxObject
*arg7
= (wxObject
*) 0 ;
37711 wxGBSizerItem
*result
;
37712 wxGBPosition temp3
;
37714 PyObject
* obj0
= 0 ;
37715 PyObject
* obj1
= 0 ;
37716 PyObject
* obj2
= 0 ;
37717 PyObject
* obj3
= 0 ;
37718 PyObject
* obj4
= 0 ;
37719 PyObject
* obj5
= 0 ;
37720 PyObject
* obj6
= 0 ;
37721 char *kwnames
[] = {
37722 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37726 arg1
= (int) SWIG_AsInt(obj0
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37728 arg2
= (int) SWIG_AsInt(obj1
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37732 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37736 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37738 arg5
= (int) SWIG_AsInt(obj4
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37740 arg6
= (int) SWIG_AsInt(obj5
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37742 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37758 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37761 wxGBPosition result
;
37762 PyObject
* obj0
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "self", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37778 wxGBPosition
* resultptr
;
37779 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37788 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37789 PyObject
*resultobj
;
37790 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37792 PyObject
* obj0
= 0 ;
37793 char *kwnames
[] = {
37794 (char *) "self", NULL
37797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37808 wxGBSpan
* resultptr
;
37809 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37818 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37819 PyObject
*resultobj
;
37820 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37821 wxGBPosition
*arg2
= 0 ;
37823 wxGBPosition temp2
;
37824 PyObject
* obj0
= 0 ;
37825 PyObject
* obj1
= 0 ;
37826 char *kwnames
[] = {
37827 (char *) "self",(char *) "pos", NULL
37830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37835 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37853 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37854 PyObject
*resultobj
;
37855 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37856 wxGBSpan
*arg2
= 0 ;
37859 PyObject
* obj0
= 0 ;
37860 PyObject
* obj1
= 0 ;
37861 char *kwnames
[] = {
37862 (char *) "self",(char *) "span", NULL
37865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37870 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37888 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37889 PyObject
*resultobj
;
37890 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37891 wxGBSizerItem
*arg2
= 0 ;
37893 PyObject
* obj0
= 0 ;
37894 PyObject
* obj1
= 0 ;
37896 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37902 if (arg2
== NULL
) {
37903 PyErr_SetString(PyExc_TypeError
,"null reference");
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37910 wxPyEndAllowThreads(__tstate
);
37911 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37922 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37923 PyObject
*resultobj
;
37924 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37925 wxGBPosition
*arg2
= 0 ;
37926 wxGBSpan
*arg3
= 0 ;
37928 wxGBPosition temp2
;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 PyObject
* obj2
= 0 ;
37934 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37939 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37943 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37961 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37966 argc
= PyObject_Length(args
);
37967 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37968 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37974 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37984 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37992 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38000 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38009 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38013 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38016 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38022 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38027 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38028 PyObject
*resultobj
;
38029 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38032 PyObject
* obj0
= 0 ;
38033 PyObject
* obj1
= 0 ;
38034 PyObject
* obj2
= 0 ;
38035 char *kwnames
[] = {
38036 (char *) "self",(char *) "row",(char *) "col", NULL
38039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38045 if (arg2
== NULL
) {
38046 PyErr_SetString(PyExc_TypeError
,"null reference");
38049 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38052 if (arg3
== NULL
) {
38053 PyErr_SetString(PyExc_TypeError
,"null reference");
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 (arg1
)->GetEndPos(*arg2
,*arg3
);
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38063 Py_INCREF(Py_None
); resultobj
= Py_None
;
38070 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38071 PyObject
*resultobj
;
38072 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38073 wxGridBagSizer
*result
;
38074 PyObject
* obj0
= 0 ;
38075 char *kwnames
[] = {
38076 (char *) "self", NULL
38079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38084 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38096 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
;
38098 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38099 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char *kwnames
[] = {
38103 (char *) "self",(char *) "sizer", NULL
38106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38113 (arg1
)->SetGBSizer(arg2
);
38115 wxPyEndAllowThreads(__tstate
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38118 Py_INCREF(Py_None
); resultobj
= Py_None
;
38125 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38128 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38130 return Py_BuildValue((char *)"");
38132 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38133 PyObject
*resultobj
;
38134 int arg1
= (int) 0 ;
38135 int arg2
= (int) 0 ;
38136 wxGridBagSizer
*result
;
38137 PyObject
* obj0
= 0 ;
38138 PyObject
* obj1
= 0 ;
38139 char *kwnames
[] = {
38140 (char *) "vgap",(char *) "hgap", NULL
38143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38145 arg1
= (int) SWIG_AsInt(obj0
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38149 arg2
= (int) SWIG_AsInt(obj1
);
38150 if (PyErr_Occurred()) SWIG_fail
;
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38166 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
;
38168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38169 PyObject
*arg2
= (PyObject
*) 0 ;
38170 wxGBPosition
*arg3
= 0 ;
38171 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38172 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38173 int arg5
= (int) 0 ;
38174 int arg6
= (int) 0 ;
38175 PyObject
*arg7
= (PyObject
*) NULL
;
38177 wxGBPosition temp3
;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 PyObject
* obj3
= 0 ;
38183 PyObject
* obj4
= 0 ;
38184 PyObject
* obj5
= 0 ;
38185 PyObject
* obj6
= 0 ;
38186 char *kwnames
[] = {
38187 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38196 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38201 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38205 arg5
= (int) SWIG_AsInt(obj4
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38209 arg6
= (int) SWIG_AsInt(obj5
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38217 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38219 wxPyEndAllowThreads(__tstate
);
38220 if (PyErr_Occurred()) SWIG_fail
;
38223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38231 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38232 PyObject
*resultobj
;
38233 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38234 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38236 PyObject
* obj0
= 0 ;
38237 PyObject
* obj1
= 0 ;
38238 char *kwnames
[] = {
38239 (char *) "self",(char *) "item", NULL
38242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38249 result
= (bool)(arg1
)->Add(arg2
);
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38263 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
;
38265 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38267 PyObject
* obj0
= 0 ;
38268 char *kwnames
[] = {
38269 (char *) "self", NULL
38272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38277 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38279 wxPyEndAllowThreads(__tstate
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38283 wxSize
* resultptr
;
38284 resultptr
= new wxSize((wxSize
&) result
);
38285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38293 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38294 PyObject
*resultobj
;
38295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38298 PyObject
* obj0
= 0 ;
38299 PyObject
* obj1
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "sz", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38309 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38318 Py_INCREF(Py_None
); resultobj
= Py_None
;
38325 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38326 PyObject
*resultobj
;
38327 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38328 wxWindow
*arg2
= (wxWindow
*) 0 ;
38329 wxGBPosition result
;
38330 PyObject
* obj0
= 0 ;
38331 PyObject
* obj1
= 0 ;
38333 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 result
= (arg1
)->GetItemPosition(arg2
);
38342 wxPyEndAllowThreads(__tstate
);
38343 if (PyErr_Occurred()) SWIG_fail
;
38346 wxGBPosition
* resultptr
;
38347 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38356 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38357 PyObject
*resultobj
;
38358 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38359 wxSizer
*arg2
= (wxSizer
*) 0 ;
38360 wxGBPosition result
;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38364 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 result
= (arg1
)->GetItemPosition(arg2
);
38373 wxPyEndAllowThreads(__tstate
);
38374 if (PyErr_Occurred()) SWIG_fail
;
38377 wxGBPosition
* resultptr
;
38378 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38387 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38388 PyObject
*resultobj
;
38389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38391 wxGBPosition result
;
38392 PyObject
* obj0
= 0 ;
38393 PyObject
* obj1
= 0 ;
38395 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38398 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 result
= (arg1
)->GetItemPosition(arg2
);
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38408 wxGBPosition
* resultptr
;
38409 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38418 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38423 argc
= PyObject_Length(args
);
38424 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38425 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38441 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38449 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38457 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38467 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38475 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38483 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38491 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38493 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38498 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38503 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38504 PyObject
*resultobj
;
38505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38506 wxWindow
*arg2
= (wxWindow
*) 0 ;
38507 wxGBPosition
*arg3
= 0 ;
38509 wxGBPosition temp3
;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 PyObject
* obj2
= 0 ;
38514 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38521 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38539 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38540 PyObject
*resultobj
;
38541 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38542 wxSizer
*arg2
= (wxSizer
*) 0 ;
38543 wxGBPosition
*arg3
= 0 ;
38545 wxGBPosition temp3
;
38546 PyObject
* obj0
= 0 ;
38547 PyObject
* obj1
= 0 ;
38548 PyObject
* obj2
= 0 ;
38550 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38557 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38561 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38563 wxPyEndAllowThreads(__tstate
);
38564 if (PyErr_Occurred()) SWIG_fail
;
38567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38575 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38576 PyObject
*resultobj
;
38577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38579 wxGBPosition
*arg3
= 0 ;
38581 wxGBPosition temp3
;
38582 PyObject
* obj0
= 0 ;
38583 PyObject
* obj1
= 0 ;
38584 PyObject
* obj2
= 0 ;
38586 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38589 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38593 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38597 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38599 wxPyEndAllowThreads(__tstate
);
38600 if (PyErr_Occurred()) SWIG_fail
;
38603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38611 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38616 argc
= PyObject_Length(args
);
38617 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38618 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38624 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38634 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38643 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38646 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38655 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38665 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38674 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38677 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38686 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38694 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38697 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38700 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38706 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38711 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38712 PyObject
*resultobj
;
38713 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38714 wxWindow
*arg2
= (wxWindow
*) 0 ;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38719 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38726 result
= (arg1
)->GetItemSpan(arg2
);
38728 wxPyEndAllowThreads(__tstate
);
38729 if (PyErr_Occurred()) SWIG_fail
;
38732 wxGBSpan
* resultptr
;
38733 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38742 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38743 PyObject
*resultobj
;
38744 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38745 wxSizer
*arg2
= (wxSizer
*) 0 ;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38750 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38757 result
= (arg1
)->GetItemSpan(arg2
);
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38763 wxGBSpan
* resultptr
;
38764 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38773 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38774 PyObject
*resultobj
;
38775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38781 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38784 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38788 result
= (arg1
)->GetItemSpan(arg2
);
38790 wxPyEndAllowThreads(__tstate
);
38791 if (PyErr_Occurred()) SWIG_fail
;
38794 wxGBSpan
* resultptr
;
38795 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38804 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38809 argc
= PyObject_Length(args
);
38810 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38811 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38817 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38827 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38835 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38843 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38853 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38861 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38869 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38877 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38879 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38884 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38889 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38890 PyObject
*resultobj
;
38891 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38892 wxWindow
*arg2
= (wxWindow
*) 0 ;
38893 wxGBSpan
*arg3
= 0 ;
38896 PyObject
* obj0
= 0 ;
38897 PyObject
* obj1
= 0 ;
38898 PyObject
* obj2
= 0 ;
38900 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&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_wxWindow
,
38904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38907 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*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_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38926 PyObject
*resultobj
;
38927 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38928 wxSizer
*arg2
= (wxSizer
*) 0 ;
38929 wxGBSpan
*arg3
= 0 ;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38934 PyObject
* obj2
= 0 ;
38936 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38943 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38947 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38949 wxPyEndAllowThreads(__tstate
);
38950 if (PyErr_Occurred()) SWIG_fail
;
38953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38961 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38962 PyObject
*resultobj
;
38963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38965 wxGBSpan
*arg3
= 0 ;
38968 PyObject
* obj0
= 0 ;
38969 PyObject
* obj1
= 0 ;
38970 PyObject
* obj2
= 0 ;
38972 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38975 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38979 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38983 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38997 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39002 argc
= PyObject_Length(args
);
39003 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39004 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39010 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39020 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39029 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39032 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39041 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39051 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39060 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39063 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39080 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39083 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39086 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39092 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39097 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39098 PyObject
*resultobj
;
39099 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39100 wxWindow
*arg2
= (wxWindow
*) 0 ;
39101 wxGBSizerItem
*result
;
39102 PyObject
* obj0
= 0 ;
39103 PyObject
* obj1
= 0 ;
39105 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39112 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39114 wxPyEndAllowThreads(__tstate
);
39115 if (PyErr_Occurred()) SWIG_fail
;
39117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39124 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39125 PyObject
*resultobj
;
39126 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39127 wxSizer
*arg2
= (wxSizer
*) 0 ;
39128 wxGBSizerItem
*result
;
39129 PyObject
* obj0
= 0 ;
39130 PyObject
* obj1
= 0 ;
39132 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39139 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39141 wxPyEndAllowThreads(__tstate
);
39142 if (PyErr_Occurred()) SWIG_fail
;
39144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39151 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39156 argc
= PyObject_Length(args
);
39157 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39182 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39190 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39200 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39208 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39213 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39218 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39219 PyObject
*resultobj
;
39220 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39221 wxGBPosition
*arg2
= 0 ;
39222 wxGBSizerItem
*result
;
39223 wxGBPosition temp2
;
39224 PyObject
* obj0
= 0 ;
39225 PyObject
* obj1
= 0 ;
39226 char *kwnames
[] = {
39227 (char *) "self",(char *) "pos", NULL
39230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39235 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39251 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39252 PyObject
*resultobj
;
39253 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39254 wxPoint
*arg2
= 0 ;
39255 wxGBSizerItem
*result
;
39257 PyObject
* obj0
= 0 ;
39258 PyObject
* obj1
= 0 ;
39259 char *kwnames
[] = {
39260 (char *) "self",(char *) "pt", NULL
39263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39274 wxPyEndAllowThreads(__tstate
);
39275 if (PyErr_Occurred()) SWIG_fail
;
39277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39284 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39285 PyObject
*resultobj
;
39286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39287 wxObject
*arg2
= (wxObject
*) 0 ;
39288 wxGBSizerItem
*result
;
39289 PyObject
* obj0
= 0 ;
39290 PyObject
* obj1
= 0 ;
39291 char *kwnames
[] = {
39292 (char *) "self",(char *) "userData", NULL
39295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39302 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39304 wxPyEndAllowThreads(__tstate
);
39305 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39314 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39315 PyObject
*resultobj
;
39316 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39317 PyObject
* obj0
= 0 ;
39318 char *kwnames
[] = {
39319 (char *) "self", NULL
39322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 (arg1
)->RecalcSizes();
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 Py_INCREF(Py_None
); resultobj
= Py_None
;
39339 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39340 PyObject
*resultobj
;
39341 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39343 PyObject
* obj0
= 0 ;
39344 char *kwnames
[] = {
39345 (char *) "self", NULL
39348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39353 result
= (arg1
)->CalcMin();
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39359 wxSize
* resultptr
;
39360 resultptr
= new wxSize((wxSize
&) result
);
39361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39369 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39370 PyObject
*resultobj
;
39371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39372 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39373 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39375 PyObject
* obj0
= 0 ;
39376 PyObject
* obj1
= 0 ;
39377 PyObject
* obj2
= 0 ;
39379 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39385 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39392 wxPyEndAllowThreads(__tstate
);
39393 if (PyErr_Occurred()) SWIG_fail
;
39396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39404 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39405 PyObject
*resultobj
;
39406 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39407 wxGBPosition
*arg2
= 0 ;
39408 wxGBSpan
*arg3
= 0 ;
39409 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39411 wxGBPosition temp2
;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 PyObject
* obj2
= 0 ;
39416 PyObject
* obj3
= 0 ;
39418 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39423 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39427 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39430 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39435 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39449 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39454 argc
= PyObject_Length(args
);
39455 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39456 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39458 if ((argc
>= 2) && (argc
<= 3)) {
39462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39472 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39481 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39485 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39493 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39498 if ((argc
>= 3) && (argc
<= 4)) {
39502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39511 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39515 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39519 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39523 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39531 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39543 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39546 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39548 return Py_BuildValue((char *)"");
39550 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39551 PyObject
*resultobj
;
39552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39554 wxWindow
*arg3
= (wxWindow
*) 0 ;
39556 int arg5
= (int) 0 ;
39557 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39558 PyObject
* obj0
= 0 ;
39559 PyObject
* obj1
= 0 ;
39560 PyObject
* obj2
= 0 ;
39561 PyObject
* obj3
= 0 ;
39562 PyObject
* obj4
= 0 ;
39563 PyObject
* obj5
= 0 ;
39564 char *kwnames
[] = {
39565 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39571 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39572 if (PyErr_Occurred()) SWIG_fail
;
39573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39575 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39576 if (PyErr_Occurred()) SWIG_fail
;
39578 arg5
= (int) SWIG_AsInt(obj4
);
39579 if (PyErr_Occurred()) SWIG_fail
;
39582 arg6
= (int) SWIG_AsInt(obj5
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39587 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39592 Py_INCREF(Py_None
); resultobj
= Py_None
;
39599 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39600 PyObject
*resultobj
;
39601 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39602 wxWindow
*arg2
= (wxWindow
*) 0 ;
39603 int arg3
= (int) 0 ;
39604 PyObject
* obj0
= 0 ;
39605 PyObject
* obj1
= 0 ;
39606 PyObject
* obj2
= 0 ;
39607 char *kwnames
[] = {
39608 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39617 arg3
= (int) SWIG_AsInt(obj2
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39622 (arg1
)->LeftOf(arg2
,arg3
);
39624 wxPyEndAllowThreads(__tstate
);
39625 if (PyErr_Occurred()) SWIG_fail
;
39627 Py_INCREF(Py_None
); resultobj
= Py_None
;
39634 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39636 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39637 wxWindow
*arg2
= (wxWindow
*) 0 ;
39638 int arg3
= (int) 0 ;
39639 PyObject
* obj0
= 0 ;
39640 PyObject
* obj1
= 0 ;
39641 PyObject
* obj2
= 0 ;
39642 char *kwnames
[] = {
39643 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39652 arg3
= (int) SWIG_AsInt(obj2
);
39653 if (PyErr_Occurred()) SWIG_fail
;
39656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39657 (arg1
)->RightOf(arg2
,arg3
);
39659 wxPyEndAllowThreads(__tstate
);
39660 if (PyErr_Occurred()) SWIG_fail
;
39662 Py_INCREF(Py_None
); resultobj
= Py_None
;
39669 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39670 PyObject
*resultobj
;
39671 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39672 wxWindow
*arg2
= (wxWindow
*) 0 ;
39673 int arg3
= (int) 0 ;
39674 PyObject
* obj0
= 0 ;
39675 PyObject
* obj1
= 0 ;
39676 PyObject
* obj2
= 0 ;
39677 char *kwnames
[] = {
39678 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39687 arg3
= (int) SWIG_AsInt(obj2
);
39688 if (PyErr_Occurred()) SWIG_fail
;
39691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39692 (arg1
)->Above(arg2
,arg3
);
39694 wxPyEndAllowThreads(__tstate
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39697 Py_INCREF(Py_None
); resultobj
= Py_None
;
39704 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39705 PyObject
*resultobj
;
39706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39707 wxWindow
*arg2
= (wxWindow
*) 0 ;
39708 int arg3
= (int) 0 ;
39709 PyObject
* obj0
= 0 ;
39710 PyObject
* obj1
= 0 ;
39711 PyObject
* obj2
= 0 ;
39712 char *kwnames
[] = {
39713 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39722 arg3
= (int) SWIG_AsInt(obj2
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 (arg1
)->Below(arg2
,arg3
);
39729 wxPyEndAllowThreads(__tstate
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 Py_INCREF(Py_None
); resultobj
= Py_None
;
39739 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39740 PyObject
*resultobj
;
39741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39742 wxWindow
*arg2
= (wxWindow
*) 0 ;
39744 int arg4
= (int) 0 ;
39745 PyObject
* obj0
= 0 ;
39746 PyObject
* obj1
= 0 ;
39747 PyObject
* obj2
= 0 ;
39748 PyObject
* obj3
= 0 ;
39749 char *kwnames
[] = {
39750 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39758 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 arg4
= (int) SWIG_AsInt(obj3
);
39762 if (PyErr_Occurred()) SWIG_fail
;
39765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39766 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39768 wxPyEndAllowThreads(__tstate
);
39769 if (PyErr_Occurred()) SWIG_fail
;
39771 Py_INCREF(Py_None
); resultobj
= Py_None
;
39778 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39779 PyObject
*resultobj
;
39780 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39781 wxWindow
*arg2
= (wxWindow
*) 0 ;
39784 PyObject
* obj0
= 0 ;
39785 PyObject
* obj1
= 0 ;
39786 PyObject
* obj2
= 0 ;
39787 PyObject
* obj3
= 0 ;
39788 char *kwnames
[] = {
39789 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39797 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39799 arg4
= (int) SWIG_AsInt(obj3
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 Py_INCREF(Py_None
); resultobj
= Py_None
;
39815 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
;
39817 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39819 PyObject
* obj0
= 0 ;
39820 PyObject
* obj1
= 0 ;
39821 char *kwnames
[] = {
39822 (char *) "self",(char *) "val", NULL
39825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39828 arg2
= (int) SWIG_AsInt(obj1
);
39829 if (PyErr_Occurred()) SWIG_fail
;
39831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39832 (arg1
)->Absolute(arg2
);
39834 wxPyEndAllowThreads(__tstate
);
39835 if (PyErr_Occurred()) SWIG_fail
;
39837 Py_INCREF(Py_None
); resultobj
= Py_None
;
39844 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39845 PyObject
*resultobj
;
39846 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39847 PyObject
* obj0
= 0 ;
39848 char *kwnames
[] = {
39849 (char *) "self", NULL
39852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 (arg1
)->Unconstrained();
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39862 Py_INCREF(Py_None
); resultobj
= Py_None
;
39869 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39870 PyObject
*resultobj
;
39871 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39872 PyObject
* obj0
= 0 ;
39873 char *kwnames
[] = {
39874 (char *) "self", NULL
39877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39884 wxPyEndAllowThreads(__tstate
);
39885 if (PyErr_Occurred()) SWIG_fail
;
39887 Py_INCREF(Py_None
); resultobj
= Py_None
;
39894 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39895 PyObject
*resultobj
;
39896 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39898 PyObject
* obj0
= 0 ;
39899 char *kwnames
[] = {
39900 (char *) "self", NULL
39903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39908 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39914 resultobj
= wxPyMake_wxObject(result
);
39922 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39926 PyObject
* obj0
= 0 ;
39927 char *kwnames
[] = {
39928 (char *) "self", NULL
39931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39936 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39938 wxPyEndAllowThreads(__tstate
);
39939 if (PyErr_Occurred()) SWIG_fail
;
39941 resultobj
= SWIG_FromInt((int)result
);
39948 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39952 PyObject
* obj0
= 0 ;
39953 PyObject
* obj1
= 0 ;
39954 char *kwnames
[] = {
39955 (char *) "self",(char *) "which", NULL
39958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39961 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39962 if (PyErr_Occurred()) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 (arg1
)->SetEdge((wxEdge
)arg2
);
39967 wxPyEndAllowThreads(__tstate
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 Py_INCREF(Py_None
); resultobj
= Py_None
;
39977 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39981 PyObject
* obj0
= 0 ;
39982 PyObject
* obj1
= 0 ;
39983 char *kwnames
[] = {
39984 (char *) "self",(char *) "v", NULL
39987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39990 arg2
= (int) SWIG_AsInt(obj1
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39994 (arg1
)->SetValue(arg2
);
39996 wxPyEndAllowThreads(__tstate
);
39997 if (PyErr_Occurred()) SWIG_fail
;
39999 Py_INCREF(Py_None
); resultobj
= Py_None
;
40006 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40007 PyObject
*resultobj
;
40008 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40010 PyObject
* obj0
= 0 ;
40011 char *kwnames
[] = {
40012 (char *) "self", NULL
40015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 result
= (int)(arg1
)->GetMargin();
40022 wxPyEndAllowThreads(__tstate
);
40023 if (PyErr_Occurred()) SWIG_fail
;
40025 resultobj
= SWIG_FromInt((int)result
);
40032 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40036 PyObject
* obj0
= 0 ;
40037 PyObject
* obj1
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self",(char *) "m", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40045 arg2
= (int) SWIG_AsInt(obj1
);
40046 if (PyErr_Occurred()) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 (arg1
)->SetMargin(arg2
);
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40054 Py_INCREF(Py_None
); resultobj
= Py_None
;
40061 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40065 PyObject
* obj0
= 0 ;
40066 char *kwnames
[] = {
40067 (char *) "self", NULL
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40080 resultobj
= SWIG_FromInt((int)result
);
40087 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 char *kwnames
[] = {
40093 (char *) "self", NULL
40096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40103 wxPyEndAllowThreads(__tstate
);
40104 if (PyErr_Occurred()) SWIG_fail
;
40106 resultobj
= SWIG_FromInt((int)result
);
40113 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40114 PyObject
*resultobj
;
40115 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40117 PyObject
* obj0
= 0 ;
40118 char *kwnames
[] = {
40119 (char *) "self", NULL
40122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40127 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40132 resultobj
= SWIG_FromInt((int)result
);
40139 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40140 PyObject
*resultobj
;
40141 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 char *kwnames
[] = {
40145 (char *) "self", NULL
40148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40167 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40168 PyObject
*resultobj
;
40169 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40171 PyObject
* obj0
= 0 ;
40172 PyObject
* obj1
= 0 ;
40173 char *kwnames
[] = {
40174 (char *) "self",(char *) "d", NULL
40177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40180 arg2
= (bool) SWIG_AsBool(obj1
);
40181 if (PyErr_Occurred()) SWIG_fail
;
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 (arg1
)->SetDone(arg2
);
40186 wxPyEndAllowThreads(__tstate
);
40187 if (PyErr_Occurred()) SWIG_fail
;
40189 Py_INCREF(Py_None
); resultobj
= Py_None
;
40196 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
;
40198 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40200 PyObject
* obj0
= 0 ;
40201 char *kwnames
[] = {
40202 (char *) "self", NULL
40205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40210 result
= (int)(arg1
)->GetRelationship();
40212 wxPyEndAllowThreads(__tstate
);
40213 if (PyErr_Occurred()) SWIG_fail
;
40215 resultobj
= SWIG_FromInt((int)result
);
40222 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40223 PyObject
*resultobj
;
40224 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40226 PyObject
* obj0
= 0 ;
40227 PyObject
* obj1
= 0 ;
40228 char *kwnames
[] = {
40229 (char *) "self",(char *) "r", NULL
40232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40235 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40236 if (PyErr_Occurred()) SWIG_fail
;
40238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40239 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40241 wxPyEndAllowThreads(__tstate
);
40242 if (PyErr_Occurred()) SWIG_fail
;
40244 Py_INCREF(Py_None
); resultobj
= Py_None
;
40251 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40252 PyObject
*resultobj
;
40253 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40254 wxWindow
*arg2
= (wxWindow
*) 0 ;
40256 PyObject
* obj0
= 0 ;
40257 PyObject
* obj1
= 0 ;
40258 char *kwnames
[] = {
40259 (char *) "self",(char *) "otherW", NULL
40262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40269 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40283 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40284 PyObject
*resultobj
;
40285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40286 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40287 wxWindow
*arg3
= (wxWindow
*) 0 ;
40289 PyObject
* obj0
= 0 ;
40290 PyObject
* obj1
= 0 ;
40291 PyObject
* obj2
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self",(char *) "constraints",(char *) "win", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40305 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40319 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40320 PyObject
*resultobj
;
40321 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40323 wxWindow
*arg3
= (wxWindow
*) 0 ;
40324 wxWindow
*arg4
= (wxWindow
*) 0 ;
40326 PyObject
* obj0
= 0 ;
40327 PyObject
* obj1
= 0 ;
40328 PyObject
* obj2
= 0 ;
40329 PyObject
* obj3
= 0 ;
40330 char *kwnames
[] = {
40331 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40337 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40338 if (PyErr_Occurred()) SWIG_fail
;
40339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40341 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40345 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40350 resultobj
= SWIG_FromInt((int)result
);
40357 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40360 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40362 return Py_BuildValue((char *)"");
40364 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40365 PyObject
*resultobj
;
40366 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40367 wxIndividualLayoutConstraint
*result
;
40368 PyObject
* obj0
= 0 ;
40369 char *kwnames
[] = {
40370 (char *) "self", NULL
40373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40376 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40385 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40386 PyObject
*resultobj
;
40387 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40388 wxIndividualLayoutConstraint
*result
;
40389 PyObject
* obj0
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40397 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40406 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
;
40408 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40409 wxIndividualLayoutConstraint
*result
;
40410 PyObject
* obj0
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40418 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40427 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40428 PyObject
*resultobj
;
40429 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40430 wxIndividualLayoutConstraint
*result
;
40431 PyObject
* obj0
= 0 ;
40432 char *kwnames
[] = {
40433 (char *) "self", NULL
40436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40439 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40448 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
;
40450 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40451 wxIndividualLayoutConstraint
*result
;
40452 PyObject
* obj0
= 0 ;
40453 char *kwnames
[] = {
40454 (char *) "self", NULL
40457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40460 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40469 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40470 PyObject
*resultobj
;
40471 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40472 wxIndividualLayoutConstraint
*result
;
40473 PyObject
* obj0
= 0 ;
40474 char *kwnames
[] = {
40475 (char *) "self", NULL
40478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40481 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40490 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40491 PyObject
*resultobj
;
40492 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40493 wxIndividualLayoutConstraint
*result
;
40494 PyObject
* obj0
= 0 ;
40495 char *kwnames
[] = {
40496 (char *) "self", NULL
40499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40502 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40511 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40514 wxIndividualLayoutConstraint
*result
;
40515 PyObject
* obj0
= 0 ;
40516 char *kwnames
[] = {
40517 (char *) "self", NULL
40520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40523 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40532 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40533 PyObject
*resultobj
;
40534 wxLayoutConstraints
*result
;
40535 char *kwnames
[] = {
40539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40542 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40544 wxPyEndAllowThreads(__tstate
);
40545 if (PyErr_Occurred()) SWIG_fail
;
40547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40554 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40555 PyObject
*resultobj
;
40556 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40557 wxWindow
*arg2
= (wxWindow
*) 0 ;
40558 int *arg3
= (int *) 0 ;
40561 PyObject
* obj0
= 0 ;
40562 PyObject
* obj1
= 0 ;
40563 char *kwnames
[] = {
40564 (char *) "self",(char *) "win", NULL
40568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40575 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40584 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40585 resultobj
= t_output_helper(resultobj
,o
);
40593 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40594 PyObject
*resultobj
;
40595 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40597 PyObject
* obj0
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "self", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40607 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40609 wxPyEndAllowThreads(__tstate
);
40610 if (PyErr_Occurred()) SWIG_fail
;
40613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40621 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40624 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40626 return Py_BuildValue((char *)"");
40628 static PyMethodDef SwigMethods
[] = {
40629 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40630 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40631 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40634 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40655 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40668 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40683 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40734 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40762 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40780 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40782 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40790 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40791 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40803 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40814 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40819 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40825 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40835 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40845 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40849 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40920 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40923 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40925 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40927 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40929 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40931 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40933 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40935 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40937 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40939 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40941 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40943 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40957 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40975 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40978 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40981 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40993 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40998 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41004 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41010 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41072 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41079 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41114 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41124 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41134 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41136 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41138 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41141 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41145 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41148 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41151 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41153 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41158 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41166 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41170 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41173 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41175 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41179 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41196 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41198 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41201 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41203 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41207 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41211 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41219 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41222 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41225 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41229 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41236 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41241 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41246 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41290 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41305 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41309 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41319 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41368 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41369 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41476 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41516 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41530 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41533 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41588 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41615 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41659 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41667 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41684 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41685 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41720 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41749 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41752 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41758 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41763 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41775 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41789 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41799 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41809 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41818 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41822 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41828 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41829 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41830 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41831 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41832 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41838 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41839 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41852 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41862 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41866 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41869 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41871 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41872 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41873 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41874 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41875 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41884 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41885 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41887 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41888 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41890 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41891 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41893 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41894 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41896 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41897 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41899 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41900 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41902 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41903 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41905 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41906 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41908 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41911 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41914 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41917 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41920 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41923 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41924 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41926 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41927 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41929 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41932 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41933 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41935 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41938 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41939 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41941 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41944 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41945 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41947 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41948 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41950 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41951 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41953 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41954 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41956 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41957 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41959 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41960 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41962 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41963 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41965 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41966 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41968 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41971 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41974 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41977 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41980 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41983 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41986 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41989 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41992 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41993 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41995 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41996 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41998 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41999 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42001 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42002 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42004 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42005 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42007 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42008 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42010 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42011 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42013 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42014 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42016 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42017 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42019 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42020 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42022 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42023 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42025 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42026 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42028 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42029 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42031 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42032 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42034 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42037 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42038 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42040 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42041 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42043 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42044 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42046 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42047 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42049 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42050 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42052 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42053 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42055 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42056 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42058 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42059 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42061 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42062 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42064 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42065 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42067 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42068 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42070 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42071 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42073 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42074 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42076 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42077 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42079 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42080 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42082 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42083 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42085 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42086 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42088 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42089 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42091 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42092 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42094 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42095 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42097 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42098 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42100 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42101 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42103 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42104 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42106 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42107 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42109 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42110 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42112 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42113 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42115 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42116 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42118 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42119 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42121 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42124 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42125 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42127 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42128 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42130 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42131 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42133 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42134 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42136 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42139 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42142 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42145 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) ((wxSizer
*) x
));
42148 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42151 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42154 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42157 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42160 static void *_p_wxImageTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) ((wxImage
*) x
));
42163 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42166 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42169 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42172 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42175 static void *_p_wxControlTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42178 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42181 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42184 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42187 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42190 static void *_p_wxEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) ((wxEvent
*) x
));
42193 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42196 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42199 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42202 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42205 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42208 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42211 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42214 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42217 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42220 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42223 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42226 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42229 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42232 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42235 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42238 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42241 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42244 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42247 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42250 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42253 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42256 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42262 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42265 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42268 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42274 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42277 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42280 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42283 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42286 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42289 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42292 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42295 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42298 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42301 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42304 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42307 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42310 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42313 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42316 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42319 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42322 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42325 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42328 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42331 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42334 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42335 return (void *)((wxWindow
*) ((wxControl
*) x
));
42337 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42338 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42340 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42341 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42343 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42344 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42346 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42347 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42349 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42350 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42352 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42353 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42355 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42356 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42358 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42359 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42361 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42362 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42364 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42365 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42367 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42368 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42486 static swig_type_info
*swig_types_initial
[] = {
42487 _swigt__p_wxLayoutConstraints
,
42488 _swigt__p_wxRealPoint
,
42489 _swigt__p_wxSizerItem
,
42490 _swigt__p_wxGBSizerItem
,
42491 _swigt__p_wxScrollEvent
,
42492 _swigt__p_wxIndividualLayoutConstraint
,
42494 _swigt__p_wxBoxSizer
,
42495 _swigt__p_wxStaticBoxSizer
,
42496 _swigt__p_wxGridBagSizer
,
42497 _swigt__p_wxAcceleratorEntry
,
42498 _swigt__p_wxUpdateUIEvent
,
42501 _swigt__p_wxGridSizer
,
42502 _swigt__p_wxFlexGridSizer
,
42503 _swigt__p_wxInitDialogEvent
,
42504 _swigt__p_wxItemContainer
,
42505 _swigt__p_wxNcPaintEvent
,
42506 _swigt__p_wxPaintEvent
,
42507 _swigt__p_wxSysColourChangedEvent
,
42508 _swigt__p_wxMouseCaptureChangedEvent
,
42509 _swigt__p_wxDisplayChangedEvent
,
42510 _swigt__p_wxPaletteChangedEvent
,
42511 _swigt__p_wxControl
,
42513 _swigt__p_wxMenuBarBase
,
42514 _swigt__p_wxSetCursorEvent
,
42515 _swigt__p_wxFSFile
,
42517 _swigt__p_wxRegion
,
42518 _swigt__p_wxPoint2D
,
42522 _swigt__p_wxPySizer
,
42523 _swigt__p_wxVisualAttributes
,
42524 _swigt__p_wxNotifyEvent
,
42525 _swigt__p_wxPyEvent
,
42526 _swigt__p_wxPropagationDisabler
,
42527 _swigt__p_wxAppTraits
,
42528 _swigt__p_wxArrayString
,
42529 _swigt__p_wxShowEvent
,
42530 _swigt__p_wxToolTip
,
42531 _swigt__p_wxMaximizeEvent
,
42532 _swigt__p_wxIconizeEvent
,
42533 _swigt__p_wxActivateEvent
,
42534 _swigt__p_wxMoveEvent
,
42535 _swigt__p_wxSizeEvent
,
42536 _swigt__p_wxQueryNewPaletteEvent
,
42537 _swigt__p_wxWindowCreateEvent
,
42538 _swigt__p_wxIdleEvent
,
42539 _swigt__p_wxMenuItem
,
42540 _swigt__p_wxStaticBox
,
42542 _swigt__p_wxTIFFHandler
,
42543 _swigt__p_wxXPMHandler
,
42544 _swigt__p_wxPNMHandler
,
42545 _swigt__p_wxJPEGHandler
,
42546 _swigt__p_wxPCXHandler
,
42547 _swigt__p_wxGIFHandler
,
42548 _swigt__p_wxPNGHandler
,
42549 _swigt__p_wxANIHandler
,
42550 _swigt__p_wxMemoryFSHandler
,
42551 _swigt__p_wxEvtHandler
,
42552 _swigt__p_wxCURHandler
,
42553 _swigt__p_wxICOHandler
,
42554 _swigt__p_wxBMPHandler
,
42555 _swigt__p_wxImageHandler
,
42556 _swigt__p_wxFileSystemHandler
,
42557 _swigt__p_wxPyFileSystemHandler
,
42558 _swigt__p_wxInternetFSHandler
,
42559 _swigt__p_wxZipFSHandler
,
42561 _swigt__p_wxGBSpan
,
42562 _swigt__p_wxPropagateOnce
,
42563 _swigt__p_wxAcceleratorTable
,
42565 _swigt__p_wxGBPosition
,
42568 _swigt__p_wxScrollWinEvent
,
42569 _swigt__p_wxImageHistogram
,
42572 _swigt__p_wxCursor
,
42573 _swigt__p_wxObject
,
42574 _swigt__p_wxPyInputStream
,
42575 _swigt__p_wxOutputStream
,
42576 _swigt__p_wxInputStream
,
42577 _swigt__p_wxDateTime
,
42578 _swigt__p_wxKeyEvent
,
42579 _swigt__p_wxNavigationKeyEvent
,
42580 _swigt__p_wxWindowDestroyEvent
,
42581 _swigt__p_wxWindow
,
42582 _swigt__p_wxMenuBar
,
42583 _swigt__p_wxFileSystem
,
42584 _swigt__p_wxBitmap
,
42585 _swigt__p_wxMenuEvent
,
42586 _swigt__p_wxContextMenuEvent
,
42587 _swigt__p_unsigned_char
,
42588 _swigt__p_wxCloseEvent
,
42589 _swigt__p_wxEraseEvent
,
42590 _swigt__p_wxMouseEvent
,
42592 _swigt__p_wxCommandEvent
,
42593 _swigt__p_wxPyCommandEvent
,
42594 _swigt__p_wxPyDropTarget
,
42595 _swigt__p_wxChildFocusEvent
,
42596 _swigt__p_wxFocusEvent
,
42597 _swigt__p_wxDropFilesEvent
,
42598 _swigt__p_wxControlWithItems
,
42599 _swigt__p_wxColour
,
42600 _swigt__p_wxValidator
,
42601 _swigt__p_wxPyValidator
,
42606 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42608 static swig_const_info swig_const_table
[] = {
42618 SWIGEXPORT(void) SWIG_init(void) {
42619 static PyObject
*SWIG_globals
= 0;
42620 static int typeinit
= 0;
42623 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42624 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42625 d
= PyModule_GetDict(m
);
42628 for (i
= 0; swig_types_initial
[i
]; i
++) {
42629 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42633 SWIG_InstallConstants(d
,swig_const_table
);
42636 #ifndef wxPyUSE_EXPORT
42637 // Make our API structure a CObject so other modules can import it
42638 // from this module.
42639 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42640 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42644 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42645 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42646 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42647 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42648 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42649 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42650 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42651 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42652 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42653 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42654 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42655 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42656 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42657 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42658 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42659 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42660 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42661 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42662 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42663 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42664 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42665 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42666 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42667 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42668 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42669 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42670 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42671 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42672 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42673 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42674 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42675 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42676 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42677 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42678 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42679 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42680 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42681 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42682 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42683 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42684 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42685 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42686 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42687 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42688 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42689 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42690 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42691 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42692 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42693 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42694 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42695 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42696 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42697 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42698 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42699 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42700 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42701 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42702 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42703 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42704 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42705 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42706 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42707 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42708 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42709 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42710 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42711 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42712 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42713 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42714 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42715 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42716 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42717 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42718 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42719 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42720 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42721 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42722 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42723 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42724 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42725 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42726 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42727 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42728 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42729 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42730 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42731 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42732 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42733 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42734 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42735 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42736 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42737 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42738 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42739 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42740 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42741 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42742 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42743 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42744 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42745 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42746 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42747 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42748 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42749 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42750 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42751 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42752 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42753 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42754 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42755 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42756 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42757 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42758 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42759 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42760 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42761 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42762 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42763 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42764 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42765 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42766 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42767 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42768 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42769 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42770 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42771 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42772 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42773 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42774 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42775 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42776 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42777 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42778 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42779 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42780 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42781 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42782 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42783 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42784 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42785 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42786 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42787 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42788 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42789 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42790 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42791 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42792 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42793 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42794 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42795 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42796 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42797 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42798 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42799 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42800 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42801 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42802 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42803 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42804 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42805 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42806 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42807 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42808 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42809 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42810 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42811 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42812 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42813 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42814 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42815 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42816 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42817 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42818 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42819 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42820 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42821 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42822 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42823 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42824 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42825 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42826 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42827 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42828 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42829 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42830 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42831 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42832 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42833 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42834 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42835 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42836 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42837 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42838 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42839 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42840 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42841 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42842 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42843 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42844 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42845 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42846 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42847 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42848 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42849 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42850 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42851 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42852 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42853 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42854 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42855 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42856 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42857 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42858 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42859 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42860 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42861 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42862 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42863 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42864 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42865 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42866 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42867 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42868 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42869 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42870 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42871 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42872 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42873 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42874 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42875 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42876 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42877 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42878 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42879 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42880 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42881 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42882 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42883 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42884 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42885 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42886 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42887 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42888 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42889 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42890 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42891 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42892 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42893 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42894 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42895 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42896 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42897 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42898 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42899 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42900 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42901 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42902 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42903 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42904 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42905 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42906 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42907 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42908 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42909 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42910 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42911 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42912 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42913 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42914 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42915 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42916 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42917 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42918 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42919 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42920 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42921 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42922 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42923 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42924 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42925 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42926 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42927 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42928 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42929 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42930 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42931 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42932 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42933 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42934 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42935 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42936 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42937 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42938 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42939 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42940 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42941 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42942 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42943 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42944 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42945 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42946 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42947 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42948 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42949 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42950 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42951 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42952 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42953 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42954 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42955 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42956 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42957 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42958 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42959 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42960 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42961 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42962 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42963 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42964 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42965 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42966 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42967 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42968 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42969 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42970 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42971 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42972 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42973 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42974 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42975 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42976 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42977 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42978 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42979 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42980 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42981 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42982 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42983 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42984 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42985 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42986 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42987 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42988 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42989 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42990 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42991 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42992 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42993 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42994 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42995 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42996 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42997 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42998 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42999 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43000 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43001 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43002 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43003 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43004 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43005 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43006 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43007 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43008 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43009 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43010 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43011 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43012 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43013 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43014 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43015 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43016 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43017 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43018 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43019 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43020 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43021 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43022 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43023 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43024 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43025 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43026 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43027 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43028 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43029 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43030 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43033 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43034 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43035 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43036 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43037 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43038 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43039 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43040 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43041 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43042 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43043 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43044 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43045 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43046 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43047 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43048 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43049 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43050 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43051 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43052 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43053 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43054 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43055 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43056 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43057 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43058 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43059 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43060 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43061 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43062 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43063 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43064 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43065 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43066 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43067 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43068 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43069 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43070 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43071 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43072 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43073 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43074 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43075 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43076 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43077 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43078 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43079 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43080 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43081 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43082 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43083 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43084 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43085 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43086 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43087 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43088 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43089 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43090 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43091 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43092 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43093 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43094 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43095 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43096 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43097 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43098 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43099 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43100 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43101 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43102 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43103 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43104 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43105 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43106 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43107 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43108 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43109 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43110 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43111 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43112 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43113 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43114 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43115 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43116 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43117 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43118 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43119 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43120 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43121 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43122 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43123 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43124 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43125 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43126 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43127 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43128 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43129 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43130 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43131 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43132 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43133 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43134 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43135 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43136 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43137 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43138 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43139 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43140 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43141 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43142 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43143 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43144 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43145 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43146 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43147 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43148 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43149 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43150 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43151 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43152 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43153 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43154 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43155 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43156 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43157 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43158 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43159 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43160 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43161 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43162 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43163 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43164 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43165 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43166 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43167 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43168 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43169 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43170 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43171 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43172 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43173 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43174 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43175 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43176 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43177 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43178 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43179 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43180 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43181 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43182 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43183 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43184 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43185 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43186 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43187 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43188 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43189 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43190 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43191 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43192 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43193 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43194 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43195 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43196 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43197 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43198 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43199 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43200 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43201 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43202 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43203 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43204 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43205 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43206 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43207 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43208 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43209 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43210 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43211 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43212 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43213 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43214 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43215 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43216 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43218 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43221 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43223 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43224 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43225 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43226 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43227 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43228 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43229 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43230 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43231 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43232 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43233 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43234 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43235 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43236 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43237 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43238 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43239 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43240 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43241 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43242 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43243 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43244 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43245 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43246 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43247 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43250 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43251 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43252 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43253 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43254 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43255 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43256 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43257 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43258 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43261 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43262 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43263 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43264 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43265 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43266 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43267 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43268 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43269 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43270 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43271 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43272 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43273 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43274 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43275 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43276 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43277 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43278 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43279 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43280 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43281 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43282 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43283 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43284 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43285 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43286 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43287 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43288 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43289 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43290 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43291 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43292 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43293 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43294 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43295 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43296 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43297 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43298 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43299 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43300 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43301 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43302 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43303 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43304 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43305 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43306 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43307 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43308 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43309 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43310 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43311 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43312 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43313 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43314 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43315 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43316 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43317 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43318 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43319 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43320 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43321 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43322 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43323 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43324 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43325 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43326 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43327 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43328 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43329 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43330 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43331 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43332 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43333 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43334 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43335 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43336 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43337 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43338 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43339 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43340 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43341 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43342 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43343 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43344 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43345 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43346 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43347 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43348 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43349 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43350 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43351 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43352 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43353 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43354 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43355 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43356 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43357 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43358 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43359 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43360 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43361 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43362 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43363 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43364 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43365 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43366 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43367 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43368 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43369 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43370 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43371 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43372 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43373 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43374 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43375 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43376 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43377 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43378 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43379 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43380 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43381 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43382 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43383 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43384 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43385 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43386 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43387 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43388 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43389 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43390 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43391 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43392 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43393 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43394 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43395 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43396 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43397 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43398 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43399 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43400 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43401 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43402 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43404 // Initialize threading, some globals and such
43408 // Although these are defined in __version__ they need to be here too so
43409 // that an assert can be done to ensure that the wxPython and the wxWindows
43411 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43412 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43413 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));